source: trunk/debian/package/debwrt-net/usr/share/doc/debwrt-net/nas @ 292

Last change on this file since 292 was 292, checked in by amain, 8 years ago

debwrt-net package added: this package will contain all DebWrt networking configuration

File size: 2.7 KB
Line 
1DebWrt - just some unsorted info on nas
2
3WPA2: -P /var/run/nas.wl0.pid -H 34954 -l br-lan -i wl0 -A -m 128 -w 4 -g 3600 -k "debwrtdebwrt" -s DebWrt
4WPA : -P $PIDFILE -H 34954  -l lanbridge -i wl0 -A -m 4 -w 2  -g 3600 -k $PSK_KEY -s $SSID
5
6OpenWrt's NAS arguments: -P /var/run/nas.$ifname.pid -H 34954 -i $ifname $nas_mode -m $auth -w $wsec -s \"\$${vif}_ssid\" -g 3600 -F $nasopts"
7
81. http://www.bingner.com/openwrt/wpa.html
9
10Option  Description
11-P      File to write PID of running nas process to, generally "/tmp/nas.lan.pid"
12-l      Logical interface, or "bridged" interface. Usually "br0"
13-H      UDP Port to listen for requests from nas4not etc on, use "34954"
14-i      Hardware wireless interface. "eth1" on WRT54G/GS
15-A      Authenticator Mode, mututally exclusive of -S. This option is used more often, you probably want it
16-S      Supplicant Mode, mutually exclusive of -A
17-m      WPA mode - 0=RADIUS, 1=WPA and 2=WPA+PSK - WPA+PSK is most widely used
18-k      Preshared Key - used to authenticate clients in WPA+PSK mode, or to RADIUS server in RADIUS mode
19-s      SSID of wireless network, if you don't know what this is give up...
20-w      Crypto algorithm to use. 2=TKIP, 4=AES, 6=AES+TKIP - TKIP is most widely supported
21-g      Rekey Interval - Generally 3600
22-h      RADIUS Server IP Address - used only in RADIUS mode
23-p      RADIUS Server Port Number - used only in RADIUS mode
24
252. http://wiki.openwrt.org/doc/howto/clientmode
26
27       -l    LAN interface name
28       -i    Wireless interface name
29       -k    WPA share-key
30       -m    2 - WPA
31             4 - PSK
32             32 - 802.1X
33             64 - WPA2
34             66 - WPA WPA2
35             128 - PSK2
36             132 - PSK PSK2
37       -g    WPA GTK rotation interval
38       -h    RADIUS server IP address
39       -r    RADIUS secret
40       -p    RADIUS server authentication UDP port
41       -s    SSID
42       -w    1 - WEP
43             2 - TKIP
44             4 - AES
45             6 - AES+TKIP
46       -P    nas pid file
47       -I    WEP key index
48       -K    WEP share key
49       -H    UDP port on which to listen to requests
50       -t    ??????
51
52The -l option must be present first and then followed by -i ᅵᅵ뀊 options for each wireless interface
53On "Supplicant"/"Client" side -l option can't be used.
54-S|-A = Authenticator (NAS) or Supplicant
55
563. old options
57
58-p PID
59-H UDP port to listen for requests
60-l LAN interface name
61-i Wireless interface name
62-A Authenticator
63-m           2 - WPA
64              4 - PSK
65              32 - 802.1X
66              64 - WPA2
67              66 - WPA WPA2
68              128 - PSK2
69              132 - PSK PSK2 
70-w            1 - WEP
71              2 - TKIP
72              4 - AES
73              6 - AES+TKIP
74-s SSID
75-g WPA GTK rotation interval
76-k WPA share-key
77
Note: See TracBrowser for help on using the repository browser.