NVRAM Variable |
Description |
lan_ifname |
Interface to run on, generally "br0" |
lan_ifnames |
Interfaces in bridge, if bridged |
wl0_auth_mode |
Authentication mode, either "psk" or "radius" |
wl0_mode |
Wireless mode - "ap" or "sta" |
wl0_wpa_psk |
WPA Preshared Key up to 63 ASCII characters or a 64-character HEX key |
wl0_ssid |
SSID of wireless network |
wl0_crypto |
Algorithm to use for encryption one of: "aes", "tkip" or "aes+tkip" |
wl0_wep |
same as wl0_crypto |
wl0_wpa_gtk_rekey |
Rekey interval, default value of "3600" |
NVRAM Variable |
Description |
lan_ifname |
Interface to run on, generally "br0" |
lan_ifnames |
Interfaces in bridge, if bridged |
wl0_auth_mode |
Authentication mode, either "psk" or "radius" |
wl0_mode |
Wireless mode - "ap" or "sta" |
wl0_radius_key |
RADIUS Preshared Key - used to authenticate to RADIUS server |
wl0_ssid |
SSID of wireless network |
wl0_wep |
Algorithm to use for encryption one of: "aes", "tkip" or "aes+tkip" |
wl0_radius_ipaddr |
IP Address of RADIUS Server |
wl0_radius_port |
Port number to use for communication with RADIUS server, generally "1812" but could be "1645" depending on your server |
Option |
Description |
-P |
File to write PID of running nas process to, generally "/tmp/nas.lan.pid" |
-l |
Logical interface, or "bridged" interface. Usually "br0" |
-H |
UDP Port to listen for requests from nas4not etc on, use "34954" |
-i |
Hardware wireless interface. "eth1" on WRT54G/GS |
-A |
Authenticator Mode, mututally exclusive of -S. This option is used more often, you probably want it |
-S |
Supplicant Mode, mutually exclusive of -A |
-m |
WPA mode - 0=RADIUS, 1=WPA and 2=WPA+PSK - WPA+PSK is most widely used |
-k |
Preshared Key - used to authenticate clients in WPA+PSK mode, or to RADIUS server in RADIUS mode |
-s |
SSID of wireless network, if you don't know what this is give up... |
-w |
Crypto algorithm to use. 2=TKIP, 4=AES, 6=AES+TKIP - TKIP is most widely supported |
-g |
Rekey Interval - Generally 3600 |
-h |
RADIUS Server IP Address - used only in RADIUS mode |
-p |
RADIUS Server Port Number - used only in RADIUS mode |