The officially official Devuan Forum!

You are not logged in.

#1 2024-09-10 19:28:59

pearmypie
Member
Registered: 2024-09-10
Posts: 2  

[SOLVED] network manager doesn't see wi-fi connections on fresh install.

Hello!

I'm doing a fresh install of Devuan OpenRC (switching from Gentoo). I want a minimal Devuan server install & to use network-manager and nmtui to connect to Wi-Fi (at home and away). I selected my wlan0 interface as default in the installer, and that seems to have hardcoded my home wi-fi's SSID and passkey directly into /etc/network/interfaces.

I think the package that manages this is ifupdown, but I am not sure. In Gentoo I simply skipped dhcpcd and directly installed network-manager and everything worked out of the box.

Can someone please walk me through setting up Devuan OpenRC with network-manager?

Offline

#2 2024-09-10 21:17:56

pearmypie
Member
Registered: 2024-09-10
Posts: 2  

Re: [SOLVED] network manager doesn't see wi-fi connections on fresh install.

Instructions for anyone with the same problem:

sudo nano /etc/network/interfaces

Comment your wifi interface:

# The primary network interface
allow-hotplug wlp2s0
iface wlp2s0 inet dhcp
       wpa-ssid [your wifi-name]
       wpa-psk  [password]

To become this:

# The primary network interface
#allow-hotplug wlp2s0
#iface wlp2s0 inet dhcp
#       wpa-ssid [your wifi-name]
#       wpa-psk  [password]

Then, edit your NetworkManager.conf:

sudo nano /etc/NetworkManager/NetworkManager.conf

And change it like so (below [ifupdown] change managed to `true`)

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Now everything should work fine after a reboot (at least this was the exact fix I was looking for). Now the `nmtui` shows all the nearby Wi-Fi networks.

Last edited by pearmypie (2024-09-10 21:18:24)

Offline

Board footer