For bringing up eth0: {{{ #!/bin/bash sudo dhclient -r eth1 sleep 1 sudo ip link set eth1 down sleep 1 sudo ip link set eth0 up sleep 1 sudo dhclient eth0 sleep 2 sudo /etc/firestarter/firestarter.sh stop sudo /etc/firestarter/firestarter.sh start }}} For eth1: {{{ #!/bin/bash sudo dhclient -r eth0 && sudo ip link set eth0 down sudo ip link set eth1 up sleep 1 sudo iwlist eth1 scan sleep 1 sudo iwconfig eth1 essid sleep 1 sudo iwconfig eth1 ap sleep 2 sudo iwconfig eth1 key sleep 2 sudo dhclient eth1 sleep 2 sudo /etc/firestarter/firestarter.sh stop sleep 1 sudo /etc/firestarter/firestarter.sh start }}} ---- CategoryLookMergeDelete