On Sun, Oct 27, 2013 at 10:43:05PM -0700, Fred Snurd wrote: > $ sudo ifconfig ath0 nwid <my-id> wpakey <my-password> > $ ifconfig ath0ath0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu > 1500 > lladdr a8:54:b2:23:da:80 > priority: 4 > groups: wlan > media: IEEE802.11 autoselect > status: no network > ieee80211: nwid <my-id> > wpakey <not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers > tkip,ccmp wpagroupcipher tkip > $ > > ...which still shows that the link has not changed as expected.
The interface isn't marked UP in the flags= line. So try 'ifconfig ath0 up' here. dhclient does this automatically before requesting a lease.