[Pkg-utopia-maintainers] Bug#845300: /usr/bin/nm-online: nm-online gives wrong status
Ritesh Raj Sarraf
rrs at debian.org
Tue Nov 22 08:58:06 UTC 2016
Package: network-manager
Version: 1.4.2-2
Severity: normal
File: /usr/bin/nm-online
The nm-online utility claims to provide an interface to query online/offline
status for network-manager. But this does not seem to work at all.
Below is the log of my machine, while in Airplace mode. As you can see,
wlan0 is unavailable. But nm-online reports NM as online.
rrs at learner:~$ nmcli
sysbr0: connected to sysbr0
bridge, C6:2B:EF:BA:F2:AA, sw, mtu 1500
inet4 172.16.20.1/16
inet6 fe80::c42b:efff:feba:f2aa/64
tap0: connected to tap0
tun, CA:0E:88:74:5A:17, sw, mtu 1500
master sysbr
wlan0: unavailable
"Realtek RTL8723BE PCIe Wireless Network Adapter"
wifi (rtl8723be), 06:57:4B:BF:45:06, hw, mtu 1500
lo: unmanaged
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
2016-11-22 / 14:23:35 ♒♒♒ ☺
rrs at learner:~$ echo $?
0
2016-11-22 / 14:24:05 ♒♒♒ ☺
-- System Information:
Debian Release: stretch/sid
APT prefers testing-debug
APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.9brk0+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages network-manager depends on:
ii adduser 3.115
ii dbus 1.10.12-1
ii init-system-helpers 1.46
ii libaudit1 1:2.6.7-1
ii libbluetooth3 5.43-1
ii libc6 2.24-5
ii libglib2.0-0 2.50.2-1
ii libgnutls30 3.5.6-4
ii libgudev-1.0-0 230-3
ii libmm-glib0 1.6.2-1
ii libndp0 1.6-1
ii libnewt0.52 0.52.19-1
ii libnl-3-200 3.2.27-1
ii libnm0 1.4.2-2
ii libpam-systemd 232-3
ii libpolkit-agent-1-0 0.105-17
ii libpolkit-gobject-1-0 0.105-17
ii libreadline7 7.0-1
ii libselinux1 2.6-3
ii libsoup2.4-1 2.56.0-1
ii libsystemd0 232-3
ii libteamdctl0 1.26-1
ii libuuid1 2.29-1
ii lsb-base 9.20161101
ii policykit-1 0.105-17
ii udev 232-3
ii wpasupplicant 2.5-2+v2.4-3+b1
Versions of packages network-manager recommends:
ii crda 3.13-1+b1
ii dnsmasq-base 2.76-4
ii iptables 1.6.0-4
ii iputils-arping 3:20161105-1
ii isc-dhcp-client 4.3.5~b1-1
ii modemmanager 1.6.2-1
ii ppp 2.4.7-1+4
Versions of packages network-manager suggests:
pn libteam-utils <none>
-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list