Skip to content

Linux proxy problems

Featured Replies

Setting up an old lappy with Linux for use as a Wifi scanner for PCI.

I've tried Ubuntu 9.10 and Fedora 12 and run into the same problem with both.

I can't get the updater through the work proxy.

I can get Firefox to work fine by manually entering the credentials but no luck within either the Ubuntu updater or Yum in Fedora.

I've tried a few online solutions usually editing the yum.conf or other conf files to include proxy setting but no banana. I'm not taking the fecker home to do it. I don't remember having the same issues with earlier Ubuntus. Seems to be a common issue.

What sort of proxy is it?

Does it have any restrictions on it by user-agent (could explain Firefox working but update software getting blocked)?

Is there any logs on the proxy which show the requests reaching it?

There is an option in Ubuntu for setting system wide proxy settings based on location, though I found it was a bit sketchy. It's either under admin or prefences I can't remember which and I don't have my laptop with me.

I had this issue but now it works fine through the proxy at work.

  • Author

It's an ISA server. Never had a problem getting kit to go through before.

Doesn't pass FTP traffic so that could be an issue if Yum won't work over http.

Setting up an old lappy with Linux for use as a Wifi scanner for PCI.

I've tried Ubuntu 9.10 and Fedora 12 and run into the same problem with both.

I can't get the updater through the work proxy.

I can get Firefox to work fine by manually entering the credentials but no luck within either the Ubuntu updater or Yum in Fedora.

I've tried a few online solutions usually editing the yum.conf or other conf files to include proxy setting but no banana. I'm not taking the fecker home to do it. I don't remember having the same issues with earlier Ubuntus. Seems to be a common issue.

Have you set the Gnome proxy settings?

Does your office proxy FTP or only http?

If they don't proxy ftp, just change the sources to FTP sites.

EDIT:

Hmm ok well if it doesn't pass ftp, then you will need to set the proxy in gnome and possibly also as the bash environment setting. Don't forget the latter is readable, so clean it up when you're done.

I hate yum behind a proxy.

Edited by cheezemonkhai

  • Author

Yup set it within gnome.

Set it in bashrc

Nowt.

Bloody Linux, there is always something not sodding working. It used to be broadcom wireless but they've fixed that and ******ed the bloody proxy settings.

I'll have to take it home and plug it in the router next week.

Mine works OK with our ISA server at work.

Use Windows. Be happy. :thumbup:

Use Windows. Be happy. :thumbup:

Feck windowz, be a happy driver, or get a Mac :)

It's an ISA server. Never had a problem getting kit to go through before.

Doesn't pass FTP traffic so that could be an issue if Yum won't work over http.

Some ISA servers are configured so that they will only work with NTLM authentication. Firefox does basic NTLM authentication, even on Linux.

The following may help if this is the case (worked a treat for me). This set's up a local proxy on the server that then authenticates with and uses the MS proxy in the office

http://cntlm.sourceforge.net/

Steve

Edited by Raglits

Was going to suggest as the previous poster if my first post didn't help.

Something also worth doing is if you open up the yum.conf file and visit the link in the path, then it will give you an address that directs you to a list of servers. You should be able to open that in a browser, then select a mirror rather than the main mirror list. and place that in the yum.conf with the other address commented out. That sometimes helps.

To be fair even if I'm using windows I find ISA to be a hateful, nasty, steaming pile of sh*te.

  • Author

Use Windows. Be happy. :thumbup:

Generally I'm too lazy to bother with Linux but sometimes windoze isn't the right tool for the job.

With this I want to use the laptop for wireless network scanning and as a vulnerability tool.

A lot of 'hacking' progs are only available for Linux so it's good to have a working linux box in addition to the Windows desktop.

<edit>

Not. Giving. In.

Ok I've switched back to Ubuntu from Fedora, more support. Still with Gnome.

I've gone through the GUI process of setting up the proxy again, no change. Can get out using a manually set proxy in FF but no updates via synaptic.

If run #env

I get, among other things

# no_proxy=localhost, 127.0.0.0/8, *.local

But if I go to etc/environment

I have a correct proxy entry, no credentials but the server and port are correct.

If I enter

#export

I get a large list of variables including the correct proxy with the full correct credentials.

So somewhere the http_proxy variable isn't being carried.

Edited by Aspman

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.