Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] Problems connecting to 3g wirless router

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sat Jun 08, 2013 3:10 am    Post subject: [Solved] Problems connecting to 3g wirless router Reply with quote

I've just started a new mobile/mobile broadband contract. Got a new 3g wireless router (Huawei E586, connecting to EE). And I've hit a strange problem....

I normally run Arch, which is pretty much always on the latest versions of everything. When I installed, I installed NetworkManager to handle network connections - seemed the simplest option at the time, though I'm not terribly fond of NM.

When I got the E586, I copied down the SSID name and WPA passphrase, booted the laptop and tried to connect. Over and over again - after much grinding, NM would come back to a prompt for the passphrase. Never did connect.

Thinking the device might be faulty, I thought I'd better try it under something else before I started complaining. So I rebooted to SolydX (Debian testing based), which uses Wicd instead of NM. It became obvious that the problem was not with the device - I very quickly got a connection and was able to get on the net.

Thinking that NM had a problem, I went back to Arch and installed Wicd on it. Disabled NM and tried again. And got exactly the same sort of problem - tried for a long time, then failed. Checking the wicd log, this is what I'm getting:

Code:
2013/06/07 21:46:15 :: Generating psk...
2013/06/07 21:46:15 :: Attempting to authenticate...
2013/06/07 21:46:18 :: wpa_supplicant rescan forced...
2013/06/07 21:46:55 :: wpa_supplicant authentication may have failed.
2013/06/07 21:46:55 :: connect result is failed
2013/06/07 21:46:55 :: exiting connection thread
2013/06/07 21:46:56 :: Sending connection attempt result bad_pass


I thought I might not have the Wicd install properly set up (I still find systemd less than intuitive the configure), so I dug out the older 3g wireless router (T-Mobile Pointer, which is a Huawei E583c). It connects without problems. Argh!

So far, it seems that the problem is not in the network manager, but looks as though it is in the authentication layer (wpa_supplicant). But I have no idea why it affects some versions and not others, and no idea how to troubleshoot it.

I've got a number of different distros installed on my laptop - SalineOS 1.7 and 2.0dev, Salix 14.0, Arch, SolydX and Xubuntu 13.04. Of these, I can connect to the E586 with everything except Arch and Xubuntu (which are probably the most up-to-date distros on the machine). So I'm coming to the conclusion that the E586 doesn't like something in the most recent versions of wpa_supplicant. But I have no clue as to how to find it or fix it.

While I can use the older 3g wirless router for a while, its performance isn't as good as the new one, which also seems to have better battery life as well, so I'd really rather fix the problem and be able to use the E586.

Any clues would be most appreciated. I wondered if I need to produce something special in the way of a wpa_supplicant.conf, but don't know where to start....

Oh, and to add insult to injury, Vista (which I've not run for several months) was also able to connect to the E586 without any problems.

Paul.


Last edited by paulm on Tue Aug 06, 2013 7:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Sat Jun 08, 2013 10:18 am    Post subject: Reply with quote

If Wicd works on SolydX, why not copy it's configuration files (in /etc/wicd) to the Arch install?
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sun Jun 09, 2013 3:44 pm    Post subject: Reply with quote

nelz wrote:
If Wicd works on SolydX, why not copy it's configuration files (in /etc/wicd) to the Arch install?


Smile Should have thought of that. Good idea. Thanks.

Unfortunately, makes no difference. Copied the config files, changed the host name to match the Arch hostname, and hit exactly the same problem - it brings the interface up, then fails to authenticate and comes back with a bad password error in the logs.

I suspect it is something broken in later versions of wpa_supplicant. At least that is my assumption given where the failure is occurring.

Next I'm going to try checking if there are any differences in the set up of the older T-Mobile Pointer as opposed to the later Huawei. If that doesn't help I guess I try using the Arch rollback machine to install an older wpa_supplicant and see if that makes any difference.

Any other ideas?

Paul.
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 335
Location: North East England

PostPosted: Sun Jun 09, 2013 7:48 pm    Post subject: Reply with quote

Using Arch, can you connect to the Huawei E586 via the USB cable and get online that way ?
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sun Jun 09, 2013 9:04 pm    Post subject: Reply with quote

GeordieJedi wrote:
Using Arch, can you connect to the Huawei E586 via the USB cable and get online that way ?


Shocked That's a very good question. I have no idea - never tried connecting a USB 3g dongle. I will see what I can find. Not ideal, but it would at least get me out of my current difficulties until I can find out why I can't authenticate the wireless connection to the E586.

Thanks.

Paul.
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Tue Aug 06, 2013 7:35 pm    Post subject: Reply with quote

In case anyone else hits this problem, I've now got the answer...

Turns out it was a kernel regression. When the problem first came up, I was running a 3.9.x series kernel for Arch (which had solved an earlier regression in the 3.8.x series - couldn't get a full wireless n connection with the 3.8.x kernel...). Because of the problem with wireless n, I also updated Xubuntu to a 3.9.x kernel. Both Arch and Xubuntu couldn't connect to the newer MiFi device, all my other distros could.

I'm currently experimenting with SolydX (Debian testing based, built by refugees from the Linux Mint Debian project - very nice...). It provides monthly updates. I hadn't had time to go back to the connection problem until a few days ago. When I did, I found I couldn't connect to the E586 from SolydX. Turns out that the last update pack from SolydX included an upgraded kernel - naturally, to a 3.9.x kernel...

Arch is now on 3.10.x kernels and I can now connect to the newer MiFi device from it without problems...

Smile Maybe something a little less cutting edge in the way of kernels would be a good idea - fairly major regressions in the last two kernel series makes me wonder what there is going to be in 3.10.x....

Paul.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast