i know this is probably a simple problem, but i am running a caching proxy on ubuntu server 11.04. I am using my phone via USB as a WAN interface, and the ubuntu server serves as a gateway to the rest of my network and serves dhcp. Two questions: 1. It sometimes autosenses the phone, but almost every time i unplug the phone i have to reboot the machine with the phone plugged in for it to work again. Is there a way around this? I already have the phone (usb0) defined in interfaces with a static ip. 2. Every time i boot, i have a routine of Code: sudo /etc/init.d/isc-dhcp-server start and Code: sudo shorewall start . I also have to edit /etc/resolv.conf every time because i guess somehow it is being overwritten by dhcp. Is there a way to add isc-dhcp-server and shorewall to the boot process? Is there a way to lock down resolv.conf or define name servers some other way that wont be overwritten on boot? The network works perfectly by the way, it just takes an extra 10 minutes to set everything back up when i get home from work.