netdiscover crashes if there is no eth0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netdiscover (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
My Hewlett-Packard HP Pro 3130 Microtower PC/2A9C has the first an only ethernet recognized as p128p1 instead of the more usual eth0. From the system logs:
[ 12.765571] r8169 0000:01:00.0 p128p1: link down
[ 12.765585] r8169 0000:01:00.0 p128p1: link down
[ 12.765627] IPv6: ADDRCONF(
...
[ 14.310533] r8169 0000:01:00.0 p128p1: link up
[ 14.310548] IPv6: ADDRCONF(
By running a simple command I get a crash:
$ sudo netdiscover
libnet_init() falied: libnet_
But if I run the very same command on the very same version of Ubuntu and on a system with eth0 as the first ethernet interface, everything works fine.
As a workaround I need to run
$ sudo netdiscover -i p128p1
in order to have the software behave properly.
Netdiscover should use the first non-loopback network interface instead of just "eth0".
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: netdiscover 0.3beta6+
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: KDE
Date: Fri May 30 15:25:34 2014
InstallationDate: Installed on 2014-04-23 (37 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: netdiscover
UpgradeStatus: No upgrade log present (probably fresh install)
This is a old bug related to libnet. Considering that the problem was fixed, I am closing this bug. Feel free to reopen.