• Linux to play nicely with a proxy
    11 replies, posted
First, yeah I got my proxy info all setup, however I am on a domain which is behind a corporate network infrastructure. I have been trying to get synaptic and other sources to play nicely with our proxy and to get through it, however the proxy wants to be a big bitch, as always. I have tried editing my apt.conf, and the network settings app. but to no avail, chrome and firefox always ask me for my login credentials on startup. So to put the setup, in terms that will not compromise my location... Domain: my_comp login: login password: abcd1234 proxy server: proxy.company.com proxy port: 8080, on all protocols. What i have originally setup: http::proxy [url]http://my_comp\\login:abcd1234@proxy.company.com:8080[/url] I tried different variants and scouraging over the web, to find a bunch of useless threads on not giving me a fix over this. I am still a bit of a noob at linux, but I've been learning here and there for the last few years. This is my first time setting up with a proxy. Any suggestions, or ideas on what I may be doing wrong?
Dunno what protocol you're talking about. Is it just a HTTP proxy, or something else?
All proxy settings I assume. I can't update the repositories via synaptic or apt-get. [editline]04:40PM[/editline] Not to mention downloading them. Going through each file individually through the ubuntu website is pretty rough.
[QUOTE=Richard Simmons;23809594]All proxy settings I assume.[/QUOTE] There's really no way we can help you with no information to work with. Proxies can operate on lots of different levels.
Well, our actual server uses the same address proxy.company.com:8080 FTP, HTML etc.
HTTP proxy, SOCKS4, SOCKS5, pick one.
?? ~$ export http_proxy=http://user:password@my.proxy.server:port/
HTTP proxy. Also, account is by domain... I think my fallback is determining how to setup the user field with the domain. Unless it likes my_comp\myuid
(in a terminal) sudo -s (so you're logged in as root) (then) echo "export http_proxy=<your Proxy URL>" >> /etc/bash.bashrc the root user has to have the http_proxy environment var set, not your own user. if you do it by the GUI, the 'apply system wide' button does the same as above, basically. otherwise the proxy only applies to programs your user runs, e.g. web browsers - not synaptic etc.
Well, I learned a little there. However, apt-get still gets the boot from the proxy server; same with synaptic.
[QUOTE=Richard Simmons;23875394]Well, I learned a little there. However, apt-get still gets the boot from the proxy server; same with synaptic.[/QUOTE] Do the same for ftp_proxy
Still being bumped out. Error 407
Sorry, you need to Log In to post a reply to this thread.