Skip to content

Instantly share code, notes, and snippets.

@dingfanATyykj
Last active April 9, 2021 03:39
Show Gist options
  • Save dingfanATyykj/0c1f766ac0841dd17d14d2072b8e4815 to your computer and use it in GitHub Desktop.
Save dingfanATyykj/0c1f766ac0841dd17d14d2072b8e4815 to your computer and use it in GitHub Desktop.
ubuntu 20 wired unmanaged

ubuntu 20 wired unmanaged

try

step 1
sudo code /etc/NetworkManager/NetworkManager.conf 
step 2
# NetworkManager.conf 
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:wwan,except:type:ethernet,except:type:vlan

[device]
wifi.scan-rand-mac-address=no
step 3
sudo systemctl restart network-manager

https://superuser.com/a/1632034

if not working, try

https://askubuntu.com/a/1265396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment