How do I use Linux Proxy?


log in

Advanced search

Questions and Answers : Unix/Linux : How do I use Linux Proxy?

Author Message
Clarence Dold
Send message
Joined: 17 Jun 99
Posts: 1
Credit: 179,896
RAC: 0
United States
Message 843 - Posted: 23 Jun 2004, 22:05:53 UTC

My Linux RedHat 9.0 server is behind a firewall.
I have to use an http proxy to get to the internet.
On the boxes where I have installed seti, I have configured Seti (Windows, cmd-line, SetiDriver, and Unix) to use this same proxy server.

On Linux, I have Mozilla set to use it (I'm using it now). I have set http_proxy=http://proxy.xxxx.com:88/
which makes lynx happy on other machines (although I don't have it installed here to test).

Boinc won't connect.
2004-06-23 14:47:03 [http://setiathome.berkeley.edu/] Master file fetch failed
BOINC couldn't get main page for http://setiathome.berkeley.edu/.
Please check the URL and try again.

What do I need to do?

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 6
United States
Message 860 - Posted: 23 Jun 2004, 22:39:19 UTC
Last modified: 23 Jun 2004, 22:41:05 UTC

Try adding the following to your client_state.xml file

...deleted...


EDIT - well here we go with the "can't post html" stuff again. Go to the faq at http://homepage.mac.com/pauldbuck/site-boinc/faq/run-lin.html and you'll see the lines you need to add.

[url=http://www.boinc.dk/index.php?page=user_statistics&userid=24497]

HeadAche
Send message
Joined: 3 Apr 99
Posts: 1
Credit: 15,040
RAC: 0
United States
Message 1157 - Posted: 24 Jun 2004, 13:27:42 UTC - in response to Message 860.
Last modified: 24 Jun 2004, 13:31:32 UTC

> Try adding the following to your client_state.xml file
>
> ...deleted...
>
>
> EDIT - well here we go with the "can't post html" stuff again. Go to the faq
> at http://homepage.mac.com/pauldbuck/site-boinc/faq/run-lin.html and you'll
> see the lines you need to add.
>
> <a> href="http://www.boinc.dk/index.php?page=user_statistics&userid=24497">
>
>
Doesn't work and/or the description is incorrect.

It says:

(I have substituted with ( and ) )

(use_http_proxy/)
(proxy_server_name);your.ip.address.here(/proxy_server_name)
(proxy_server_port)yourproxyport(/proxy_server_port)



It doesn't say if the position is important (i.e in the client file)
Shouldn't a start tag be:
(use_http_proxy)
rather than
(use_http_proxy/)?

What about the existing proxy section? Should it not be used?

Merlin
Volunteer tester
Send message
Joined: 24 Nov 99
Posts: 18
Credit: 2,858,761
RAC: 326
Germany
Message 1214 - Posted: 24 Jun 2004, 15:34:34 UTC - in response to Message 1157.

> It doesn't say if the position is important (i.e in the client file)

I don't think so.

> Shouldn't a start tag be:
> (use_http_proxy)
> rather than
> (use_http_proxy/)?

No. You need always a start and an end-tag, but you can use

(use_http_proxy/)

instead of

(use_http_proxy)(/use_http_proxy)

it is the same.

(use_http_proxy/)

> What about the existing proxy section? Should it not be used?

Yes, you have to use the existing proxy section.
If I remember right - in my conf-file only the line (use_http_proxy/) was missing.

Thomas Maenner
Send message
Joined: 20 Jul 01
Posts: 1
Credit: 899,081
RAC: 4,610
United States
Message 1328 - Posted: 24 Jun 2004, 19:46:58 UTC
Last modified: 24 Jun 2004, 19:49:49 UTC

Hi,

I think the FAQ is little bit missleading / not precise enough.
Here's section of XML which worked eventually for me:

---snip---
(proxy_info)
(use_http_proxy/)
(socks_version)5(/socks_version)
(socks_server_name)(/socks_server_name)
(socks_server_port)80(/socks_server_port)
(http_server_name)YOUR PROXY SERVER(/http_server_name)
(http_server_port)8080(/http_server_port)
(socks5_user_name)(/socks5_user_name)
(socks5_user_passwd)(/socks5_user_passwd)
(http_user_name)(/http_user_name)
(http_user_passwd)(/http_user_passwd)
(/proxy_info)
---snip---

Replace the parenthesis with less-than / greater-than...

Hope that helps others!
Tom

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 6
United States
Message 1410 - Posted: 24 Jun 2004, 21:29:53 UTC - in response to Message 1328.

> Hi,
>
> I think the FAQ is little bit missleading / not precise enough.
> Here's section of XML which worked eventually for me:
>
> ---snip---
> (proxy_info)
> (use_http_proxy/)
> (socks_version)5(/socks_version)
> (socks_server_name)(/socks_server_name)
> (socks_server_port)80(/socks_server_port)
> (http_server_name)YOUR PROXY SERVER(/http_server_name)
> (http_server_port)8080(/http_server_port)
> (socks5_user_name)(/socks5_user_name)
> (socks5_user_passwd)(/socks5_user_passwd)
> (http_user_name)(/http_user_name)
> (http_user_passwd)(/http_user_passwd)
> (/proxy_info)
> ---snip---
>
> Replace the parenthesis with less-than / greater-than...
>
> Hope that helps others!
> Tom
>
>

If you feel so inclined, you can report this to Paul and he'll correct his info in the faq. You can email him from a link on his faq page - http://homepage.mac.com/pauldbuck/ - the email link is near the bottom of this page.

Profile Paul D. Buck
Volunteer tester
Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 1474 - Posted: 24 Jun 2004, 23:05:18 UTC - in response to Message 1328.
Last modified: 24 Jun 2004, 23:22:17 UTC

> I think the FAQ is little bit missleading / not precise enough.
> Here's section of XML which worked eventually for me:

> Replace the parenthesis with less-than / greater-than...
>
> Hope that helps others!
> Tom

sure ... :) ...

I will add this as an alternate until we can confirm if all of the values are needed, or which for which version of linux...

Don't hesitate to e-mail me with a note ... especially the hard earned lessons...

[edit] more text added as:
If that does not work, you can try the following:

5 80 YOUR PROXY SERVER 8080

You also may have to use different values for those numbers indicated in bold, additionally, you may need to specify additional values for the other lines.
[/edit]

Questions and Answers : Unix/Linux : How do I use Linux Proxy?

Copyright © 2014 University of California