Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
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?
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!
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?
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.
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 --
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.