LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2017, 10:10 AM   #31
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by justmy2cents View Post
Did you try ps -aux|grep wpa_supplicant or ps -ef|grep wpa_supplicant to see if the wpa_supplicant process is already running and if so killing it via kill pid#? That was exactly the problem I had where it would continuously try to connect, but as soon as I did that it worked for me.. Besides that you may need to specify a different driver.. See man wpa_supplicant for available drivers...
justmy2cents,

Killing this makes no difference!

TBNK
 
Old 08-29-2017, 02:34 PM   #32
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Solus / Slackware 14.2
Posts: 4,820

Rep: Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909
Quote:
Originally Posted by TBotNik View Post
All,

What do you think? As part of following suggestions to fix this I have installed:
  1. Network Manager
  2. Wicd
  3. wpa supplicant
thinking some of these may conflict, but do not know how to tell.

Also I went back to /etc/network/interfaces and entered seperate lines for:
Code:
auto wlan0
iface wlan0 inet dhcp


To autostart the wifi. Had disabled this earlier and the searching for wifi networks causes boot-up to stall for over 10 minutes. Goes immediately without.

Help please!

TBNK
as far as I know it is one or the other.

I had a linux os using Network manager (applet) and wicd
I have a linux os using Network manager and Oh Hell I do not even know, haha. but it works. you cannot mix them though is all.
Wicd
and
wpa supplicant
 
Old 08-30-2017, 02:53 PM   #33
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
BW-userx,

No I have all 3 installed now!

Cheers!

TBNK
 
Old 08-30-2017, 04:28 PM   #34
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Solus / Slackware 14.2
Posts: 4,820

Rep: Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909
Quote:
Originally Posted by TBotNik View Post
BW-userx,

No I have all 3 installed now!

Cheers!

TBNK
oh well in that case, Good Job then
 
Old 09-02-2017, 01:26 PM   #35
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
Disable

All,

Since I'm clueless on wifi networking would like to disable wpa_supplicant and Network Manager to see if I can resolve this with wicd.

I use to have a system that used a wifi link via high gain antenna, on wlan0, and then was PDC so served as DHCP server on eth0 and could only resolve all the issues with wicd so think it should be my choice here as well.

Do you guys agree?

If so want to disable the other 2 without removal, till I get this right then and only then remove them.

Cheers!

TBNK

Last edited by TBotNik; 09-02-2017 at 01:31 PM.
 
Old 09-02-2017, 01:56 PM   #36
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
I can find and kill wpa_supp with:

Code:
ps -A | grep wpa_supp
But cannot find network manager as it runs under a different name!

Cheers!

TBNK
 
Old 09-02-2017, 05:13 PM   #37
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
That wouldnt help cause like I said such programs use wpa_supplicant as the back-end their front-end.. The wicd-daemon depends on wpa_supplicant, you can verify that's the case if you type apt-cache showpkg wicd-daemon.. I would keep trying wpa_supplicant with the
-dd option which increase debugging verbosity and provide a little more insight into what the output is refering to as it's trying to connect.. Also I would check dmesg and grep for your wireless card driver and interface... Get your wireless card driver info by issuing lspci | egrep -i --color 'wifi|wlan|wireless' and then lspci -vv -s 06:00.0 (get your '06:00.0' from the previous command)..

Last edited by justmy2cents; 09-02-2017 at 05:52 PM.
 
Old 09-05-2017, 07:30 PM   #38
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by justmy2cents View Post
That wouldnt help cause like I said such programs use wpa_supplicant as the back-end their front-end.. The wicd-daemon depends on wpa_supplicant, you can verify that's the case if you type apt-cache showpkg wicd-daemon.. I would keep trying wpa_supplicant with the
-dd option which increase debugging verbosity and provide a little more insight into what the output is refering to as it's trying to connect.. Also I would check dmesg and grep for your wireless card driver and interface... Get your wireless card driver info by issuing lspci | egrep -i --color 'wifi|wlan|wireless' and then lspci -vv -s 06:00.0 (get your '06:00.0' from the previous command)..
justmy2cents,

None of your ideas, though good, address the problem. Already know wifi is connecting, so no problem with the RF side of the connection. The problem is somehow dhclient is misconfigured or just not working, thus no IP assigned and therefore no communications. Even direct ping to google's known/shown IP doesn't work, because if not IP is set on wlan0 it will not communicate, even with the RF section of wifi connected.

I tried purging dhclient, to re-install but dependencies with WireShark and 2 other apps would not let purge go through. Documenting those as may need to purge them as well to clear this issue.

Cheers

TBNK

Last edited by TBotNik; 09-05-2017 at 07:32 PM.
 
Old 09-10-2017, 09:44 AM   #39
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
Guys,

I don't know which command to execute to show the connection is up and workin but dhclient not working other than what I see. I get the lower right popups that show:
  1. Connection found,
  2. Establishing connection
  3. Connection established.
the the connection button in wicd turns green
but can never ping. Don't get any errors from dhclient
but:
Code:
ping -c 3 www.google.com
and
ping -c 3 172.217.12.60
or
ping -c 3 8.8.8.8
all yield
Code:
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
So you can see I have connection but no IP so cannot actually connect without the IP assigned!

I also ran:
Code:
Ifconfig wlan0
which shows IP as 192.168.43.147, which is a local network IP and it shoul be showing a non local IP. Assume something there is the problem.
 
Old 10-30-2017, 11:16 AM   #40
TBotNik
Member
 
Registered: May 2016
Posts: 179

Original Poster
Rep: Reputation: Disabled
Connection Verified

All,

OK here is how I know the connection is working and we are at the DNS level:

Not Connected:
Code:
   cmd: ping -c 3 www.google.com
Result: unknown host www.google.com
Connected:
Code:
   cmd: ping -c 3 www.google.com
Result: --- www.google.com ping statistics ---
        3 packets transmitted, 0 received, 100% packet loss, time 2015ms
What else I know, that may now be pointing to my phone as the problem area:
Code:
I just got inet connect to my house after 6 months no service.
I can run wired.
I can connect and ping through my Netis wireless router, so DNS seems to be working OK.
Conclusion:
I'll mark this closed as I now can connect and ping via the Netis router, and will open a thread on this at the Android forum, as this appears now to just be an issue with the WIFI hotspot on my phone.

Cheers!

TBNK

Last edited by TBotNik; 10-30-2017 at 11:18 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi Disabled After Suspend State Jacob16682 Linux - Newbie 19 08-20-2016 09:28 AM
Wifi disabled on the Lenovo Yoga 2 13" akamikeym Linux - Hardware 5 08-29-2014 12:52 AM
I received an unusual SMS from Metropcs phil555 General 1 01-01-2012 05:55 PM
wifi connection disabled, how to get it on again? stuartjohn Linux - Newbie 23 08-31-2011 04:42 PM
Wifi gets disabled according to X suspend (possible ACPI prob?) Su-Shee Linux - Laptop and Netbook 1 05-14-2008 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration