Public bug reported: I have a WSL2 on Windows 11 and it's Linux kernel:
6.6.87.1-microsoft-standard-WSL2 It installed Ubuntu : Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble Then recently net-tools was upgraded ii net-tools 2.10-0.1ubuntu4.1 amd64 NET-3 networking toolkit For now, all RX/TX packets are zeros by ifconfig eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.x.x.x netmask 255.255.240.0 broadcast 10.x.x.x ether x:x:x:x:x:x txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 loopback0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:15:5d:55:31:ab txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 However, although there are two different interfaces, but ip link can see the stats of RX/TX 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 RX: bytes packets errors dropped missed mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 3: loopback0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:15:5d:55:31:ab brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped missed mcast 12733175 173235 0 2 0 11 TX: bytes packets errors dropped carrier collsns 19174566 103780 0 0 0 0 7: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether x:x:x:x:x:x brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped missed mcast 9945564262 3718021 0 0 0 0 TX: bytes packets errors dropped carrier collsns 28241290 246937 0 0 0 0 Does that mean ifconfig is obsoleted and out-of-date? ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: net-tools 2.10-0.1ubuntu4.1 Uname: Linux 6.6.87.1-microsoft-standard-WSL2 x86_64 ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: server CloudSerial: 20230530 Date: Wed May 28 09:55:24 2025 ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color SourcePackage: net-tools UpgradeStatus: Upgraded to noble on 2024-10-17 (223 days ago) ** Affects: net-tools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug cloud-image noble -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to net-tools in Ubuntu. https://bugs.launchpad.net/bugs/2111870 Title: ifconfig can no logner collect stats for RX/TX packets by Linux kernel 6.6 or later Status in net-tools package in Ubuntu: New Bug description: I have a WSL2 on Windows 11 and it's Linux kernel: 6.6.87.1-microsoft-standard-WSL2 It installed Ubuntu : Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble Then recently net-tools was upgraded ii net-tools 2.10-0.1ubuntu4.1 amd64 NET-3 networking toolkit For now, all RX/TX packets are zeros by ifconfig eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.x.x.x netmask 255.255.240.0 broadcast 10.x.x.x ether x:x:x:x:x:x txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 loopback0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:15:5d:55:31:ab txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 However, although there are two different interfaces, but ip link can see the stats of RX/TX 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 RX: bytes packets errors dropped missed mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 3: loopback0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:15:5d:55:31:ab brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped missed mcast 12733175 173235 0 2 0 11 TX: bytes packets errors dropped carrier collsns 19174566 103780 0 0 0 0 7: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether x:x:x:x:x:x brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped missed mcast 9945564262 3718021 0 0 0 0 TX: bytes packets errors dropped carrier collsns 28241290 246937 0 0 0 0 Does that mean ifconfig is obsoleted and out-of-date? ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: net-tools 2.10-0.1ubuntu4.1 Uname: Linux 6.6.87.1-microsoft-standard-WSL2 x86_64 ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: server CloudSerial: 20230530 Date: Wed May 28 09:55:24 2025 ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color SourcePackage: net-tools UpgradeStatus: Upgraded to noble on 2024-10-17 (223 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/2111870/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp