Public bug reported:
For example on my system with a wifi device named wlp2s0, run the
following command which should just print out the three requested
fields:
$ nmcli -t -f SSID,CHAN,FREQ d wifi list ifname wlp2s0
wlp2s0
Canonical:1:2412 MHz
Canonical:6:2437 MHz
Canonical:11:2462 MHz
Canonical:40:5200 MHz
Canonical:36:5180 MHz
...
The first line of output is the interface name and should not be included.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: network-manager 1.4.4-1ubuntu3.2
ProcVersionSignature: Ubuntu 4.10.0-32.36-generic 4.10.17
Uname: Linux 4.10.0-32-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Fri Oct 13 10:17:13 2017
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2017-04-18 (177 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
IpRoute:
default via 10.20.64.1 dev enxa0cec802a800 proto static metric 100
10.20.64.0/21 dev enxa0cec802a800 proto kernel scope link src 10.20.66.44
metric 100
10.111.44.0/24 dev lxdbr0 proto kernel scope link src 10.111.44.1
169.254.0.0/16 dev enxa0cec802a800 scope link metric 1000
NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
CONNECTION CON-UUID CON-PATH
lxdbr0 bridge connected
/org/freedesktop/NetworkManager/Devices/3 lxdbr0
6e757793-2287-4147-8426-7585435bbe4e
/org/freedesktop/NetworkManager/ActiveConnection/1
enxa0cec802a800 ethernet connected
/org/freedesktop/NetworkManager/Devices/5 Wired connection 1
d7f88012-4a23-3692-bbf2-64f2c5854f29
/org/freedesktop/NetworkManager/ActiveConnection/9
wlp2s0 wifi disconnected
/org/freedesktop/NetworkManager/Devices/1 -- --
--
lo loopback unmanaged
/org/freedesktop/NetworkManager/Devices/0 -- --
--
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI
WWAN-HW WWAN
running 1.4.4 connected started full enabled enabled
enabled enabled enabled
** Affects: network-manager (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1723372
Title:
nmcli pollutes terse output with unrequested information
Status in network-manager package in Ubuntu:
New
Bug description:
For example on my system with a wifi device named wlp2s0, run the
following command which should just print out the three requested
fields:
$ nmcli -t -f SSID,CHAN,FREQ d wifi list ifname wlp2s0
wlp2s0
Canonical:1:2412 MHz
Canonical:6:2437 MHz
Canonical:11:2462 MHz
Canonical:40:5200 MHz
Canonical:36:5180 MHz
...
The first line of output is the interface name and should not be included.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: network-manager 1.4.4-1ubuntu3.2
ProcVersionSignature: Ubuntu 4.10.0-32.36-generic 4.10.17
Uname: Linux 4.10.0-32-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Fri Oct 13 10:17:13 2017
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2017-04-18 (177 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
IpRoute:
default via 10.20.64.1 dev enxa0cec802a800 proto static metric 100
10.20.64.0/21 dev enxa0cec802a800 proto kernel scope link src 10.20.66.44
metric 100
10.111.44.0/24 dev lxdbr0 proto kernel scope link src 10.111.44.1
169.254.0.0/16 dev enxa0cec802a800 scope link metric 1000
NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
CONNECTION CON-UUID CON-PATH
lxdbr0 bridge connected
/org/freedesktop/NetworkManager/Devices/3 lxdbr0
6e757793-2287-4147-8426-7585435bbe4e
/org/freedesktop/NetworkManager/ActiveConnection/1
enxa0cec802a800 ethernet connected
/org/freedesktop/NetworkManager/Devices/5 Wired connection 1
d7f88012-4a23-3692-bbf2-64f2c5854f29
/org/freedesktop/NetworkManager/ActiveConnection/9
wlp2s0 wifi disconnected
/org/freedesktop/NetworkManager/Devices/1 -- --
--
lo loopback unmanaged
/org/freedesktop/NetworkManager/Devices/0 -- --
--
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW
WIFI WWAN-HW WWAN
running 1.4.4 connected started full enabled enabled
enabled enabled enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1723372/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp