Difference between revisions of "APF/OPOS as Wi-Fi Access Point"
From ArmadeusWiki
(→Configuration) |
|||
Line 42: | Line 42: | ||
</pre> | </pre> | ||
* If the devices connecting to your Access Point require dynamic IP adress allocation, you will need to install and launch a DHCP server on your APF too. | * If the devices connecting to your Access Point require dynamic IP adress allocation, you will need to install and launch a DHCP server on your APF too. | ||
+ | |||
+ | [[Category:Wireless]] |
Revision as of 16:23, 8 January 2016
Page under construction... 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
- Bring up your Wi-Fi interface and give it an address (here 192.168.2.1):
# ifconfig wlan0 up 192.168.2.1 netmask 255.255.255.0
- 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
- Launch hostapd:
# hostapd -B /etc/hostapd/hostapd.conf
- If the devices connecting to your Access Point require dynamic IP adress allocation, you will need to install and launch a DHCP server on your APF too.