Biosdevname is enabled by default for ubuntu14.04.4,
We see that the ConnectX3 interface name is pXpX and ConnectX4 interfaces is ethX
when biosdevname is enabled we should see all the interfaces like pxpX
As for biosdevname user manual :
when we ran #biosdevname -i <interface name> , it should return the interface biosdevname
the command exit code should return 0 for success
see it in the link :http://linux.die.net/man/1/biosdevname.
When we run biosdevname on ConnectX4 interface we get return status 2.
could you please add support for ConnectX4 devices ?
Exit Codes
Returns 0 on success, with BIOS-suggested name printed to stdout.
Returns 1 on provided device name lookup failure.
Returns 2 if system BIOS does not provide naming information. biosdevname requires system BIOS to provide naming information, either via SMBIOS or sysfs files.
Returns 3 if not run as root but requires root privileges.
Returns 4 if running in a virtual machine.
# dpkg --list |grep biosdevname
ii biosdevname 0.4.1-0ubuntu6.3 amd64 apply BIOS-given names to network devices
# uname -r
4.2.0-24-generic
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Hi,
Biosdevname is enabled by default for ubuntu14.04.4,
We see that the ConnectX3 interface name is pXpX and ConnectX4 interfaces is ethX
when biosdevname is enabled we should see all the interfaces like pxpX
As for biosdevname user manual : linux.die. net/man/ 1/biosdevname.
when we ran #biosdevname -i <interface name> , it should return the interface biosdevname
the command exit code should return 0 for success
see it in the link :http://
When we run biosdevname on ConnectX4 interface we get return status 2.
could you please add support for ConnectX4 devices ?
Exit Codes
Returns 0 on success, with BIOS-suggested name printed to stdout.
Returns 1 on provided device name lookup failure.
Returns 2 if system BIOS does not provide naming information. biosdevname requires system BIOS to provide naming information, either via SMBIOS or sysfs files.
Returns 3 if not run as root but requires root privileges.
Returns 4 if running in a virtual machine.
# dpkg --list |grep biosdevname
ii biosdevname 0.4.1-0ubuntu6.3 amd64 apply BIOS-given names to network devices
# uname -r
4.2.0-24-generic
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty