Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sunkiss@openindiana:~# nwamcfg list
- NCPs:
- Automatic
- Locations:
- Automatic
- NoNet
- User
- sunkiss@openindiana:~# dladm show-secobj
- sunkiss@openindiana:~# nwamadm select-wifi rwn0
- 1: ESSID NETGEAR BSSID 0:14:6c:6d:4f:7a
- 2: ESSID NETGEAR BSSID 0:1b:2f:aa:2a:c0
- 3: Other
- Choose WLAN to connect to [1-3]: 1
- Enter WLAN key for ESSID NETGEAR: netskcal
- sunkiss@openindiana:~# dladm show-secobj
- OBJECT CLASS
- nwam-NETGEAR wpa
- sunkiss@openindiana:~# nwamadm select-wifi rwn0
- 1: ESSID NETGEAR BSSID 0:14:6c:6d:4f:7a
- 2: ESSID NETGEAR BSSID 0:1b:2f:aa:2a:c0
- 3: Other
- Choose WLAN to connect to [1-3]: 2
- Enter WLAN key for ESSID NETGEAR: elginozio
- sunkiss@openindiana:~# dladm show-secobj
- OBJECT CLASS
- nwam-NETGEAR-0.1b.2f.aa.2a.c0 wpa
- nwam-NETGEAR wpa
- sunkiss@openindiana:~# nwamcfg list
- NCPs:
- Automatic
- Locations:
- Automatic
- NoNet
- User
- WLANs:
- NETGEAR
- #in the current known wlan model
- #two distinct ESSIDs, even if different BSSIDs,
- #can not exist
- #adding support for distinct wlans with the same ESSID would break the current API
- sunkiss@openindiana:~# nwamcfg list
- NCPs:
- Automatic
- Locations:
- Automatic
- NoNet
- User
- WLANs:
- NETGEAR
- #nwamd have updated the known wlan
- #accordingly to the last keyname successfully used
- #the current known wlan model does not support distinct keynames
- #adding support for distinct keynames for the same ESSID would break the current API
- sunkiss@openindiana:~# nwamcfg list wlan NETGEAR
- known wlan:NETGEAR
- priority 0
- bssids "0:14:6c:6d:4f:7a","0:1b:2f:aa:2a:c0"
- keyname "nwam-NETGEAR-0.1b.2f.aa.2a.c0"
- keyslot 1
- security-mode wpa
- sunkiss@openindiana:~# nwamadm select-wifi rwn0
- 1: ESSID NETGEAR BSSID 0:1b:2f:aa:2a:c0
- 2: ESSID NETGEAR BSSID 0:14:6c:6d:4f:7a
- 3: Other
- Choose WLAN to connect to [1-3]: 2
- #nwamd can still reuse the old key, if the user decided to connect to the old BSSID
- #note it does not ask for password
- #nwamd always finds the correct keyname to use because it starts searching
- #with the nwam-ESSID-BSSID keyname format
- sunkiss@openindiana:~# nwamcfg list wlan NETGEAR
- known wlan:NETGEAR
- priority 0
- bssids "0:14:6c:6d:4f:7a","0:1b:2f:aa:2a:c0"
- keyname "nwam-NETGEAR"
- keyslot 1
- security-mode wpa
- #the known wlan is updated accordingly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement