Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] DNS config screwed at startup
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
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Fri Sep 29, 2006 2:23 pm    Post subject: [SOLVED] DNS config screwed at startup Reply with quote

Hi there.
I just finished installing gentoo on my main pc and i've noticed a few things have changes since the last time i installed this. (on my laptop). now, the question is. Whenever i boot into gentoo, it overwrites my /etc/resolv.conf with another config i don't want (i can't remember now, since i had to change it to be able to come to this page). i've changed /etc/conf.d/rc to disable coldplug to network (RC_PLUG_SERVICES="!net.*"), but the same thing happens whenever i start up the network. i don't use dhcp, i have all my network configs static, only the dns gets screwed at boot. it says something about "# Generated by net-scripts for interface lo" at the beginning and then , if i remember correctly "search domain.home_network", or something like that...
any ideas as to what is changing my dns info?

second, i have two ethernet cards on my mobo (nforce4). it's an ASUS P5N32 SLI deluxe SE, and has a marvell one, and an nforce one. only the marvell one appears on ifconfig -a and both appeard with the kernel on the install cd. can you tell me what support do i have to enable to get both my cards operational? and also, during the install, with the live cd, a third network card appeard (i suppose it would be my built-in firewire card) that doesn't appear anymore, although i have firewire support enabled in the kernel.

thanks :D
EDIT:
i found a topic that is similar to this one.
https://forums.gentoo.org/viewtopic-t-453334-highlight-dual.html
choosing a 10/100 Mb driver won't affect my NIC's performance? will i still be able to use 1 Gb on it? thanks
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...


Last edited by Rhiakath on Mon Oct 23, 2006 10:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
rorin
Retired Dev
Retired Dev


Joined: 14 Mar 2004
Posts: 29
Location: Maine, USA

PostPosted: Fri Sep 29, 2006 4:36 pm    Post subject: Reply with quote

As far as your first issue goes, the following works for me. You'll want to enter these lines into /etc/conf.d/net
Code:
dns_servers_eth0=( "xxx.xxx.xxx.xxx" "xxx.xxx.xxx.xxx"  )
dns_domain_eth0="your.domain"
dns_search_domains_eth0="domain.to.search"
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Sat Sep 30, 2006 1:54 pm    Post subject: Reply with quote

So , now we have two places to put our dns server? what aout resolv.conf??? what does it do, then?
and why does it work correctly on my laptop, and the fixed pc at home just decides to overwrite it? what is net-scripts?
there must be a way to turn off that net-script, whatever it is.

and i tried what you suggested, it didn't work. had to manually edit resolv.conf AGAIN!

thanks anyway

any other ideas, guys?
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Sep 30, 2006 3:29 pm    Post subject: Reply with quote

If you are getting
Quote:
# Generated by net-scripts for interface lo
then, in your /etc/conf.d/net you will probably have
Code:
dns_domain_lo="your.domain"
or one of the other entries suggested by rorin but ending with "_lo".

The only entries starting "dns_servers", "dns_domain" or "dns_search_" should be the three entries given by rorin. resolv.conf should then be headed "# Generated by net-scripts for interface eth0".
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Mon Oct 23, 2006 10:09 pm    Post subject: Reply with quote

You were right. that worked-
Sorry if i seemed harsh. my life has been really really upside down, lately, and i just blew off with this.
sorry.
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
strerror
Retired Dev
Retired Dev


Joined: 16 Jan 2004
Posts: 24

PostPosted: Fri Nov 24, 2006 5:53 pm    Post subject: Reply with quote

Rhiakath: sorry to hijack this a little but I'm having trouble getting usb happily working with the new Asus P5N32 to the extent that I can't get my usb kb working on bootup. Would you mind posting your kernel config somewhere (or mailling me it directly at strerror@gentoo.org). Thanks
Back to top
View user's profile Send private message
strerror
Retired Dev
Retired Dev


Joined: 16 Jan 2004
Posts: 24

PostPosted: Mon Nov 27, 2006 9:21 am    Post subject: Reply with quote

nm, I seemed to have solved this myself.
Back to top
View user's profile Send private message
Matrix7
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Sussex

PostPosted: Mon Mar 31, 2008 8:10 am    Post subject: Reply with quote

strerror

Could you tell me how you solved the USB problem you had wit this motherboard, as I appear to have the same problem with mine.

Many thanks.
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