I saw somewhere in portage a daemon that manages
connection/disconnection from the network. I think it was for laptops.
But now I don't know what it is called or where it is in portage.
I wonder if it would work?
Rob.
That would be ifplugd. It listens for a variety of state changes such as insertion of a pcmcia/cardbus/usb NIC or presense/absence of carrier on the ethernet device. When a device becomes available, it runs "/etc/init.d/net.device start" and when the device goes away/loses carrier, it runs "/etc/init.d/net.device stop".
That should address the first of Michael's issues. I've not used monodevelop, but as I recall from using VS.Net, it wants to talk to the local webserver. Check what /usr/bin/hostname returns when your connected and when you're offline. Make sure when you go offline it isn't still returning something like foo.cablecompany.net. I have my machine's hostname set in /etc/conf.d/hostname and hostname is in my boot run level.
-dcm-