Hardware Reference
In-Depth Information
° auth_algs : Change this to 1 to make it suitable for the WPA2
encryption that we're going to enable on our network
° wpa : Uncomment this line and change it to 2 to enable WPA2
encryption
° wpa_passphrase : Uncomment this line and choose a password
(8 characters minimum) required to join your Wi-Fi network
8.
Now we can try out our new access point, first running it in the foreground:
pi@raspberrypi ~ $ sudo hostapd -d /etc/hostapd/hostapd.conf
9. You should now be able to find and connect to your Pi access point from
other computers. Type Ctrl + C to quit hostapd .
Attention Edimax EW-7811Un Wi-Fi dongle users
This popular tiny USB dongle and possibly others like it based on the
Realtek RTL8188CUS chipset need a special version of hostapd to
work. Simply download and replace your installed hostapd binary
using the following command:
pi@raspberrypi ~ $ sudo wget http://www.intestinate.
com/hostapd -O /usr/sbin/hostapd
10. To make your Pi run hostapd automatically in the background on boot,
we need to make a slight adjustment to a configuration file:
pi@raspberrypi ~ $ sudo nano /etc/default/hostapd
11. Uncomment the line beginning with DAEMON_CONF="" and change it to
point to your hostapd configuration file:
DAEMON_CONF="/etc/hostapd/hostapd.conf"
Then save and exit nano . Your Pi will now become an access point on boot.
Raspberry Pi acting like an access point
 
Search WWH ::




Custom Search