Creating an WLAN access point with your Raspberry Pi

Install required packages:

sudo apt-get install hostapd dnsmasqSet static ip to your wlan interface:

nano /etc/network/interfacescontent: (check for a single wlan0 entry!)

iface wlan0 inet static
address 192.168.20.1
netmask 255.255.255.0Add a configuration to hostap:

nano /etc/default/hostapdcontent: (add config file line):

# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and...

Creating an WLAN access point with your Raspberry Pi

Top News