> > I still can't get this to work. I have the essid and key defined in > > '/etc/conf.d/net'. I've tried defining the key like "s:key" and > > "s:key enc open" and "open s:key". I've tried other little things but > > to no avail. I can connect to a non-Airport WEP router via > > wpa_supplicant just fine, and an unencrypted non-Airport router via > > iwconfig just fine as well. What else could be the problem connecting > > to this WEP Airport router via iwconfig? > > > > I've also tried Eric's suggestion of running each command manually > > with the same results. > > I've noticed that wireless can be sensitive to the order and timing of > running iwconfig commands. > > Run these two lines from bash (substitute DEV=wlan0 for your device, and > the key and essid): > function iw { sleep 5; iwconfig 2>/dev/null | grep "Access Point"; } > DEV=wlan0 iw; sudo iwconfig $DEV essid youressid; iw; sudo iwconfig $DEV key > 00001111222233334444555566; iw; sudo iwconfig $DEV key open; iw > > then tell me if the output you see is like this: > Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated > Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated > Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated > Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated > > or if you see something other than "Not-Associated". You could also try > playing with the order of the commands, but usually I find it goes > essid, key, enc.
Hi Ian, I'm just getting this: Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00 Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00 Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00 Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00 Running that command doesn't make the LEDs on my wireless card blink at all. Usually when they blink out of sync it is searching and when they blink together I'm connected. Using iwconfig via /etc/init.d/net.ath0 does make them blink together like it's connected, but then they stop and I get the failed message. Any ideas? I'll try anything. - Grant -- gentoo-user@gentoo.org mailing list