
Quick Start Guide Serial to WiFi Adapter www.wifiandscales.com
With “db set” you can set all parameters for the WiFi Adapter to connect to a WiFi Network
db set /net/dhcp <0 or 1>
Typing an erroneous command will list the available command as a help
In this example we want to configure the WiFi Adapter for a WiFi Network with the following
characteristics
SSID = my-wifi-net, Wpa encrypted with pass key ”my_key”
IP address = 192.168.2.10
Subnet mask = 255.255.255.0
Default Gateway 192.168.2.1
We will disable the DHCP client “0”
Please note the new settings are not entered into the flash memory until the command “db
store” is given.
We can set the parameters in any order, here we start with entering the SSID
$ db set /wl/ssid my-wifi-net
Then we enter the security encryption type in this case we are using WPA
$ db set /wl/key_type wpa
Enter the key
$ db set /wl/key my-key
Then we disable the DHCP client. To know what IP address the WiFi Adapter is going to have
we want it to have a static address.
$ db set /net/dhcp 0
We enter the IP address we have selected for the WiFi Adapter. Make sure that is does not
collide with any other static set address or the address range managed by the networks DHCP
server.
$ db set /net/ip 192.168.2.10
We enter the corresponding network mask.
$ db set /net/mask 255.255.255.0
Then we enter the default gateway of the network
$ db set /net/gw 192.168.2.1
If the unit is still in factory preset i.e. if the value is set to “1” we need to set it to “0” o set the
unit to normal operation mode
Comentários a estes Manuais