PDA

View Full Version : [all variants] Synaptic. At home: direct connect. At work: proxy



ciro314
November 11th, 2008, 06:05 PM
I would like to automatically configure synaptic to connect to a proxy at work and direct connect at home. Any idea?

i.e. To run firefox I have made a little script like this:

if iwconfig | grep -i 'ESSID:"home_essid"'
then
firefox
else
firefox -P profile_at_work(connect through proxy)
fi