You are not logged in.
Pages: 1
I cannot connect to my wireless network, and have followed the wiki exactly. I'm a complete newbie to this, so hopefully I'm missing something simple. Here's my info...
iwconfig:
wlan0
IEEE 802.11abgn ESSID:off/any
Mode:Managed AccessPoint: Not-Associated Tx-Power=15 dBm
Retry long limit: 7 RTS thr: off Fragment thr:off
Encryption key: off
Power Management: off
network profile:
CONNECTION='wireless'
DESCRIPTION='Connection to network at home.'
INTERFACE='wlan0'
SECURITY='wep'
ESSID='LCLG7'
KEY='...'
IP='dhcp'
netcfg debugging:
DEBUG: Loading profile lclg7
DEBUG: Configuring interface wlan0
:: lclg7 up
DEBUG: status reported to profile_up as:
DEBUG: Loading profile lclg7
DEBUG: Configuring interface wlan0
DEBUG: wireless_up stop_wpa wlan0
DEBUG: wireless_up start_wpa wlan0 /run/network//wpa.wlan0/wpa.conf n180211,wext
DEBUG: wireless_up stop_wpa wlan0
DEBUG: wireless_up Configuration generated at /run/network//wpa.wlan0/wpa.conf
DEBUG: wireless_up ifup
DEBUG: wireless_up start_wpa wlan0 /run/network//wpa.wlan0/wpa.conf n180211,wext
DEBUG: wireless_up wpa_check
DEBUG: wpa_cli -p /run/wpa_supplicant -i wlan0 status
> WPA Authentication/Association Failed
DEBUG: profile_up connect failed
Last edited by squagels (2012-02-11 00:14:44)
Offline
Are you able to connect manually?
Offline
I've had no luck doing it manually either.
Offline
With manual setup, I can associate my access point and wireless device as shown with # iwconfig wlan0:
wlan0
IEEE 802.11abgn ESSID:"LCLG7"
Mode:Managed AccessPoint: Not-Associated Tx-Power=15 dBm
Retry long limit: 7 RTS thr: off Fragment thr:off
Encryption key:****-****-**
Power Management: off
But when I try to run # dhcpcd wlan0, it goes nowhere:
dhcpcd[823]: version 5.2.12 starting
dhcpcd[823]: wlan0: waiting for carrier
dhcpcd[823]: timed out
Offline
Which wireless card (lspci -nn)? Do you get a 30s hang at boot? If yes: https://bbs.archlinux.org/viewtopic.php?id=134012
Offline
Wireless card is:
02:00.0 Network controller [0280]: Intel Corporation WiFi Link 5100 [8086:4232]
And I do get a long hang at boot (during 'Starting Network'), so I added my wireless card's driver (iwlagn) to modules as that thread suggested, but it didn't fix anything.
Offline
The driver is now named iwlwifi, not iwlagn. Also, you're not getting the hang that thread describes (that thread describes an udev hang, and iwlwifi is one of the few driver not having that issue). You're probably hitting a bug in the driver, the workaround is disabling hardware encryption - in /etc/modprobe.d/modprobe.conf
option iwlwifi swcrypto=1
(and if this post looks similar to some other post I made recently... well, there seems to be an epidemic of not working hardware encryption in several drivers recently )
Last edited by Gusar (2012-02-11 00:34:18)
Offline
Ok, so I tried the other fix from that thread (https://bbs.archlinux.org/viewtopic.php … 5#p1046225), and dhcpcd still timed out.
I also tried disabling hardware encryption as you suggested, and the option line is being ignored (says it's a bad line). Maybe I did this wrong?
Last edited by squagels (2012-02-11 00:57:03)
Offline
If you did what I said, it's wrong, yeah . My mistake. It should be
options iwlwifi swcrypto=1
Last edited by Gusar (2012-02-11 01:00:51)
Offline
I'm now getting the error message that the module is not found.
To clarify, here's everything I've done:
Added to /etc/modprobe.d/modprobe.conf:
blacklist iwlwifi
options iwlwifi swcrypto=1
Added to /etc/rc.conf:
/sbin/modprobe iwlwifi
Ran:
# iwconfig wlan0 essid "LCLG7" key "********"
# dhcpcd wlan0
dhcpcd[851]: version 5.2.12 starting
dhcpcd[851]: wlan0: waiting for carrier
dhcpcd[851]: timed out
#
Last edited by squagels (2012-02-11 02:40:42)
Offline
I think it is not found because you have blacklisted it...
Shouldn't you add the module to the modules array in rc.conf rather than calling modprobe manually in there?
If you are following instructions from somebody else, ignore mine. I don't know about this particular issue. That just doesn't look right...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
It turns out that I misread Gusar's earlier post regarding a fix for a problem describing an udev hang and yes, those lines should not be there. However, even with iwlwifi in my MODULES in /etc/rc.conf, I still cannot get dhcpcd to be a success. These are now what my files look like:
Added to /etc/modprobe.d/modprobe.conf (as per Gusar's suggestion):
options iwlwifi swcrypto=1
Added to /etc/rc.conf:
MODULES=(iwlwifi)
Ran:
# iwconfig wlan0 essid "LCLG7" key "********"
# dhcpcd wlan0
dhcpcd[851]: version 5.2.12 starting
dhcpcd[851]: wlan0: waiting for carrier
dhcpcd[851]: timed out
#
I should also note that while booting, the "Loading Modules" part reports a failure. I also have the linux-firmware package installed (according to https://wiki.archlinux.org/index.php/Wi … 000-series my driver is part of this package). Is there something I'm missing to get the iwlwifi driver to load?
Offline
Please state the error you see for the module. Also, if you manually rmmod and load it again (with the option), you still get an error?
Another thing: In your post #4 you say the manual association worked, but in fact it has not worked according to the output ("not associated"). So its clear the dhcp wont work after. You may want to watch out for that in your tests.
If it does not work manually, perhaps your wpa_supplicant conf just has an error.
Offline
When I'm booting up, everything passes with a "done", except for "Loading Modules" which comes up as "fail". Running rmmod simply says that the module does not exist in /proc/modules.
Earlier I had thought that my system was using the iwlagn driver, but Gusar corrected me and said that the driver is now iwlwifi:
The driver is now named iwlwifi, not iwlagn.
So which one do I use? And if it's iwlwifi, how do I get that module to load?
In that earlier post, I only thought that the association worked because the output showed the SSID and encryption key.
Offline
When I'm booting up, everything passes with a "done", except for "Loading Modules" which comes up as "fail".
That could be unrelated to wireless. What's your MODULES array in /etc/rc.conf?
And if it's iwlwifi, how do I get that module to load?
It should load automatically, no configuration required.
Check with lsmod that the module is loaded. If it is, check dmesg for any error messages related to wireless. If it isn't, modprobe it and check dmesg for any error messages. If there aren't any, connect to wireless, but do not run dhcpcd yet. First check with iwconfig that you're actually connected ("Access Point:" should give an address instead of saying "Not-Associated"). Only after you have a wireless connection do you run dhcpcd.
Offline
MODULES only has one module - iwlwifi.
lsmod shows iwlagn and not iwlwifi.
modprobe gives me a "FATAL: Module iwlwifi not found." error message.
Last edited by squagels (2012-02-11 20:35:21)
Offline
You must be using some old kernel then. So first thing: fully update your machine. Could be you're using an outdated mirror, so check that.
Offline
Ok, full update done and am now running the iwlwifi driver, and can finally connect to my wireless and get a successful ping. Turns out after all that, I just needed to update the system. Dumb, dumb, me.
Thank you so much for all the help!
Last edited by squagels (2012-02-11 21:08:15)
Offline
[Problem Solved]
Last edited by pan (2012-06-01 20:05:14)
Google+ | DeviantART | Last.fm
Offline
Pages: 1