DPAC Configuration

From Wiki
Jump to: navigation, search

Enter CLI mode on DPAC

auth oem oem

If the DPAC does not respond, change the baud rate to 9600 and try again. If you still can't get the DPAC to respond, you will need the DPAC evaluation board or a SHAFT Board to do a hard reset to factory defaults. Note: The backspace key does not work. This is a DPAC flaw. If a typographical error is made, add some garbage characters and press <return>.

First, configure the basic baud rate and flow control parameters, and certain values that never change

reset                               <optional, clears EVERYTHING>
bit-rate 115200
flow h
wl-retry-time 10
wl-tcp-timeout 0
wl-telnet-timeout 120
wl-tunnel 1
wl-tunnel-mode tcp
esc-mode-lan off
http-port off
telnet-port disable
ssh-port off

If the DPAC should power in Command Line Interface (CLI) mode, use this configuration

serial-default cli

If the DPAC should establish a connection to a remote server, use this configuration

serial-default pass
wl-tcp-port 832                     <or desired port on server>
wl-tcp-ip              <or desired IP address of remote server>

If the DPAC is to listen for connections from a remote server, use this configuration

serial-default listen
wl-tunnel-port 832                  <or desired port DPAC should listen on>

If the DPAC's address should be assigned via DHCP, use this configuration

wl-dhcp 1

If using static IP address, use this configuration

wl-dhcp 0
wl-ip                  <or desired IP address of DPAC module>
wl-subnet             <or appropriate subnet for IP>
wl-gateway              <or appropriate gateway IP address (only necessary if going off-network)>

Set the SSID the DPAC should use

wl-ssid SecretSSID                  <or appropriate SSID>

If running WPA-PSK security, use this configuration

wl-security wpa-psk
pw-wpa-psk PASSWORD

If running WPA2-PSK security, use this configuration

wl-security wpa2-psk
pw-wpa-psk PASSWORD

If running WEP security (bad idea), use this configuration

wl-security wep128
wl-auth auto
wl-def-key 1
wl-key-1 6A5DA33D7E4180FFBA3F2648B1 <or appropriate WEP key>

Now save the parameters and restart the DPAC


The DPAC should now be configured correctly. This can be tested by pinging the IP address the DPAC is assigned.

The DPAC runs a version of Linux. The Linux shell can be entered with the


command. At least L4 authentication is required to enter the shell.

Miscellaneous Commands

wl-info -- Display stuff
wl-scan -- Show AP's that can be heard
pass    -- Connect to remote server & port
help    -- Display the list of available commands