mirror of
https://github.com/pygos/build.git
synced 2024-11-22 19:19:46 +01:00
Add raspberry pi 3 wifi configuration
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
2ded2649a8
commit
73d4ab9388
6 changed files with 25 additions and 2 deletions
|
@ -2,4 +2,4 @@ GETTY_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7"
|
||||||
DHCP_PORTS=""
|
DHCP_PORTS=""
|
||||||
HWCLOCK="no"
|
HWCLOCK="no"
|
||||||
SERVICES=""
|
SERVICES=""
|
||||||
MODULES=""
|
MODULES="brcmfmac"
|
||||||
|
|
|
@ -10,5 +10,6 @@ kbd
|
||||||
firmware-rpi3
|
firmware-rpi3
|
||||||
dhcpcd
|
dhcpcd
|
||||||
iw
|
iw
|
||||||
|
hostapd
|
||||||
linux-firmware-rpi3
|
linux-firmware-rpi3
|
||||||
linux-rpi3
|
linux-rpi3
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
DHCP_PORTS="port0"
|
DHCP_PORTS="port0"
|
||||||
|
SERVICES="$SERVICES hostapd"
|
||||||
|
|
|
@ -13,6 +13,6 @@ enable-ra
|
||||||
# forward to unbound
|
# forward to unbound
|
||||||
server=127.0.0.1#5353
|
server=127.0.0.1#5353
|
||||||
|
|
||||||
interface=eth0
|
interface=wlan0
|
||||||
dhcp-range=set:if0,192.168.0.2,192.168.0.254,255.255.255.0,12h
|
dhcp-range=set:if0,192.168.0.2,192.168.0.254,255.255.255.0,12h
|
||||||
dhcp-option=tag:if0,option:dns-server,192.168.0.1
|
dhcp-option=tag:if0,option:dns-server,192.168.0.1
|
||||||
|
|
20
product/router/rpi3/hostapd.conf
Normal file
20
product/router/rpi3/hostapd.conf
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
interface=wlan0
|
||||||
|
driver=nl80211
|
||||||
|
ssid=Pygos Demo Net
|
||||||
|
hw_mode=g
|
||||||
|
channel=7
|
||||||
|
wmm_enabled=0
|
||||||
|
macaddr_acl=0
|
||||||
|
auth_algs=1
|
||||||
|
ignore_broadcast_ssid=0
|
||||||
|
wpa=2
|
||||||
|
wpa_passphrase=righteous
|
||||||
|
wpa_key_mgmt=WPA-PSK
|
||||||
|
wpa_pairwise=TKIP
|
||||||
|
rsn_pairwise=CCMP
|
||||||
|
logger_syslog=-1
|
||||||
|
logger_syslog_level=2
|
||||||
|
logger_stdout=0
|
||||||
|
logger_stdout_level=4
|
||||||
|
ctrl_interface=/var/run/hostapd
|
||||||
|
ctrl_interface_group=0
|
1
product/router/rpi3/interfaces/wlan0
Normal file
1
product/router/rpi3/interfaces/wlan0
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ip 192.168.0.1/24
|
Loading…
Reference in a new issue