I have a sticky situation, and hope someone can help me find a solution. The setup is a Dell laptop (Open Suse 11.3) with a wired ethernet (also wireless, but that doesn't seem to be involved with this problem). The laptop serves as a router between the wireless and the wired ethernet. Exactly one device lives on the wired side; an Arm single-board Linux box connected directly through a cross-over cable (it works with a straight cable, too, and I thought that may have exacerbated the problem, but it seems to have been irrelevant). The laptop also serves as a NFS server for the Arm linux box. All that works great.
The problem is that when the Arm box reboots, the wired ethernet link seen by the laptop goes down, and the ethernet loses its IP. The message log says:
Code:
avahi-daemon[2608]: Withdrawing address record for 192.168.0.1 on eth0.
This becomes a real problem when the Arm box wants to establish an NFS connection to the laptop. It seems only human intervention will bring the wired ethernet back to life, and by that time the re-boot of the single-board Arm box has stalled. The overall system is intended to run for long periods unattended, and at times in remote locations.
It would be great if the link-down condition would not cause the wired ethernet to lose its IP. I have tried disabling the avahi-daemon, but this does not work either.
The ifcfg-eth0 file for the unruly ethernet looks like:
Code:
ONBOOT='yes'
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='20'
IPADDR='192.168.0.1/16'
IPV6INIT='no'
MTU=''
NAME='RTL8111/8168B PCI Express Gigabit Ethernet controller'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='yes'
ETHTOOL_OPTS='speed 100 duplex full autoneg off'
The problem goes away if I put an ethernet switch between the two devices, but the reason I'm using a laptop is that it supposed to be a highly portable system, and an extra box in the system (including power source and an additional cable) is considered quite undesirable. A software solution is strongly preferred.
Thanks.
--- rod.