You are not logged in.
Pages: 1
Hello all,
Having been using Arch for a few months now I must say that I've been very impressed. What few minor problems I've encountered have been solved pretty quickly via the forum/wiki. And I'm sure this one is down to my own lack of experience.
Anyway, after several weeks of the wireless (hidden SSID, WPA2) working fine, a few weeks back whilst online Wicd suddenly disconnected and has not reconnected since. I initially tried a few possible solutions; erasing the config files and recreating the connection settings, removing and reinstalling Wicd, and connecting directly using wpa_supplicant. None of them worked, the latter gave an error message suggesting an instance of wpa_supplicant was already running or that there was a problem with the file (?). I am very much in the dark when it comes to connecting via command line, so it's possible there was an error on my part when trying directly with wpa_supplicant, though I did follow the instructions on the wiki to the letter.
I'm certain it's not a hardware/driver issue as I replaced my wireless chip (largely due to the previous Broadcom one having terrible drivers and not N compatible), to a better Intel one but it also made no difference. I also tried restarting the router and erasing its settings for my computer - no luck.
Due to my being very busy recently I've been using a wired connection, but it's starting to become too much of an inconvenience. Anyone have any thoughts? I know this is a common problem but there are a myriad of possible solutions presented to what is often a variation of my exact problem.
Here is my Wicd log from when it attempts to connect:
2012/01/04 22:55:56 :: ---------------------------
2012/01/04 22:55:56 :: wicd initializing...
2012/01/04 22:55:56 :: ---------------------------
2012/01/04 22:55:56 :: wicd is version 1.7.0 552
2012/01/04 22:55:56 :: setting backend to external
2012/01/04 22:55:56 :: trying to load backend external
2012/01/04 22:55:56 :: successfully loaded backend external
2012/01/04 22:55:56 :: trying to load backend external
2012/01/04 22:55:56 :: successfully loaded backend external
2012/01/04 22:55:56 :: Automatically detected wireless interface wlan0
2012/01/04 22:55:56 :: setting wireless interface wlan0
2012/01/04 22:55:56 :: automatically detected wired interface eth0
2012/01/04 22:55:56 :: setting wired interface eth0
2012/01/04 22:55:56 :: setting wpa driver wext
2012/01/04 22:55:56 :: setting use global dns to False
2012/01/04 22:55:56 :: setting global dns
2012/01/04 22:55:56 :: global dns servers are None None None
2012/01/04 22:55:56 :: domain is None
2012/01/04 22:55:56 :: search domain is None
2012/01/04 22:55:56 :: setting automatically reconnect when connection drops True
2012/01/04 22:55:57 :: Setting dhcp client to 0
2012/01/04 22:55:57 :: Wireless configuration file found...
2012/01/04 22:55:57 :: Wired configuration file found...
2012/01/04 22:55:57 :: chmoding configuration files 0600...
2012/01/04 22:55:57 :: chowning configuration files root:root...
2012/01/04 22:55:57 :: Using wireless interface...wlan0
2012/01/04 22:55:57 :: Using wired interface...eth0
2012/01/04 22:56:01 :: hidden
2012/01/04 22:56:02 :: Autoconnecting...
2012/01/04 22:56:04 :: No wired connection present, attempting to autoconnect to wireless network
2012/01/04 22:56:07 :: hidden
2012/01/04 22:56:08 :: trying to automatically connect to...<hidden>
2012/01/04 22:56:08 :: Connecting to wireless network <hidden>
2012/01/04 22:56:08 :: Putting interface down
2012/01/04 22:56:08 :: Releasing DHCP leases...
2012/01/04 22:56:08 :: Setting false IP...
2012/01/04 22:56:08 :: Stopping wpa_supplicant
2012/01/04 22:56:08 :: Flushing the routing table...
2012/01/04 22:56:08 :: Putting interface up...
2012/01/04 22:56:10 :: Generating psk...
2012/01/04 22:56:10 :: Attempting to authenticate...
2012/01/04 22:56:13 :: wpa_supplicant rescan forced...
2012/01/04 22:56:51 :: wpa_supplicant authentication may have failed.
2012/01/04 22:56:51 :: connect result is Failed
2012/01/04 22:56:51 :: exiting connection thread
2012/01/04 22:56:54 :: Sending connection attempt result bad_pass
2012/01/04 22:56:54 :: Autoconnecting...
2012/01/04 22:56:54 :: No wired connection present, attempting to autoconnect to wireless network
2012/01/04 22:56:57 :: hidden
2012/01/04 22:56:57 :: trying to automatically connect to...<hidden>
2012/01/04 22:56:57 :: Connecting to wireless network <hidden>
2012/01/04 22:56:58 :: Putting interface down
2012/01/04 22:56:58 :: Releasing DHCP leases...
2012/01/04 22:56:58 :: Setting false IP...
2012/01/04 22:56:58 :: Stopping wpa_supplicant
2012/01/04 22:56:58 :: Flushing the routing table...
2012/01/04 22:56:58 :: Putting interface up...
2012/01/04 22:57:00 :: Generating psk...
2012/01/04 22:57:00 :: Attempting to authenticate...
2012/01/04 22:57:03 :: wpa_supplicant rescan forced...
2012/01/04 22:57:40 :: wpa_supplicant authentication may have failed.
2012/01/04 22:57:40 :: connect result is Failed
2012/01/04 22:57:40 :: exiting connection thread
2012/01/04 22:57:44 :: Sending connection attempt result bad_pass
2012/01/04 22:57:44 :: Autoconnecting...
2012/01/04 22:57:44 :: No wired connection present, attempting to autoconnect to wireless network
2012/01/04 22:57:44 :: Unable to autoconnect, you'll have to manually connect
2012/01/04 22:57:49 :: Autoconnecting...
2012/01/04 22:57:49 :: No wired connection present, attempting to autoconnect to wireless network
2012/01/04 22:57:52 :: Unable to autoconnect, you'll have to manually connectOffline
Can you give a blow-by-blow of what happens when you try to use wpa_supplicant?
Offline
Since you have control of the router, you could also try removing the security temporarily just to see if you can then connect.
Do you filter by machine address? The new card might have a different ethernet id from the old one. (Note: I'm not sure this is the right term.) I know Apple's Airport cards are like that and I assume other kinds of cards must be, too. (At least some airport cards are basically broadcom anyway.)
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
I'm certain it's not a hardware/driver issue as I replaced my wireless chip (largely due to the previous Broadcom one having terrible drivers and not N compatible), to a better Intel one but it also made no difference. I also tried restarting the router and erasing its settings for my computer - no luck.
Just for kicks, downgrade linux to 3.1.4 (you can find it in your pkg cache, likely /var/cache/pacman/pkg) and try your 802.11n network again. If it works, congratulations, you've been bitten by FS#27581! Methods of dealing with said bug are in the bug comments ![]()
If it doesn't work, sorry for the hassle ._.
Offline
Can you give a blow-by-blow of what happens when you try to use wpa_supplicant?
I tried again connecting directly via wpa_supplicant, but no luck. Here's what I did:
- Removed wicd and wpa_supplicant and related config files.
- Reinstalled wpa_supplicant.
- Created wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="MySSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="MyPSK"
}- Followed steps 0-2 at https://wiki.archlinux.org/index.php/Wi … nual_setup
- Then tried:
sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf- Received no message and prompt reappeared, so thinking it may be correctly running in the background I try to get an IP:
sudo dhcpcd wlan0- But it fails:
dhcpcd[1345]: version 5.2.12 starting
dhcpcd[1345]: wlan0: waiting for carrier
dhcpcd[1345]: timed out- So I try again:
sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf- This time receive error message:
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface 'DIR=/var/run/wpa_supplicant GROUP=wheel'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.- If I do what is says and delete '/var/run/wpa_supplicant/wlan0' and try again I don't get the error but it behaves as it did the first time (i.e. unable to get IP via dhcpcd, and no connection).
Last edited by Chowchilla (2012-01-11 23:49:51)
Offline
Hmm. Maybe try running wpa_supplicant and dhcpcd with debug flags. Also, the original error log shows what happens when you try to connect with wicd. What about the latest log, when you used the command line tools directly? (The error about ctrl_iface existing isn't what I mean.)
Also, you may wish to compare your wpa conf with my own:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=network
network={
ssid="S1NGUL4R1TY"
psk="SOMEPASSPHRASE"
}Notice that I impose fewer constraints on what types of connections are permitted, and the group is set to network, not wheel.
Last edited by /dev/zero (2012-01-11 23:38:52)
Offline
Since my last post I tried installing Wicd again, no change. But I'll definately give your advice a try, though probably not until tomorrow or day after due to work.
To be honest, given that the problem initially occurred suddenly whilst browsing the net (as opposed to after an update or config change), I'm suspicious of the router. Especially seeing as it's the pretty shoddy Thomson router O2 supply for "free". I was thinking of replacing it with a reliable Linksys router with DD-WRT even before this happened, so in a week or so when my workload lightens I'll hopefully get that sorted.
Offline
I had Arch installed on 2 different hard drives for the same laptop. One Arch install I kept up to date and had netcfg working fine with wpa_supplicant. Later I tried updating the other Arch Install and using netcfg with wpa_supplicant on the same network. Never could get it to work. Cloned the first Arch install to the second hard drive, and now everything works fine. Not sure what was causing my issue with wpa_supplicant, but I agree it can be a bear to get working in certain situations.
Offline
Pages: 1