APF/OPOS as Wi-Fi Access Point: Difference between revisions

From ArmadeusWiki
(New page: {{Under Construction}} ==Installation== * You will need hostapd: <pre class="host"> $ make menuconfig </pre> <pre class="config"> Target packages ---> Networking applications ---> ...)
 
Line 2: Line 2:


==Installation==
==Installation==
* You will need hostapd:
* You will need hostapd (installed by default on [[APF6]]):
<pre class="host">
<pre class="host">
$ make menuconfig
$ make menuconfig
Line 14: Line 14:
         [ ]  Enable WPS
         [ ]  Enable WPS
</pre>
</pre>
==Configuration==
* Create ''/etc/hostapd/'' directory and put it ''hostapd.conf'' configuration file:
<pre class="apf">
$ mkdir -p /etc/hostapd/
$ vi /etc/hostapd/hostapd.conf
interface=wlan0
ssid=APF6
hw_mode=g
channel=6
#auth_algs=1
wpa=2
wpa_passphrase=YOUHOULESBILOUS
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
</pre>
* here we used fixed channel (6) (as some drivers can't allow hostapd to find less occupied channel through scanning)
* security is WPA2-PSK. To have "Open" Access Point uncomment ''#auth_algs=1'' and comment 3 wpa lines

Revision as of 22:14, 16 September 2015

Page under construction... Construction.png Informations on this page are not guaranteed !!

Installation

  • You will need hostapd (installed by default on APF6):
$ make menuconfig
Target packages  --->
    Networking applications  --->
        [*] hostapd
        [ ]   Enable EAP
        [ ]   Enable WPS

Configuration

  • Create /etc/hostapd/ directory and put it hostapd.conf configuration file:
$ mkdir -p /etc/hostapd/
$ vi /etc/hostapd/hostapd.conf

interface=wlan0
ssid=APF6
hw_mode=g
channel=6
#auth_algs=1
wpa=2
wpa_passphrase=YOUHOULESBILOUS
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
  • here we used fixed channel (6) (as some drivers can't allow hostapd to find less occupied channel through scanning)
  • security is WPA2-PSK. To have "Open" Access Point uncomment #auth_algs=1 and comment 3 wpa lines