So ein Switch (6 oder 8 Port) kostet gerade mal um die 10 Euro. Damit kannst du dann mehr Geräte anschliessen.
#!/bin/bash
if test $(id -u) != 0; then
 echo Error: You must be root to run this script!
 exit 1
fi
SETTINGS=/etc/wicd/manager-settings.conf
if [ -w $SETTINGS ]; then
  ping -c 2 
www.google.de
  if [ $? != 0 ]; then
    if grep "eth0" $SETTINGS
    then
      cat $SETTINGS | sed 's/eth0/eth1/g' > $SETTINGS.new
    else
      cat $SETTINGS | sed 's/eth1/eth0/g' > $SETTINGS.new
    fi
    mv -f $SETTINGS.new $SETTINGS && rm -f $SETTINGS.new
  fi
fi