Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with proxy settings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Tue Mar 18, 2003 3:35 pm    Post subject: problem with proxy settings Reply with quote

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]


Code:
root@ttyp0[knoppix]# ping www.gentoo.org
PING www.gentoo.org (216.110.80.169): 56 data bytes

--- www.gentoo.org ping statistics ---
9 packets transmitted, 0 packets received, 100% packet loss


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
View user's profile Send private message
Digiman
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 116
Location: Mobile, AL

PostPosted: Tue Mar 18, 2003 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Tue Mar 18, 2003 4:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Digiman
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 116
Location: Mobile, AL

PostPosted: Tue Mar 18, 2003 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Wed Mar 19, 2003 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum