Re: NetworkManager "nmcli device" saying eth0 and wlan0 are "unavailable"

"Bruce Dubbs" ([email protected] via blfs-support Mailing List) <[email protected]> Mon, 27 Apr 2026 00:10:50 -0500
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1777266661-1253-26565
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 4/26/26 7:11 AM, Subhrajit Sain ([email protected] via blfs-support Mailing List) 
wrote:
> Hello BLFS Support Team,
> I have been working on this BLFS system called MrrpOS (Book 12.3, SysV). This is my 
> second problem sent via email. Recently I have switched from manual wpa_supplicant 
> and dhcpcd init scripts to NetworkManager (1.50.0), but I am facing some trouble in 
> doing so. The loopback interface lo works (set up externally by an init script) but 
> eth0 and wlan0 are shown as unavailable.
> 
> My device does not have Ethernet plugged in, that maybe the cause for eth0 being 
> unavailable. But, wlan0 is stated as unavailable as well.
> 
> root@mrrpos:[ / ]# ls -n /etc/rc.d/rcS.d
> total 0
> lrwxrwxrwx 1 0 0 21 Jun 10  2025 S00mountvirtfs -> ../init.d/mountvirtfs
> lrwxrwxrwx 1 0 0 14 Jun 10  2025 S05udev -> ../init.d/udev
> lrwxrwxrwx 1 0 0 17 Jun 10  2025 S10modules -> ../init.d/modules
> lrwxrwxrwx 1 0 0 14 Jun 10  2025 S20swap -> ../init.d/swap
> lrwxrwxrwx 1 0 0 17 Jun 10  2025 S30checkfs -> ../init.d/checkfs
> lrwxrwxrwx 1 0 0 17 Jun 10  2025 S40mountfs -> ../init.d/mountfs
> lrwxrwxrwx 1 0 0 17 Jun 10  2025 S45cleanfs -> ../init.d/cleanfs
> lrwxrwxrwx 1 0 0 20 Jun 10  2025 S50udev_retry -> ../init.d/udev_retry
> lrwxrwxrwx 1 0 0 16 Jun 10  2025 S60sysctl -> ../init.d/sysctl
> lrwxrwxrwx 1 0 0 17 Jun 10  2025 S70console -> ../init.d/console
> lrwxrwxrwx 1 0 0 18 Jun 10  2025 S75localnet -> ../init.d/localnet
> lrwxrwxrwx 1 0 0 21 Apr 26  2026 S80dbus -> /etc/rc.d/init.d/dbus
> lrwxrwxrwx 1 0 0 31 Apr 26  2026 S85networkmanager -> /etc/rc.d/init.d/networkmanager

If you are following LFS, the dbus and network manager boot scripts should not be in 
/etc/rc.d/rcS.d.  They should be in /etc/rc.d/rc3.d  and /etc/rc.d/rc5.d

You do not show what is in rc3.d or rc5.d, but normally they will have
S20network and S29dbus.

That network line will interfere with networkmanager.  What we say in the 
networkmanager page in the book is:

"If using Network Manager to manage an interface, any previous configuration for that 
interface should be removed, and the interface brought down prior to starting Network 
Manager.

The easiest way to do this is to remove S20network from /etc/rc.d/rc3.d/ and 
/etc/rc.d/rc5.d/."

I don't know if you did that or not.

If that is done, the first thing to do troubleshooting is
$ ls /sys/class/net
eth0  lo  wlp6s0

That will identify the interfaces the kernel recognizes.

The second thing is to post what you have for
/usr/share/polkit-1/rules.d/org.freedesktop.NetworkManager.rules and
all the files in /etc/NetworkManager/conf.d.

Also please try to post to the lists without html.  Your messages come across with 
very tiny fonts. It's also much easier for us to help if text is copied into the
email instead of pictures.

   -- Bruce


------------=_1777266661-1253-26565
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1777266661-1253-26565--