Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[SOLVED] DNS config screwed at startup

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Rhiakath
Guru
Guru
User avatar
Posts: 573
Joined: Fri Feb 10, 2006 1:49 am
Location: Hell...

[SOLVED] DNS config screwed at startup

  • Quote

Post by Rhiakath » Fri Sep 29, 2006 2:23 pm

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.
http://forums.gentoo.org/viewtopic-t-45 ... -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
Last edited by Rhiakath on Mon Oct 23, 2006 10:10 pm, edited 1 time in total.
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

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

I see dead pixels...
Top
rorin
Retired Dev
Retired Dev
Posts: 29
Joined: Sun Mar 14, 2004 10:20 pm
Location: Maine, USA

  • Quote

Post by rorin » Fri Sep 29, 2006 4:36 pm

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: Select all

dns_servers_eth0=( "xxx.xxx.xxx.xxx" "xxx.xxx.xxx.xxx"  )
dns_domain_eth0="your.domain"
dns_search_domains_eth0="domain.to.search"
Top
Rhiakath
Guru
Guru
User avatar
Posts: 573
Joined: Fri Feb 10, 2006 1:49 am
Location: Hell...

  • Quote

Post by Rhiakath » Sat Sep 30, 2006 1:54 pm

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...
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

  • Quote

Post by wynn » Sat Sep 30, 2006 3:29 pm

If you are getting
# Generated by net-scripts for interface lo
then, in your /etc/conf.d/net you will probably have

Code: Select all

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.
Top
Rhiakath
Guru
Guru
User avatar
Posts: 573
Joined: Fri Feb 10, 2006 1:49 am
Location: Hell...

  • Quote

Post by Rhiakath » Mon Oct 23, 2006 10:09 pm

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...
Top
strerror
Retired Dev
Retired Dev
Posts: 24
Joined: Fri Jan 16, 2004 10:26 am

  • Quote

Post by strerror » Fri Nov 24, 2006 5:53 pm

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
Top
strerror
Retired Dev
Retired Dev
Posts: 24
Joined: Fri Jan 16, 2004 10:26 am

  • Quote

Post by strerror » Mon Nov 27, 2006 9:21 am

nm, I seemed to have solved this myself.
Top
Matrix7
n00b
n00b
Posts: 54
Joined: Sat Feb 21, 2004 3:45 pm
Location: Sussex

  • Quote

Post by Matrix7 » Mon Mar 31, 2008 8:10 am

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.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic