pyavitz / rpi-img-builder

Image Builder for the Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu image and Network Manager

rcla opened this issue · comments

commented

Testing the image 'rpi-4-b-ubuntu-20.04-2020-06-11-v8.7z',
I installed 'ubuntu-desktop', and have the 'Network manager' handle wireless networks,
modifying the following files:

/etc/network/interfaces:

### Interfaces
source /etc/network/interfaces.d/*

/etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

#network={
#	ssid="mywifissid"
#	scan_ssid=1
#	key_mgmt=WPA-PSK
#	psk="wifipasskey"
#}

However, after those changes, the wired network does not work.

I haven't loaded up the img, but I'm assuming you probably need to disable networking - sudo systemctl disable networking

commented

I haven't loaded up the img, but I'm assuming you probably need to disable networking - sudo systemctl disable networking

I tried, but it still doesn't work.

With ifconfig, eth0 does not appear.

I fixed the problem by removing the following:
sudo rm -f /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf

Followed by a reboot.

I placed a new image in Release that comes with Network Manager pre-installed and with the above file removed.

commented

I removed the file you suggest and now it works!

Thank you so much.