View previous topic :: View next topic |
Author |
Message |
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Tue Mar 18, 2003 3:35 pm Post subject: problem with proxy settings |
|
|
Hello!
After successfully installing gentoo on a machine, I try to install it on a second one. This time, I am behind a proxy server.
The gentoo linux boot cd failed to find my ethernet card, so i booted with a knoppix cd.
Here is the output of some commands:
Code: |
root@ttyp0[knoppix]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:CC:56:54:BB
inet addr:10.151.2.23 Bcast:10.151.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2736 errors:2 dropped:0 overruns:0 frame:0
TX packets:1674 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
RX bytes:1795790 (1.7 MiB) TX bytes:252237 (246.3 KiB)
Interrupt:10 Base address:0xdc00
...
|
Code: | root@ttyp0[knoppix]# echo $http_proxy
10.151.2.10:3128 |
Code: | root@ttyp0[knoppix]# echo $ftp_proxy
10.151.2.10:3128 |
Code: | root@ttyp0[knoppix]# ping 10.151.2.10
PING 10.151.2.10 (10.151.2.10): 56 data bytes
64 bytes from 10.151.2.10: icmp_seq=0 ttl=255 time=0.6 ms
64 bytes from 10.151.2.10: icmp_seq=1 ttl=255 time=0.4 ms
64 bytes from 10.151.2.10: icmp_seq=2 ttl=255 time=0.5 ms
64 bytes from 10.151.2.10: icmp_seq=3 ttl=255 time=0.4 ms
--- 10.151.2.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.4/0.4/0.6 ms[/quote] |
In mozilla i entered the same proxy configuration, and www.gentoo.org works.
Probably I forgot something simple, but I don't know what. Please help me!
Thanks,
~michael |
|
Back to top |
|
|
Digiman Tux's lil' helper
Joined: 01 Jul 2002 Posts: 116 Location: Mobile, AL
|
Posted: Tue Mar 18, 2003 4:24 pm Post subject: |
|
|
Does your proxy need authentication? If so, that may be your problem, unfortunately I don't know how to authenticate a proxy user through the console. Although, when you run Mozilla there is either a prompt that you type in the username and password or there is a place in the prefrences to set it up.
-- Digiman _________________ -- Digiman |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Tue Mar 18, 2003 4:32 pm Post subject: |
|
|
Quote: | Does your proxy need authentication? |
I don't think so. Also, I did not give any further information to mozilla than the proxy settings I mentioned. |
|
Back to top |
|
|
Digiman Tux's lil' helper
Joined: 01 Jul 2002 Posts: 116 Location: Mobile, AL
|
Posted: Tue Mar 18, 2003 8:11 pm Post subject: |
|
|
noticed that you don't have the RSYNC_PROXY setup, you might try that...
Code: | export RSYNC_PROXY="10.151.2.10:3128" |
Hope that helps, _________________ -- Digiman |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Wed Mar 19, 2003 12:07 am Post subject: |
|
|
thanks for your input, digiman.
i now tried it this way:
export http_proxy="http://10.151.2.10:3128/"
and after that ping still did not work, but wget and lynx did.
it turned out that emerge rsync only worked *without* RSYNC_PROXY - crazy!
otherwise i got this message:
Code: |
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: getaddrinfo: http //proxy:3128/: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(83)
>>> Starting retry 1 of 3
rsync: getaddrinfo: http //proxy:3128/: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(83)
>>> Starting retry 2 of 3
rsync: getaddrinfo: http //proxy:3128/: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(83)
>>> Starting retry 3 of 3
rsync: getaddrinfo: http //proxy:3128/: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(83)
| [/code] |
|
Back to top |
|
|
|