LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2019, 01:56 PM   #1
Slackwarefanboy
Member
 
Registered: Apr 2019
Location: Garden State
Distribution: Slackware
Posts: 110

Rep: Reputation: Disabled
NetworkManager not working and wifi going rouge.


Until recently I was able to use my network card as prescribed but recently network manager has all but gone haywire on me. I have 3 connections opitions for my network now: "4BB800, 4BB800 again and 4BB8000 1", I KNOW the cards works because it connects at first now to the last one but disconnects for some reason seconds after connecting. WHAT IS GOING ON? I can provide some relevant information. I am running Slackware 14.2, I have a wireless external adapter, the TP link TL-WN722N. I know the firmware is working and the driver MUST BE INSTALLED Given the fact that I can ping google but as usual seconds after I do it, the connection is lost. I Know this must have something to do with the NetworkManager's handling of things but I am still kind of new to linux. When I run:

iwconfig:
Code:
bash-4.3# iwconfig
lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:"4BB800"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:83:C7:4B:B8:08   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.
ifconfig:
Code:
bash-4.3# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 40:8d:5c:cb:31:b4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 6479  bytes 462903 (452.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6479  bytes 462903 (452.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 50:3e:aa:bb:6f:10  txqueuelen 1000  (Ethernet)
        RX packets 630  bytes 10552805 (10.0 MiB)
        RX errors 0  dropped 837  overruns 0  frame 0
        TX packets 547  bytes 1187314 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
IDK what other codes I could run to try and fix this. I am only sending this to you via the short time frame I have AFTER reconnecting to the third iteration made of my network by networkmanager.
I recently disconnected my whole pc and had to bring it to the living room to do some things with a direct Ethernet connection, brought it back to my room and reconnected it.
 
Old 05-03-2019, 02:41 PM   #2
Slackwarefanboy
Member
 
Registered: Apr 2019
Location: Garden State
Distribution: Slackware
Posts: 110

Original Poster
Rep: Reputation: Disabled
Literally it will connect and then seconds later MAKE SURE to disconnect.
 
Old 05-03-2019, 03:47 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,808

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Watch the NetworkManager logging in a separate terminal window during the connection process and up until the wifi link fails. That might help with pinpointing the underlying issue. Assuming logging is to /var/log/messages, do

Code:
tail -f /var/log/messages |grep -i networkmanager
Report back with the output.
 
Old 05-03-2019, 04:15 PM   #4
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Slackwarefanboy View Post
it connects at first now to the last one but disconnects for some reason seconds after connecting.
I've bumped into this with some routers. From my notes:

Network Manager connect/disconnect infinite loop
EDIT /etc/NetworkManager/conf.d/00-dhcp-client.conf
change from dhcpcd to dhclient

See if this helps your issue.
 
1 members found this post helpful.
Old 05-03-2019, 04:17 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
It's doing the same connect/disconnect in my installs too so I have to use wicd.
 
Old 05-03-2019, 04:37 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I suggest the same as phalange. Some routers just don't like dhcpcd (and others don't like dhclient). The file they mention is well documented. You just comment out the dhcpcd line and uncomment the dhclient line and then possibly restart Network Manager (it might work without restarting it -- just try connecting to another network).
 
Old 05-04-2019, 06:05 AM   #7
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
I've resorted to wpa_supplicant (has a nice gui too, aptly named wpa_gui i autostart thru gksu)

I switch to network manager for wwan (gsm/gprs) and some one-off wlan and back to wpa_supplicant for usual wifi on home router or tether from phone

HTH
 
Old 05-05-2019, 05:33 PM   #8
Slackwarefanboy
Member
 
Registered: Apr 2019
Location: Garden State
Distribution: Slackware
Posts: 110

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phalange View Post
I've bumped into this with some routers. From my notes:

Network Manager connect/disconnect infinite loop
EDIT /etc/NetworkManager/conf.d/00-dhcp-client.conf
change from dhcpcd to dhclient

See if this helps your issue.
Interesting, it sucks because I get wifi for free because my housemate pays for it and doesn't know the immense value it has to me with out charging, plus the stupid cable companies force you to use certain modems and routers, thank you for the information.
 
Old 05-05-2019, 07:01 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Slackwarefanboy View Post
Interesting, it sucks because I get wifi for free because my housemate pays for it and doesn't know the immense value it has to me with out charging, plus the stupid cable companies force you to use certain modems and routers, thank you for the information.
Your housemate must be a saint.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM
[SOLVED] I can't manage NetworkManager via /etc/rc.d/rc.networkmanager script igadoter Slackware 20 03-22-2018 03:17 PM
Rouge source using my ssh thetawaverider Linux - Security 5 07-26-2007 12:11 AM
New Solaris user from Baton Rouge, LA. midlifecrisis LinuxQuestions.org Member Intro 3 01-16-2006 05:13 PM
Rouge like Game ToBe Linux - Software 2 09-04-2003 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:29 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