CDRouter will check each configured Linux interface used in the CDRouter configuration file to verify that no IP address has been configured under Linux. CDRouter handles configuring each interface using information from the CDRouter configuration file and only relies on Linux to provide physical layer connectivity to each interface.
If CDRouter detects an address on one of the interfaces configured using the testvars lanInterface or wanInterface, it will stop and report the following error:
ERROR(setup): 08:10:07| *** Setup error trying to open interface 'eth2' ERROR(setup): 08:10:07| Interface eth2 has address 7.7.7.7/255.0.0.0 configured under ERROR(setup): 08:10:07| linux (see /sbin/ifconfig -a). CDRouter interfaces should ERROR(setup): 08:10:07| not have any IP addresses configured under linux. ERROR(setup): 08:10:07| CDRouter will bring up and configure interfaces ERROR(setup): 08:10:07| automatically based your CDRouter configuration file.
You can check to see if an IP address is configured on an interface by running the command /sbin/ifconfig on the interface or /sbin/ifconfig -a to see all interfaces.
# /sbin/ifconfig eth2
For help on setting up your interfaces under Linux, see this Knowledge Base article.
You can also temporarily unconfigure an IP address on an interface using the following command:
# /sbin/ifconfig eth2 0.0.0.0
The address check can be skipped by adding -ignore-address-warning to the buddy command-line.
To skip the address check when running BuddyWeb, use the following command:
# touch /usr/buddyweb/etc/ignore-address-warning