You are not logged in.

#1 2013-03-18 17:52:10

Registered: 2012-04-02
Posts: 4

Netcfg and DNS

Hi all,
I have a problem with netcfg on start up. I am configured my system to connect automatically using a sequence of configurations:

[saro@wendell ~]$ cat /etc/conf.d/netcfg 
# Enable these netcfg profiles at boot time.
#   - prefix an entry with a '@' to background its startup
#   - set to 'last' to restore the profiles running at the last shutdown
#   - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
#NETWORKS=(@home-eth @home-wifi)
NETWORKS=(@groningen_eth @groningen_wifi @eduroam)

# Specify the name of your wired interface for net-auto-wired

# Specify the name of your wireless interface for net-auto-wireless

# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("profile1" "profile2")
[saro@wendell ~]$ sudo cat /etc/network.d/groningen_eth 
DESCRIPTION='Groningen Room connection'

## for DHCPv6
## for IPv6 autoconfiguration

POST_UP='systemctl restart openntpd'

When I boot my system the wired interface seems loading well, but I can't use internet due missing DNS. So every time I have to edit /etc/resolv.conf manually or just reconnect the interface.
This problem appear only during the start up, if I try to load a configuration after netcfg work properly.
Somebody else had the same issue?


#2 2013-03-21 03:36:32

From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Netcfg and DNS

Is there anything relavent in the journal?

I was under the impression that if you are not using something like dhcpcd or dhclient, the file /etc/resolv.conf will not be dynamically created.

You might also want to try netctl (I think it is still in testing) as it appears that it will soon replace netcfg.  Though I think that netcfg will still be in [extra] or [community].


Board footer

Powered by FluxBB