Originally Posted by iAlta
That's pretty cool, thanks, I don't quite get it, but thanks!!
LOL you're welcome.
The network connection goes through wlan0, and it's a ndiswrapper driver, which isn't really properly installed, I have to modprobe it after every boot.
Anyways, that piece of code, should I append it to the /etc/profile? And what if I use DHCP(which I am), will it still work?
This piece of code can be appended at the end of /etc/profile yes.
It will look what is your current ip and decide accordingly.
But if at this moment the connection has no ip, it can not check..
So you need to do the modprobe before login into your WM.
Then use your current tool to autoconfigure the network (Or are you starting dhcp manually or static ip?) which will give you an ip. If it's graphic tool, you have a problem here...
And then start your wm which will read /etc/profile, the export command and give it to all applications opened in the wm.
And then the services that you want to use (pidgin,..), you have to check if they really works through http... For example bittorent doesn't go through a proxy, pidgin and stuff no idea.