LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-17-2023, 12:57 PM   #1
Mantra
Member
 
Registered: Jun 2018
Posts: 57

Rep: Reputation: Disabled
Network manager problem?


Hi,

I have a wifi extender, which I've configured, and I'm connecting to it by an ethernet cable.

Network manager wouldn't connect to it at all, it wasn't even trying to connect. I've managed to get the network working, by doing "sudo dhclient eno1" in a terminal - and it works. But network manager thinks I'm connected to a wifi network, with an essid when I hover over it for a tooltip - or not connected to any network at all, if I try to bring up the "connection information".

It would be nice to have network manger reflect the correct network information, although I'm a bit reluctant to change anything, because the network is actually working ok.

(It definitely isn't connecting by wifi - I've unplugged the wireless adaptor! ifconfig and iwconfig seem to show the correct information)

Has anyone seen this before?
 
Old 08-17-2023, 03:04 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,162

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
Connections should have a priority (In KDE Settings -> Connections, this is under General Configuration). For me, I have Wi-fi preferred with priority 0 and wired connection at -100 because it is local to my desk. If you want to prefer ethernet I think you can set priorities accordingly.
 
Old 08-17-2023, 03:38 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
What distribution? Are you still running Ubuntu. I have used wireless extenders in the same manner and I haven't had any problems. Is Network Manager configured to manage your ethernet port? Is it configured for DHCP that allows any user to connect?
 
Old 08-17-2023, 03:54 PM   #4
Mantra
Member
 
Registered: Jun 2018
Posts: 57

Original Poster
Rep: Reputation: Disabled
Sorry, should have said - Ubuntu Jammy, XFCE with nm-applet on the panel.

Network manager seems to be configured correctly. But the panel applet thinks I'm on a wireless connection. Nmcli thinks I'm offline. Meanwhile, I'm actually online on a wired connection which is working fine!
 
Old 08-17-2023, 03:56 PM   #5
Mantra
Member
 
Registered: Jun 2018
Posts: 57

Original Poster
Rep: Reputation: Disabled
Quote:
$> nmcli general
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
disconnected unknown enabled disabled enabled enabled
Puzzling!
 
Old 08-17-2023, 04:05 PM   #6
Mantra
Member
 
Registered: Jun 2018
Posts: 57

Original Poster
Rep: Reputation: Disabled
Ok I think it's just the panel applet that is showing the wrong info - for some reason it's showing the last network connection managed by network manager, instead of the current network manager information. Network manager has no record of the connection, I guess because dhclient is a lower-level tool and has created a connection that network manager can't see?
 
Old 08-17-2023, 04:06 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
What about the output of
nmcli device

That could be. What happens if you reboot?
 
Old 08-17-2023, 04:07 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,669

Rep: Reputation: Disabled
If you have something else besides NM managing your network connections there will be conflict, make sure your network devices are all down for NM to function.
 
Old 08-17-2023, 04:11 PM   #9
Mantra
Member
 
Registered: Jun 2018
Posts: 57

Original Poster
Rep: Reputation: Disabled
Yes, nmcli device confirms it - NM isn't managing the interface. This box doesn't get rebooted often, but when it does I'll see what happens.

Quote:
$> nmcli -p device
=====================
Status of devices
=====================
DEVICE TYPE STATE CONNECTION
--------------------------------------------------------------
eno1 ethernet unmanaged --
lo loopback unmanaged --
 
  


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
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Debian 5 05-29-2009 02:02 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM
For laptop - different networks in /etc/network/interfaces, or use network-manager? dmravaet Linux - Wireless Networking 4 03-17-2007 11:42 PM
network-manager in FC6 tries to connect to non-existent network notiones Fedora 3 12-22-2006 09:31 PM

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

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