LMDE xfce - Network Proxy

Archived topics about LMDE 1 and LMDE 2
Locked
gillepy

LMDE xfce - Network Proxy

Post by gillepy »

Hello,

I am investigating the possibility of moving my work machine to this release. Currently I am using LM11 Gnome edition and have installed xfce version in virtualbox. I am having trouble connecting to the web and i'm pretty sure this is a proxy issue. Under LM11 Gnome I can set the proxy system wide using the 'Apply system wide' box in the proxy gui.

I can't find this GUI in xfce (I assume its part of gnome) so I copied the information from my ' etc/environment' file but I am still having no luck connecting to the internet. Should I put the proxy information elsewhere?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zanxion

Re: LMDE xfce - Network Proxy

Post by zanxion »

Anybody?
I have also tried the LMDE after failing to properly install the lousy Mint 12 (as it is now you can call it whatever you like but Final or Release Candidate!), but I cannot make it work behind proxy. I have seen the warnings about being a bit rough for the beginner, but this goes far away from just that. There are no references anywhere about configuring this.
It may be lightweight and quite responsive but also quite useless if it cannot be deployed to operate properly by someone behind a proxy.
zanxion

Re: LMDE xfce - Network Proxy

Post by zanxion »

O.k. Buddy, here it comes:
I have made in my user dir a file named proxy.sh and marked it as executable with these lines in it:
#proxy.sh
export http_proxy=http://user:pass@proxy:port/
export ftp_proxy=http://user:pass@proxy:port/
export no_proxy=localhost,127.0.0.1
export HTTP_PROXY=http://user:pass@proxy:port/
export FTP_PROXY=http://user:pass@proxy:port/

I have added it to my startup scripts. Now we are almost set. All works except apt-get, system updaters, etc. To make them work you need root access to edit the /etc/apt/apt.conf file. If you have such access, then:
sudo gedit /etc/apt/apt.conf
Apparently it is empty, so add these lines:
Acquire::http::proxy "http://user:pass@proxy:port/";
Acquire::https::proxy "https://user:pass@proxy:port/";
Acquire::ftp::proxy "ftp://user:pass@proxy:port/";

Save, exit and voila!
zanxion

Re: LMDE xfce - Network Proxy

Post by zanxion »

Ooops! After this the update had downloaded half G of data! The network admins will wimp my... now :o
gillepy

Re: LMDE xfce - Network Proxy

Post by gillepy »

Thanks for that on the apt-conf bit. I think that's what I was missing

I think your script is doing the same job as having

http_proxy="http://address:port/"
ftp_proxy="ftp://address:port/"
https_proxy="https://address:port/"

in the /etc/environment. Please do correct me if I'm wrong.

Hopefully some newcomers will find this and wont be put off xfce in the future. I have been experimenting every now and again with xfce since I tried the new gnome and unity interfaces and always given up as I could fall back onto mint11. Now that mints gone gnome3 xfce seems the best option for getting stuff done. Lets hope work will be done on bringing the mintmenu from mint11 comes along so its all fully working.
zanxion

Re: LMDE xfce - Network Proxy

Post by zanxion »

Exactly, I use them through a script for a more manageable environment with more than 1 proxies available.
gillepy

Re: LMDE xfce - Network Proxy

Post by gillepy »

I'm on a desktop so that's not really an issue. It sounds like a good idea for a laptop though. It would be nice if you could bind a set of proxy settings to a essid. Do you know if this is possible?
zanxion

Re: LMDE xfce - Network Proxy

Post by zanxion »

Unfortunately I have no idea how to do that :(
Locked

Return to “LMDE Archive”