I recently upgraded to ubuntu 18.04 but I'm facing issues with the wired connection. First off, I must say that the wifi connection is working fine.
When I start my computed I don't even get the wired network icon. Going into the settings/Network parameters, I don't see anything about wired connection (only VPN and proxy).
Thus I tried to understand what was happening and I used a couple of different commands:
~$ lshw -C network
WARNING: you should run this program as super-user.
*-network
description: Wireless interface
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 78
serial: 00:28:f8:f8:80:b8
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-
22-generic firmware=34.0.1 ip=10.4.26.243 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:144 memory:dc100000-dc101fff
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: enx3c18a070d46d
serial: 3c:18:a0:70:d4:6d
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=full link=no multicast=yes port=MII speed=1Gbit/s
Then I decided to enable the ethernet interface as follows
sudo ip link set enx3c18a070d46d up
The result of the "lshw" command does not show DISABLED anymore. The wired connection icon came back but still no internet connection and now showed the following message
Wired unmanaged
I would be very interested if any of you have an idea about how to solve this problem.
Thank you and have a good day.
Finally, here are the results of a couple of commands (note that ifconfig is obsolete on ubuntu 18.04)
~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 00:28:f8:f8:80:b8 brd ff:ff:ff:ff:ff:ff
3: enx3c18a070d46d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 3c:18:a0:70:d4:6d brd ff:ff:ff:ff:ff:ff
~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP group default qlen 1000
link/ether 00:28:f8:f8:80:b8 brd ff:ff:ff:ff:ff:ff
inet 10.4.26.243/23 brd 10.4.27.255 scope global dynamic noprefixroute wlp1s0
valid_lft 42269sec preferred_lft 42269sec
inet6 fe80::11e5:2546:9014:171b/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: enx3c18a070d46d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
fq_codel state UP group default qlen 1000
link/ether 3c:18:a0:70:d4:6d brd ff:ff:ff:ff:ff:ff
inet6 fe80::3e18:a0ff:fe70:d46d/64 scope link
valid_lft forever preferred_lft forever
I had exactly the same problem, but then tracked down the following solution (via this article).
Add a missing config file with
Edit
/etc/NetworkManager/NetworkManager.conf
(needs to be done withsudo
) changing the linemanaged=false
to readmanaged=true
Restart network manager with
I faced
wired unmanaged
problem when installingubuntu-desktop
in a Ubuntu 18.04 server installation.The solution that worked for me is to tell netplan to switch to
NetworkManager
renderer.Edit
/etc/netplan/50-cloud-init.yaml
(or otheryaml
file you find in/etc/netplan/
)And then run
sudo netplan apply
This solution(from this article) works for me:
sudo vi /etc/netplan/xxx.yaml
addrenderer: NetworkManager
underversion: 2
.Then,
sudo service network-manager restart
Now you can find the adapter in setting>networks.
I had that problem too and after several days I could resolve it, here is how:
Before I found above regarding edit: "/etc/NetworkManager/NetworkManager.conf" I found that under Bluetooth settings my stationary computer was in Airplane mode. Don't let me comment on how much sense that makes. As that didn't solve the problem I found above suggestion but that still didn't do it.
Fortunately, I have two different routers, one connects via DHCP, the other manual. Accidentally I switched to the manual connected router and the icon changed but still no Internet. I then checked the DNS entries for that connection and found them empty although set to auto. Filling in some DNS resolver got me to the Internet.
That "solution" inspired me to switch the DHCP connection to the other router from auto to manual and to fill in the DNS again. Voila, that did it.
In summary, there seems to be a problem to accept connection data deployed via DHCP.
Background Information
I run 18.04 and 14.04 on the very same computer. As in 14.04, there was absolutely no problem with my connections I was adamant to search elsewhere.
Maybe the solution is here: Unmanaged devices Ubuntu 18.04 with installed openbox
My issue was similar. I updated to 20.04 server, added Kubuntu Plasma and no network or sound, Still haven't solved the sound problem but within Plasma the Networks icon in the taskbar indicated "Disconnected". "Connections", was empty and so the computer would not connect for updates in spite of the computer being able to access the internet just fine. I added a connection by clicking "Add New Connection" and then I configured it. However, beneath the new listing for the new connection I'd created it said "never used" even after a reboot. I searched here and found part of my solution posted by Afriza N. Arief. In my case "renderer" in netplan.yaml was set to "networkd". In "NetworkManager.conf" "managed" was set to "true". SO my solution was to change "renderer" from "networkd" to "NetworkManager" and that solved the problem of Plasma not recognizing the network adapter/connection which then allowed me to receive updates via the Software Updater.
Well, you will need to edit some files and you will be ready to go.
sudo nano /etc/NetworkManager/NetworkManager.conf
managed=false
tomanaged=true
sudo nano /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf
except:type:ethernet
to this line:unmanaged-devices=*,except:type:wifi,except:type:wwan
sudo service network-manager restart
You can enjoy the wired connection now :)