WPA works now--thanks. This is on the Solaris Express nv70b free DVD release.  
First thing I did was disable nwam, which is broken (doesn't take the 
pre-shared key, PSK, nor the secobj key).  It's not clear if I need to enter 
the PSK key or the secobj key.  Neither works (I have a PSK 37 bytes long, 
which has caused problems with the old wificonfig on Solaris).  To disable 
nwam, type: svcadm disable nwam
(otherwise, you're prompted over and over again--very annoying).

DHCP is also broken. I also have to set the IP address manually with ifconfig 
and add the route manually (even though I have zero-length files /etc/dhcp.ath0 
and /etc/hostname.ath0

Overall, I'm happy Wifi finally works for my laptop!  I was not willing to 
downgrade from WPA to WEP security.  Details follow.

        - Dan

# dladm create-secobj -c wpa psk
provide value for 'psk': *************************************
confirm value for 'psk': *************************************
# ifconfig ath0 plumb
# dladm connect-wifi -e Molly Wireless -k psk ath0
# dladm show-wifi
# ifconfig ath0 192.168.200.123/24 up
# route add default 192.168.200.1
add net default: gateway 192.168.200.1
# ping 192.168.200.1
192.168.200.1 is alive

# ifconfig ath0
ath0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
        inet 192.168.200.123 netmask ffffff00 broadcast 192.168.200.255
        ether 0:14:a4:34:ca:71 
# dladm show-dev ath0
ath0            link: up        speed:    54Mb  duplex: unknown
# dladm show-secobj
OBJECT               CLASS                
psk                  wpa                  
# dladm show-wifi
LINK       STATUS            ESSID               SEC    STRENGTH   MODE   SPEED
ath0       connected         Molly Wireless      wpa    good       g      54Mb
# dladm scan-wifi
LINK       ESSID               BSSID/IBSSID      SEC    STRENGTH   MODE   SPEED
ath0       Molly Wireless      0:4:e2:7b:80:9c   wpa    good       g      54Mb
ath0       greenhouse          0:18:2:7a:9b:7f   wep    weak       g      54Mb
ath0       2WIRE748            0:12:88:d9:2b:c9  wep    very weak  g      54Mb
# dladm show-linkprop ath0
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE             
ath0         channel         1              --             --                   
ath0         powermode       ?              off            off,fast,max         
ath0         radio           ?              on             on,off               
ath0         speed           54             --             
1,2,5.5,6,9,11,12,18,24,36,48,54 
ath0         zone
 
 
This message posted from opensolaris.org

Reply via email to