Ok, I've solved my problem...
I uninstalled
- net-wireless/ieee80211-1.1.6
- net-wireless/ipw2200-1.0.8-r1
Installed
- sys-kernel/vanilla-sources-2.6.15_rc4
- net-wireless/ipw2200-firmware-2.4
compiled the kernel with the following options
Code: Select all
Networking --->
<M> Generic IEEE 802.11 Networking Stack
[ ] Enable full debugging output
<M> IEEE 802.11 WEP encryption (802.1x)
Device Drivers --->
Network device support --->
Wireless LAN (non-hamradio) --->
<M> Intel PRO/Wireless 2200BG and 2915ABG Network Connection
Inserted the modules to the auto load list (you might not need this)
Code: Select all
# echo ieee80211 >> /etc/modules.autoload.d/kernel-2.6
# echo ieee80211_crypt >> /etc/modules.autoload.d/kernel-2.6
# echo ieee80211_crypt_wep >> /etc/modules.autoload.d/kernel-2.6
# echo ipw2200 >> /etc/modules.autoload.d/kernel-2.6
Restart the system with the new kernel.
configured /etc/wpa_supplicant.conf
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
fast_reauth=1
network={
ssid="e-U"
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
identity="axxxxx@iscte.pt"
password="xxxxxxxx"
}
added the following to /etc/conf.d/net
Code: Select all
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 10"
Now, everytime I need to start the wireless connection, I type the following commands
Code: Select all
# iwconfig eth1 enc [1] 0
# iwconfig eth1 enc [2] 0
# iwconfig eth1 enc [3] 0
# iwconfig eth1 enc [4] 0
# iwconfig eth1 enc off
# iwconfig eth1 mode ad-hoc
# /etc/init.d/net.eth1 start
The first 6 commands solve a lot of connection problems that might stall the connection start. The last one starts the wireless connection.
I had to install a 2.6.15 version of linux kernel because the 2.6.14 seems to not like ipw2200.
I've also heard that 2.6.13 doesn't issue any problem, but haven't checked that out.
I hope this helps someone in the future.