View previous topic :: View next topic |
Author |
Message |
urisan n00b


Joined: 07 Oct 2005 Posts: 9 Location: Israel
|
Posted: Sun Oct 09, 2005 10:49 pm Post subject: portage resolves incorrectly [Solved] |
|
|
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 |
|
 |
jacek_migacz Tux's lil' helper


Joined: 04 Jun 2005 Posts: 141
|
Posted: Sun Oct 09, 2005 11:40 pm Post subject: |
|
|
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 |
|
 |
urisan n00b


Joined: 07 Oct 2005 Posts: 9 Location: Israel
|
Posted: Thu Oct 13, 2005 9:33 pm Post subject: |
|
|
Thanks, it works
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 |
|
 |
|