Synapse SNAP Connect E20 User Manual Download Page 13

 

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

Summary of Contents for SNAP Connect E20

Page 1: ...All Synapse products are patent pending Synapse the Synapse logo SNAP and Portal are all registered trademarks of Synapse Wireless Inc Doc 116 031520 002 A000 6723 Odyssey Drive Huntsville AL 35806 8...

Page 2: ...ented in this Manual Redistribution of code and use in source and binary forms with or without modification are permitted provided that it retains the copyright notice operates only on SNAP networks a...

Page 3: ...800MHz Freescale iMX6 S Flash 4GB eMMC RAM 512M DDR3L 400MHz Network 10 100 Ethernet WiFi SM220 USB host 1 USB client 1 micro SiLabs CP2102 Environmental Industrial 40C to 85C Board Size 15 5cm x 9cm...

Page 4: ...Card Input Voltage DC 4 75 5 5 25 V Input Current TBD TBD TBD A Power Dissipation TBD TBD TBD W With Power Supply Daughter Card Input Voltage DC 10 28 V Input Current 0 13 0 28 1 5 A Power Dissipatio...

Page 5: ...USB to UART Bridge o To connect to the E20 from a Linux PC look for dev ttyUSB0 in the dev directory Settings 115200 8N1 o Baud rate 115200 o 8 bits o No parity o 1 stop bit o No flow control To logi...

Page 6: ...onnect run the following from the E20 command line sudo apt get install snapconnect SNAP helper utilities can be installed via sudo apt get install e20 snap utils The SNAP helper utilities provide the...

Page 7: ...erals Controlling LEDs Provided by package e20 leds o usr local bin led a o usr local bin led b o usr local bin led c Usage o led a red o led a green o led a amber o led a off Reading the buttons Prov...

Page 8: ...ornado o u boot utils o unifi sdio Bluegiga Wi Fi drivers o ppp o Several E20 helper scripts e20 cell helpers Telit cell modem example scripts Scripts to reset disable and enable the cell modem e20 le...

Page 9: ...ep wakeupOn GPIO_F1 True False Then when it is desired for the node to be woken up toggle GPIO 34 briefly To do this call the provided wake snap node script which will perform this function for you au...

Page 10: ...class gpio gpio32 direction fi while cat sys class gpio gpio32 value 0 do sleep 1 done echo Got interrupt 9 Factory Restore Factory restore is accomplished using a USB flash drive Unzip e20 VERS insta...

Page 11: ...s connected An unaddressed bug in Ubuntu 14 04 can affect E20 units with eth0 configured to come up automatically in DHCP mode If you had an IP address before and the lease on your address has not pas...

Page 12: ...id myssid psk 2f0568b3492812bd56b946dbaf3fd7dd669b9a4602a09aa6462ff05 7949b025c o You may need additional options depending on your network setup o You can now either run sudo ifup wlan0 to bring up t...

Page 13: ...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...

Page 14: ...owever examples for Verizon Wireless and Rogers Wireless are forthcoming Making a call using the Synapse provided PPP chat scripts pppd call telit att pppd call telit verizon pppd call telit rogers Th...

Page 15: ...in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment...

Page 16: ...lass A personal computers and peripherals The products listed above have been tested at an External Test Laboratory certified per FCC rules and has been found to meet the FCC Part 15 Emission Limits D...

Reviews: