Dear all, I've a wlan card, which i've configured manually as nwam keeps disconnecting the network very frequently. also nwam would hang or not work if the access point was shutdown or restarted momentarily.
So for me manual configuration works best. arun at opensolaris:~# svcs -a|grep physical disabled 23:30:51 svc:/network/physical:nwam online 23:31:00 svc:/network/physical:default Problem: I've to always connect manually to the access point, now i've written a script to do that, every time the computer restarts. Target: I would like to connect to the access point automatically inspite of manual configuration. arun at opensolaris:~# dladm show-wifi LINK STATUS ESSID SEC STRENGTH MODE SPEED rum0 connected B18 wpa excellent g 36Mb arun at opensolaris:~# dladm show-secobj OBJECT CLASS nwam-B18-0.14.78.f0.16.9c wpa mykey wpa arun at opensolaris:~# cat /root/wifi.sh #!/usr/bin/bash #author: arun tomar #date: 4.6.2009. #purpose: script to connect to wifi access point B18 dladm connect-wifi -k mykey -e B18 # show the wifi status dladm show-wifi regds, Arun.
