![Synapse SNAP Connect E20 User Manual Download Page 13](http://html1.mh-extra.com/html/synapse/snap-connect-e20/snap-connect-e20_user-manual_1420478013.webp)
•
Set up /etc/udhcpd.conf
# The start and end of the IP lease block
start 192.168.0.20 #default: 192.168.0.20
end 192.168.0.254 #default: 192.168.0.254
# The interface that udhcpd will use
interface wlan0 #default:eth0
[rest cut
off for
brevity]
•
Set up udhcpd to run by default:
# Comment the following line to enable
DHCPD_ENABLED="yes"
# Options to pass to busybox' udhcpd.
#
# -S Log to syslog
# -f run in foreground
DHCPD_OPTS="-S"
•
Set up wlan0 with a static IP so it can act as a gateway
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
allow-hotplug eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.0.1
netmask 255.255.255.0
•
Set things up with iwpriv:
snap@localhost:~$ sudo
iwpriv wlan0 AP_SET_CFG
ASCII_CMD=AP_CFG,SSID="myssid",SEC="wpa2-
psk",KEY=
2f0568b3492812bd56b946dbaf3fd7dd669b9a4602a09aa6462ff057949b02
5c
,CHANNEL=1,PREAMBLE=1,MAX_SCB=8,END
•
Change parameters as needed.
•
Start AP mode:
snap@localhost:~$ sudo
iwpriv wlan0 AP_BSS_START
•
To stop AP mode:
snap@localhost:~$ sudo iwpriv wlan0 AP_BSS_STOP
SNAP Connect E20 Users Guide
11
Preliminary
- Pre-Release
Version