nwam is supposed to work in this case, though you can try the following manual 
work-around:

ifconfig myk up
ifconfig myk dhcp   <-- will use dhcp

If you'd like to assign a static IP manually, do the following (assuming you 
have a 192.168.* configured subnet):

# cd /etc
# mv nsswitch.dhcp msswitch.conf
# echo "192.168.1.100 mybox-myk0" >> hosts   (replace with an appropiate IP)
# echo "192.168.1.101 mybox-wpi0" >> hosts   (replace with an appropiate IP)
# echo "mybox-myk0" > hostname.myk0
# echo "mybox-wpi0" > hostname.wpi0
# echo "nameserver 192.168.1.1" > resolv.conf     (replace IP with your 
router's IP)
# echo "192.168.1.1" > defaultrouter                      (replace IP with your 
router's IP)

Ok, that was a bit too much, nwam was supposed to do all that for you. After 
it's done, lets bring up the interface.

# ifconfig myk0 plumb
# ifconfig wpi0 plumb
# ifconfig -a   (should show both interfaces plumbed)
# ifconfig myk0 up

Ok, now you should be able to connect via myk0. For wifi, it's a bit more 
involved. We need to configure the encryption. Off my head:

# dladm create-secobj -c wpa my-secret
< enter the password >
#dladm scan-wifi     (see if it shows your AP)
#dladm connect-wifi -e MYAPNAME -k my-secret -s wpa wpi0
#dladm show-wifi   (should show that it's connected).
 
 
This message posted from opensolaris.org

Reply via email to