unable to created bridge -- eth0 not found

unable to created bridge – eth0 not found

Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 539.
Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 545.
Use of uninitialized value in string eq at /usr/share/webmin/bind8/bind8-lib.pl line 535.
Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 539.
Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 545.
Use of uninitialized value in string eq at /usr/share/webmin/bind8/bind8-lib.pl line 535.
Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 539.
Use of uninitialized value in numeric eq (==) at /usr/share/webmin/bind8/bind8-lib.pl line 545.
Restarting BIND …
… done

… done

Creating network bridge …
No ethernet interface named eth0 was found
… bridge creation failed

Opening port 10000 on host firewall …
IPtables is not available
… failed

Cloudmin GPL has been successfully installed.

You can login to Cloudmin at :
https://sd-123xxx:10000/
root@sd-123xxx:~# ifconfig
eno1 Link encap:Ethernet HWaddr xx:yy:7a:e4:6f:d6
inet addr:163.172.xx.yyy Bcast:163.172.73.255 Mask:255.255.255.0
inet6 addr: fe80::ec4:7aff:fee4:6fd6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76007 errors:0 dropped:0 overruns:0 frame:0
TX packets:11548 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:107968256 (107.9 MB) TX bytes:1088134 (1.0 MB)
Memory:fb120000-fb13ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:75 errors:0 dropped:0 overruns:0 frame:0
TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:8516 (8.5 KB) TX bytes:8516 (8.5 KB)

root@sd-xxxx74:~#

As can be seen, my server runs with the ethernet card called eno1
OS: Ubuntu 16.04

Seems similar issue was there before – https://sourceforge.net/p/webadmin/bugs/3955/

perhaps additional NIC check’s should be added, as most realtek card for instance have RExxxx as NIC reference, and intel has enoXXXX

You can manually run the bridge creation tool providing your correct interface name:

cd /usr/share/webmin/net/

This would be in /usr/libexec/webmin/net on CentOS systems.

Make sure the create-net-bridge.pl program is available in that directory…if it’s not, copy it over from ../server-manager. Then run it:

perl ./create-net-bridge.pl --interface eno1 --bridge br0

Then restart the network to make the changes take effect.