Forums

Skip to content

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

resolv.conf not updated

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Braempje
l33t
l33t
User avatar
Posts: 748
Joined: Fri Jan 31, 2003 7:16 pm
Contact:
Contact Braempje
Website

resolv.conf not updated

  • Quote

Post by Braempje » Sun Oct 14, 2007 8:08 pm

Since a couple of days, my resolv.conf is not updated when connecting to a different network. I used wired access at work and now wireless access at home or elsewhere does not change my resolve.conf. I've run emerge --config resolvconf-gentoo without success. Any ideas on how to resolve this? What should I try? This is very annoying, I can assure you :cry:
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Oct 14, 2007 8:12 pm

Braempje,

Do you have nodns in your /etc/conf.d/net file ?
That says please don't mess up my nameservers in /etc/resolv.conf
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Braempje
l33t
l33t
User avatar
Posts: 748
Joined: Fri Jan 31, 2003 7:16 pm
Contact:
Contact Braempje
Website

  • Quote

Post by Braempje » Mon Oct 15, 2007 5:48 am

No:

Code: Select all

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

config_eth0="dhcp"
dhcpcd_eth0="-t 5 -N"

postup() {
        # force wired if we are running both wired and wireless
        ifmetric eth0 0
        ifmetric eth1 1
}

postdown() {
        ifmetric eth0 1
        ifmetric eth1 0
}

config_eth1="dhcp"
dhcpcd_eth1="-t 15 -N"
modules=( "wpa_supplicant")
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Top
yawm
n00b
n00b
Posts: 37
Joined: Tue May 30, 2006 8:09 am
Contact:
Contact yawm
Website

  • Quote

Post by yawm » Tue Oct 16, 2007 7:08 am

boot your box @home
then post the output of command
[code]
ifconfig -a:
[/code]
Fange an nie aufzuhören Höre nie auf anzufangen
Top
shaped.ch
n00b
n00b
Posts: 46
Joined: Mon Dec 19, 2005 8:13 pm
Location: switzerland
Contact:
Contact shaped.ch
Website

  • Quote

Post by shaped.ch » Wed Oct 17, 2007 6:27 am

have the same problem after upgrading some packages. including resolvconf-gentoo and dhcpcd. may be related to the resolvconf-gentoo package i think?!?

any other ideas?
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Wed Oct 17, 2007 9:05 am

shaped.ch wrote:have the same problem after upgrading some packages. including resolvconf-gentoo and dhcpcd. may be related to the resolvconf-gentoo package i think?!?

any other ideas?
Did you `emerge --config resolvconf-gentoo` ?
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Top
shaped.ch
n00b
n00b
Posts: 46
Joined: Mon Dec 19, 2005 8:13 pm
Location: switzerland
Contact:
Contact shaped.ch
Website

  • Quote

Post by shaped.ch » Wed Oct 17, 2007 12:31 pm

thanks UberLord! problem solved.
Top
Post Reply

7 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