I tried the scripts. scan.d has several lines of output (below). connect.d has
no output. Here's the output for wificonfig scan and connect:
# wificonfig -i ath0 connect "Patsy Ann Wireless"
wificonfig: failed to connect to essid 'Patsy Ann Wireless'
# wificonfig -i ath0 connect "Holly Wireless"
wificonfig: failed to connect to essid 'Holly Wireless'
# wificonfig -i ath0 scan
essid bssid type encryption
signallevel
Series_of_Tubes 00:18:f8:61:b6:a1 access point wep 3
Holly Wireless 00:04:e2:7b:80:9c access point wep 5
2WIRE748 00:12:88:d9:2b:c9 access point wep 2
2WIRE189 00:1b:5b:36:3c:21 access point wep 2
precious_wireless 00:18:4d:7c:9d:5c access point wep 4
Linda 00:12:17:d2:a4:f9 access point none 2
Patsy Ann Wireless 00:12:17:77:23:87 access point wep 12
Holly Wireless 00:12:17:77:23:88 access point wep 6
("Patsy Ann Wireless" is 802.11a channel 45, "Holly Wireless" is 802.11g with 2
APs, channels 1 and 6. Both are WPA with the same key.)
# scan.d
==========================================================
essid = Series_of_Tubes
sa = 00:18:f8:61:b6:a1. bssid = 00:18:f8:61:b6:a1
channel: 6
erp: 4
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 6M, 6M ...
capability info: 0x0411
bit 0: AP
bit 4: wep
bit 10: short slot time
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:04:e2:7b:80:9c. bssid = 00:04:e2:7b:80:9c
channel: 6
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 24M, 24M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:04:e2:7b:80:9c. bssid = 00:04:e2:7b:80:9c
channel: 6
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 88M, 88M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = 2WIRE748
sa = 00:12:88:d9:2b:c9. bssid = 00:12:88:d9:2b:c9
channel: 6
erp: 2
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 24M, 24M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:04:e2:7b:80:9c. bssid = 00:04:e2:7b:80:9c
channel: 6
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 88M, 88M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = 2WIRE189
sa = 00:1b:5b:36:3c:21. bssid = 00:1b:5b:36:3c:21
channel: 8
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 24M, 24M ...
capability info: 0x0631
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = precious_wireless
sa = 00:18:4d:7c:9d:5c. bssid = 00:18:4d:7c:9d:5c
channel: 11
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 9M, 9M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = Linda
sa = 00:12:17:d2:a4:f9. bssid = 00:12:17:d2:a4:f9
channel: 11
erp: 4
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 6M, 6M ...
capability info: 0x0401
bit 0: AP
bit 10: short slot time
==========================================================
==========================================================
essid = Linda
sa = 00:12:17:d2:a4:f9. bssid = 00:12:17:d2:a4:f9
channel: 11
erp: 4
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 6M, 6M ...
capability info: 0x0401
bit 0: AP
bit 10: short slot time
==========================================================
==========================================================
essid = Patsy Ann Wireless
sa = 00:12:17:77:23:87. bssid = 00:12:17:77:23:87
channel: 52
erp: 0
basic rates quantity: 8: 6M, 9M ...
capability info: 0x0011
bit 0: AP
bit 4: wep
==========================================================
==========================================================
essid = Patsy Ann Wireless
sa = 00:12:17:77:23:87. bssid = 00:12:17:77:23:87
channel: 52
erp: 0
basic rates quantity: 8: 6M, 9M ...
capability info: 0x0011
bit 0: AP
bit 4: wep
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:12:17:77:23:88. bssid = 00:12:17:77:23:88
channel: 1
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 9M, 9M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:12:17:77:23:88. bssid = 00:12:17:77:23:88
channel: 1
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 9M, 9M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
==========================================================
essid = Holly Wireless
sa = 00:04:e2:7b:80:9c. bssid = 00:04:e2:7b:80:9c
channel: 6
erp: 0
basic rates quantity: 8: 1M, 2M ...
extended rates quantity: 4: 88M, 88M ...
capability info: 0x0431
bit 0: AP
bit 4: wep
bit 5: short preamble
bit 10: short slot time
==========================================================
^C
This message posted from opensolaris.org