View previous topic :: View next topic |
Author |
Message |
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Tue Jan 29, 2008 4:23 am Post subject: NetworkManager & ipw2200 |
|
|
Hey guys I've been trying to get my wireless card to connect to wireless networks now for a pretty long time but I think I am missing something very basic that is preventing me from making this work. The card has worked with Ubuntu and Sabayon so it's just a matter of configuration with Gentoo.
Code: | #lspci
06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03) |
Code: | #dmesg | grep ipw
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0kdm
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
ipw2200: Failed to send CARD_DISABLE: Command timed out. |
Code: | dmesg | grep ieee80211
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP' |
I am running a 2.6.22-gentoo-r5 kernel and have emerged the following packages:
Code: | # emerge -pv ipw2200-firmware wireless-tools
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-wireless/ipw2200-firmware-3.0 264 kB
[ebuild R ] net-wireless/wireless-tools-29 USE="nls -multicall" 288 kB |
My /etc/conf.d/net Code: | postup() {
if [[ "${IFACE}" == "eth0" ]] ; then
# Wait for connection to be ready
sleep 5
fi
return 0
}
wpa_supplicant_eth1="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
wpa_timeout_eth1=60 |
When I try to connect to my campus network it asks for a keyring password. I've tried everything and it keeps prompting me for one. If I click cancel, it asks me for the network's password, which I know. Once I insert it, it just hangs and tries to keep connecting to no avail. Wired network works flawlessly.
Any suggestions would be welcome! Thanks _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
lcj Tux's lil' helper
Joined: 25 Apr 2004 Posts: 82 Location: Opole, Poland
|
Posted: Tue Jan 29, 2008 9:01 pm Post subject: |
|
|
I've got ipw3945, and noticed that only if after first association fails, the soultion is to restart ipw3945d (or remove then insert module) and then next association is successful. _________________ --
Lukasz C. Jokiel via web |
|
Back to top |
|
|
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Tue Jan 29, 2008 9:37 pm Post subject: |
|
|
I tried doing modprobe -r ipw2200 and then modprobe ipw2200. Then I restarted /etc/init.d/net.eth0 and tried to connect to the wireless network, which is showing up but it hangs right after I insert the password and fails to connect. It works flawlessly in Windows. Maybe one of my files is set up incorrectly? This is my /etc/wpa_supplicant/wpa_supplicant.conf if it is of any relevance: Code: | network={
key_mgmt=NONE
priority=-9999999
}
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=users
update_config=1 | and I checked my /etc/group so that should not be an issue Code: | # cat /etc/group | grep users
users:x:100:games,<myusername> | I'm wondering whether my settings are correct in /etc/conf.d/net where it says Code: | wpa_supplicant_eth1="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
wpa_timeout_eth1=60 | eth1 should be the wireless since eth0 is the wired network Code: | # iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
sit0 no wireless extensions.
eth1 unassociated ESSID:""
Mode:Managed Frequency=2.437 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:20180 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 | Any advice would be greatly appreciated. _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
lcj Tux's lil' helper
Joined: 25 Apr 2004 Posts: 82 Location: Opole, Poland
|
Posted: Tue Jan 29, 2008 9:44 pm Post subject: |
|
|
I don't think you should have the /etc/init.d/net.eth0 anymore...
Did you install via gentoo-wiki HOWTO ?
Also - I had to remove any wpa_supplicant configuration, and let nm create it's own new for WPA to work. _________________ --
Lukasz C. Jokiel via web |
|
Back to top |
|
|
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Tue Jan 29, 2008 10:32 pm Post subject: |
|
|
Ah, good point . I removed /etc/init.d/net.eth0, /etc/conf.d/net and /etc/wpa_supplicant/wpa_supplicant.conf, unloaded the ipw2200 module and then reloaded it. Then I restarted dbus, NetworkManager and tried again. It still does not connect. What is the VPN thing about? The Gentoo wiki just says that "the networkmanager-vpn-plugins have made it to the official portage-tree" but it doesn't say why I would need it.
Do I have to also `emerge -C wpa_supplicant dhcpcd' by any chance? _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
lcj Tux's lil' helper
Joined: 25 Apr 2004 Posts: 82 Location: Opole, Poland
|
Posted: Wed Jan 30, 2008 7:42 am Post subject: |
|
|
I do have both VPN modules - PPTP and IPSEC compiled but you don't have to use'em. I remember that before cleaning wpa_supplicant config I also had numerous notifications about SSID and TKIP key. Doing as the HOWTO says helped, and I re-emerged wpa_supplicant. Probably you're near the solution, yet I remember that ipw3945d never worked with WPA 'automagically' I always had to create some script to reload, reinsert the module (same with ndiswrapper)... We got the alternative project now for Intel WiFi, maybe you can check it out. _________________ --
Lukasz C. Jokiel via web |
|
Back to top |
|
|
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Wed Jan 30, 2008 8:08 pm Post subject: |
|
|
what's the alternative project called? _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
RoundsToZero Guru
Joined: 17 Nov 2003 Posts: 478 Location: New York, NY
|
Posted: Wed Jan 30, 2008 9:29 pm Post subject: |
|
|
iwlwifi |
|
Back to top |
|
|
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Wed Jan 30, 2008 11:27 pm Post subject: |
|
|
isn't that only for ipw3945 ipw4965 ? _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
MostAwesomeDude Guru
Joined: 12 Aug 2007 Posts: 373
|
Posted: Thu Jan 31, 2008 5:24 am Post subject: |
|
|
G2k wrote: | isn't that only for ipw3945 ipw4965 ? |
Indeed; iwlwifi is not for IPW 2200s. _________________ Don't believe the "n00b" under my name. |
|
Back to top |
|
|
|