Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage resolves incorrectly [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
urisan
n00b
n00b


Joined: 07 Oct 2005
Posts: 9
Location: Israel

PostPosted: Sun Oct 09, 2005 10:49 pm    Post subject: portage resolves incorrectly [Solved] Reply with quote

Hello all, I'm enjoying my first Gentoo system for a week and this is my first post.

i have adsl. during installation my modem was acting as a bridge and i used rp-pppoe and everything was fine. i changed my modem to act as a router with nat and now everything works fine except portage which acts a little funny:

when i try to emerge something it resoves the gentoo mirror as 1.0.0.0 and fails to connect.
i interrupt the emerge and ping the mirror, it resolves the correct address and gets replies. then i emerge again and it resolves the correct address and is able to install. however after a few downloads it would resolve incorrectly again and i need to "remind" him with the ping.

any clue?
thanks!
_________________
May the source be with you, always.


Last edited by urisan on Thu Oct 13, 2005 9:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
jacek_migacz
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 141

PostPosted: Sun Oct 09, 2005 11:40 pm    Post subject: Reply with quote

its common and veru popular problem for home adsl briges

to emerge sth just insert already resolverd ip addresses of mirrors

to make dns working premanently log as root

edit file /etc/resolve.conf

insert there known dns addresses

Code:
nameserver 194.204.159.1
nameserver 194.204.152.34


its my polish dns package :)

also if u run on dhcpcd u have to prevent ur .conf from being overwritten

good luck
Back to top
View user's profile Send private message
urisan
n00b
n00b


Joined: 07 Oct 2005
Posts: 9
Location: Israel

PostPosted: Thu Oct 13, 2005 9:33 pm    Post subject: Reply with quote

Thanks, it works :D
it is a little puzzling though: i have to put my modem as a dns server as well, without it i cant see the net at all,
and without the true dns servers portage hiccups.

well it works and that's that.
_________________
May the source be with you, always.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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