Shawn Walker wrote: >On Jan 17, 2008 8:50 PM, Judy Chen <Judy.Chen at sun.com> wrote: > > >> ... >> >>I cc'ed Quaker who may have more detailed info on this. >> >> > >Okay, I've gotten farther. I managed to manually configure my wireless >interface w/ WPA enabled. I don't know why dhcp won't work, but that's >something I'm willing to debug if someone will tell me where to look. > > Right, static IP can work, but DHCP can't, the root cause is SUNWcry package missed. If you have interest, you can see some threads I have explained this before.
>I manually configured my interface thusly (and it works, I'm posting >from my Indiana-ized Laptop right now :)): > > You can work with static IP, but you may lose your connection periodically (depends on the configuration of your AP), the root is missed SUNWcry too. -- Quaker >svcadm disable nwam >svcadm disable network/inetmenu (if applicable) >dladm create-secobj -c wpa psk >dladm connect-wifi -e SSID -k psk ath0 >ifconfig ath0 $MY_IP broadcast $BROADCAST netmask $NETMASK >route -n add default -gateway $GATEWAY_IP >echo $GATEWAY_IP > /etc/defaultrouter >echo $HOSTNAME > /etc/nodename >echo $HOSTNAME > /etc/hostname.ath0 >echo "$MY_IP $HOSTNAME" >> /etc/hosts >echo "domain $DOMAIN" > /etc/resolv.conf >echo "search $DOMAIN" >> /etc/resolv.conf >echo "nameserver $NS1_IP" >> /etc/resolv.conf >echo "nameserver $NS2_IP" >> /etc/resolv.conf >cp /etc/nsswitch.dns /etc/nsswitch.conf >svcadm enable dns/client > >I haven't figured out how to make the connection wholly permanent yet >as wificonfig only supports wep, and not wpa. > >Still, at least I can use my network connection now, and the atheros >card pretty much "just works" unlike the broadcom > > >
