I've already asked about this on my distro's forums and the folks there (however helpful), have run out of ideas.
I have made some progress lately, but still no joy.
I'm running Gentoo 2006.0 on a Toshiba Laptop with an Intel wireless card
Code:
lspci | grep Wireless
06:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network Connection (rev 05)
The router is a Linksys WRT54GS. There are two wireless networks in range, Terminus (mine) and Ultramagnus (a neighbor's). I can connect to mine no problem in Windows using WPA-PSK/TKIP.
at present, to even scan for networks, I have to go into a terminal and manually call wpa_supplicant in background mode. wpa_gui works, but it's completely useless--it won't make any changes to /etc/wpa_supplicant.conf.
If I completely turn encryption off, I can connect wirelessly, but it fails with any sort of encryption, even 64-bit WEP, which isn't much better than zero encryption. I know I'm not just typo'ing the PSK, since it's my root password and I type it dozens of times per day. When I tried WEP, I used my phone number--impossible to b0rk the key. The PSK is 9 characters in length
eth0 doesn't seem to be anything on my system, eth1 is the wlan, and eth2 is my working ethernet connection.
Here's my current wpa_supplicant.conf (with the psk changed, of course
)
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
#network={
# ssid="Terminus"
# psk=abcde12345
# priority=5
#}
#network={
# ssid="Terminus"
# #psk="abcde12345"
# psk=random crap generated by wpa_passphrase
#}
# Only WPA-PSK is used. Any valid cipher combination is accepted.
network={
ssid="Terminus"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=CCMP TKIP WEP104 WEP40
psk="abcde12345"
priority=2
}
blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}
I'm calling wpa_supplicant as follows:
Code:
wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf -B
(for some reason I have to use -B instead of just adding & to the end
)
Here's what iwconfig tells me when I have encryption turned off at the AP:
Code:
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"Terminus"
Mode:Managed Frequency:2.452 GHz Access Point: 00:0F:66:95:03:31
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=93/100 Signal level=-34 dBm Noise level=-86 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:18 Missed beacon:0
eth2 no wireless extensions.
When I try to use wpa_gui with encryption turned on, it will start by saying "associating with (correct MAC address of the router)", but then change to "Authentication with 00:00:00:00:00:00 failed"...so I'm thinking if I can find a way to hard-code my router's MAC address, I should be able to authenticate and connect succesfully.
I don't know if this output is any good, it appears to be in Croatian to my untrained eye:
Code:
wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf -Bioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
bind(PF_UNIX): Address already in use
Code:
wpa_gui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Selected interface 'eth1'
Trying to connect to '/var/run/wpa_supplicant/eth1'