LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-15-2020, 08:24 PM   #1
starkid
Member
 
Registered: Jan 2012
Posts: 93

Rep: Reputation: Disabled
Ethernet/Wifi not connecting. Hyperbola on Lenovo laptop


There are few members on the Hyperbola Linux forums, so I'm posting here. Hyperbola is based on Arch and has security patches from Debian. I just installed Hyperbola on a Lenovo laptap five or six days ago.

I had to install a wifi driver (which I got here https://github.com/FreedomBen/rtl8188ce-linux-driver), but I was able to connect to both wifi and Ethernet. My wifi adaptor is a Realtek RTL8188CE. The Ethernet adaptor is a Lenovo RTL8111/8168/8411 PCI.

A few days ago, wifi stopped connecting, and ethernet stopped connecting today. I've tried connecting with both the GUI and cli versions of NetworkManager. Connections fail with the error "Could not activate connection: Activation failed." At first, Ethernet would not even try to connect and gave me the error "For Ethernet, NetworkManager shows "Could not activate connection: Connection 'Wired connection 1' is not available on the device enp3s0 at this time," but it suddenly starting trying to connect again a moment ago.

I've been following the Arch Networking article (https://wiki.archlinux.org/index.php/Networking) but I still don't know what is wrong.

The interfaces are up, both have kernel drivers and modules in use, power saving is not enabled. The wifi adapter is always in dormant mode after I start the laptop, but nothing changes when I put it in default mode. I tried connecting with dhclient instead of dhcpcd, but nothing happened. sudo dhcpcd inteface shows "sending commands to master dhcpcd process".
I tried changing the wifi channel to auto, nothing happened (actually the Ethernet stopped connecting after I did that). The regulatory domain is set to global.

dmesg shows a lot of entries that the wifi interface "link is not ready" then a few that say "link becomes ready". The are the same entries for the Ethernet interface, but much fewer. It also shows that my wifi connection is repeatedly authenticating and then being deauthenticated "by local choice (Reason: 3=DEAUTH_LEAVING)". According to this list: https://aboutcher.co.uk/2012/07/linux-w … son-codes/

reason 3 means that means the access point went offline, which is false because I'm connecting to the same wifi network on a different laptop. There is more information about this deauth reason given here https://wiki.archlinux.org/index.php...Observing_Logs, but the linked flowchart isn't loading for me, so I have not read that.

What else can I try?

Last edited by starkid; 08-16-2020 at 02:21 PM.
 
Old 08-16-2020, 12:22 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I have the same ethernet card, and it works. Period. You need the r8169 & libphy modules.

What is probably going on is that network manager in it's infinite wisdom is trying to connect eth0 to enp3s0, which sounds like a wifi device Is that what's going on? I would try 'route' in a terminal and see what's going on.
 
Old 08-16-2020, 01:03 PM   #3
starkid
Member
 
Registered: Jan 2012
Posts: 93

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
What is probably going on is that network manager in it's infinite wisdom is trying to connect eth0 to enp3s0, which sounds like a wifi device Is that what's going on? I would try 'route' in a terminal and see what's going on.
enp3s0 is the Ethernet interface. wlp2s0 is the wifi

I don't have route installed.

EDIT: oh the command is routel for me. I don't really know what I'm supposed to be looking for. There is a weird address ::1 in the "target default" column.

There is also in target default an entry ff00::/ 8 for both wlp2s0 and enp3s0, and another two entries with both fe80::/ 64 for both interfaces.

Last edited by starkid; 08-16-2020 at 01:17 PM.
 
Old 08-16-2020, 02:21 PM   #4
starkid
Member
 
Registered: Jan 2012
Posts: 93

Original Poster
Rep: Reputation: Disabled
Fixed it

Apparently I needed to disable the wpa_supplicant service because it was fighting with NetworkManager over control of the wifi interface. FYI I had to restart the computer after that.

Ethernet just suddenly worked again this morning, so I don't know what that problem was about.
 
Old 08-17-2020, 04:50 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Great you fixed it. Here's my output of route
Code:
bash-5.0$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         fritz.box       0.0.0.0         UG    303    0        0 wlan0
192.168.178.0   0.0.0.0         255.255.255.0   U     303    0        0 wlan0
fritz box is my modem/router, 192.168.178.0 is the house network. Those 2 lines should be swapped.I'd be surprised that you haven't got route; maybe Networkmanager does it.
 
Old 08-17-2020, 03:24 PM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,645

Rep: Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564
Quote:
Originally Posted by business_kid View Post
I'd be surprised that you haven't got route; maybe Networkmanager does it.
Quote:
Originally Posted by https://linux.die.net/man/8/route
This program is obsolete. For replacement check ip route.
...
 
  


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
Ubuntu 20LTS dual boot Laptop Dell Inspiron 5548 I can not turn on wifi and in wifi settings indicates no wifi device was found Shra94 Linux - Hardware 1 05-19-2020 04:22 PM
WiFi not working on a Lenovo G570 laptop with Linux Debian earthvexingtimelord Linux - Networking 6 07-06-2013 04:22 PM
Lenovo G470 aka LENOVO 20078 (laptop) ; Essential IdeaPad www.rzr.free.fr Linux - Laptop and Netbook 4 06-16-2013 07:52 AM
lenovo laptop ethernet card not connected Suse 10.2 deepankar Linux - Laptop and Netbook 7 03-03-2009 09:58 AM

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

All times are GMT -5. The time now is 07:45 PM.

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