LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2016, 06:12 AM   #1
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Rep: Reputation: Disabled
Wifi takes ages to connect or doesnt at all


My problem is connecting to a hidden network. The initial setup (if done via "connect to hidden network") seems to work fine, but once I disconnect, reboot, or even just suspend the re-connect does not seem to work properly.

Either it toggles forever between inactive and scanning and only finds the network after five to ten attempts or does not connect at all and mentions a "failed activation".

Would anybody have an idea what could be wrong? Unfortunately I do not have the logs right now at hand.

Just for the sake, other devices do not have a connection problem, respectively Windows on the same hardware connects fine too.
 
Old 07-26-2016, 07:50 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,910
Blog Entries: 32

Rep: Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445
neroux,

Open a Terminal and post the results of these commands using code tags (highlight the output and then click on #, above the text box):

Code:
lspci -nnk | grep -i net -A2
Code:
lsmod
Code:
sudo lshw -C network
Also, what is the make and model of your laptop?
 
Old 07-26-2016, 09:08 AM   #3
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks a lot, I will post the info as soon as I get to it. In the meantime, would you have any approximate guess why that could be?
 
Old 07-26-2016, 09:27 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929
You connect to this network, and the problem is when you disconnect and go to reconnect, or if the system goes to sleep and then wakes up. People will need to know if you are using a network manager, or the command line to control your connection, plus which Linux distribution and version of it you are using.
 
Old 07-26-2016, 09:30 AM   #5
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
You connect to this network, and the problem is when you disconnect and go to reconnect, or if the system goes to sleep and then wakes up. People will need to know if you are using a network manager, or the command line to control your connection, plus which Linux distribution and version of it you are using.
Both cases, basically re-connects in general "hang". It is the network manager of Mint 18.
 
Old 07-26-2016, 02:31 PM   #6
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
From what I can tell so far it seems the problem exists only with a hidden ac 5Ghz network. The moment I try to connect to a hidden 2.4Ghz network or a visible ac one it connects without problem (still a tad slower than Windows, but I attribute this to Linux )

As to the question about the network controller, it is an Qualcomm Atheros QCA6174 one, with the drivers manually added from https://github.com/kvalo/ath10k-firmware.

Any idea if this could be an issue with those particular drivers and if there is any setting to fix it?
 
Old 07-26-2016, 04:28 PM   #7
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
I am not a fan of NetworkManager, so I'd try just plain wpa_supplicant and a DHCP client (like dhcpcd, Busybox' udhcpc, suckless' sdhcp etc.).
 
Old 07-27-2016, 06:22 AM   #8
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks Mitt, in that area though I'd like to avoid too much CLI-ninjaing if possible .

Any other ideas how I could convince [whoever-is-resposible-for-that-toggling] to "simply" connect?
 
Old 07-28-2016, 03:52 AM   #9
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Nobody else any idea?
 
Old 07-29-2016, 10:47 AM   #10
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by neroux View Post
Thanks Mitt, in that area though I'd like to avoid too much CLI-ninjaing if possible .
dhcpcd-gtk is a GTK front-end for them both, so you may give it a try.
 
1 members found this post helpful.
Old 07-29-2016, 10:56 AM   #11
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Mitt Green View Post
dhcpcd-gtk is a GTK front-end for them both, so you may give it a try.
Would you believe it to be a DHCP related issue? I havent considered that yet, but assumed it would be rather on the level of 802.11, the data link. Havent tried a static assignment yet.

First I'd need to re-install Mint though, have tried different distributions so far (Arch-based Apricity might not have that issue) and at the moment frustrated enough to consider going back to Windows .
 
Old 07-29-2016, 11:01 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,910
Blog Entries: 32

Rep: Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445
neroux,

This guessing game can go on for ever.

We need hard information in order to try and help you.

You have not yet supplied the output asked for in post #2.

Last edited by beachboy2; 07-29-2016 at 11:02 AM.
 
Old 07-29-2016, 11:53 AM   #13
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by neroux View Post
Would you believe it to be a DHCP related issue?
Not dhcp but NetworkManager-related. I've had some problems in the past with it.

A dhcp client and wpa_supplicant work probably 99.9% of the time because they are very simple and not overly engineered. Yet I don't understand why some distributions don't include a client in the default installation (Ubuntu notably, IIRC).
 
1 members found this post helpful.
Old 07-29-2016, 05:45 PM   #14
neroux
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
neroux,

This guessing game can go on for ever.

We need hard information in order to try and help you.

You have not yet supplied the output asked for in post #2.
True, sorry I havent done that yet. Though I did mention the chipset and used drivers, and except for the second log output (the overall module excerpt) it is mostly about the chipset.

At this point it doesnt matter though as I have given up on my most recent Linux venture for now.

Quote:
Originally Posted by Mitt Green View Post
Not dhcp but NetworkManager-related. I've had some problems in the past with it.

A dhcp client and wpa_supplicant work probably 99.9% of the time because they are very simple and not overly engineered. Yet I don't understand why some distributions don't include a client in the default installation (Ubuntu notably, IIRC).
Thanks a lot Mitt, I just tried dhcpcd. No change though.

Thanks again!
 
Old 07-29-2016, 06:47 PM   #15
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by neroux View Post
Thanks a lot Mitt, I just tried dhcpcd. No change though.
I wonder how you tried it. dhcp doesn't work with NetworkManager activated. Also if you simply installed dhcpcd-gtk and then again went to the tray to choose the same connection method then there's no wonder it didn't work. So you have to remove it (NetworkManager and nm-applet) from startup and reboot. What distribution do you use (version, kernel)? It certainly would be nice to know your hardware specs, too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] iptables - SSH works fine after connecting but takes ages to connect veeruk101 Linux - Newbie 2 10-07-2011 11:01 AM
dhclient takes ages to connect to wpa-secured network, then "no dhcpoffers received" solitaira Linux - Wireless Networking 5 05-01-2010 05:49 AM
Takes ages to connect to smtp Swakoo Linux - General 3 08-23-2005 04:32 AM
X takes ages and ages to load! dcdbutler Slackware 9 03-23-2005 08:53 AM
'Whatever' login takes ages... Worstje Slackware 7 10-15-2004 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration