#!/usr/local/bin/gtkdialog -e function wired() { ifconfig eth1 down ifconfig eth0 192.168.1.140 netmask 255.255.255.0 route add default gateway 192.168.1.1 } function wireless() { ifconfig eth0 down ifconfig eth1 192.168.1.140 netmask 255.255.255.0 route add default gateway 192.168.1.1 } function office() { ifconfig eth0 down ifconfig eth1 192.168.1.140 netmask 255.255.255.0 route add default gateway 192.168.1.1 } export MAIN_DIALOG=' '