I sometimes USB tether my laptop to my phone to allow me to access the internet using 3G. The problem is that all sorts of things, such as the Update Manager, will go online and use up my valuable allowance.
Is it possible to somehow configurate things such that:
- when (and only when) I am connected to the internet using the tethered phone, no application is able to go online, except...
- applications which are run under a certain user (eg
sudo -u internetaccess lynx http://mysite/) - when I am connected using Wifi/ethernet access is normal
Is there a way I can do this?
(I am on Ubuntu 11.04 and my phone is an Android - when I plug in the USB cable, it all Just Works)