Posted on 11-23-2015 08:13 AM
Hi,
I was wondering how NetSuS-Server is handling multiple network-interfaces.
In my case eth1 on an Ubuntu-System is the main Interface, three interfaces at all. The adminHelper-Script is destroying my /etc/networks interface file by overwriting it with a not working configuration.
I tried to avoid configuration changes by piping it to not used configuration files like /etc/networks/interfaces.netsus
but at "Network-settingsWeb-GUI" the multiple ip-adresses are still visible, divided by spaces.
What do I need to do, to work Netsus-Serer with multiple Network-interfaces properly?
Andreas
Posted on 08-09-2016 01:19 PM
I have multiple eth interfaces as well, and modified line 48 on adminHelper.sh to just look at the first line ( | head -1). You can tailor this to whichever line you need.
getip) echo `ip addr show to 0.0.0.0/0 scope global | awk '/[[:space:]]inet / { print gensub("/.*","","g",$2) }' | head -1`;;