You are not logged in.

#1 2009-10-02 16:16:36

firmajp
Member
Registered: 2009-10-01
Posts: 18

Problem with dhcpcd

#/etc/resolv.conf

namesrever.208.67.222.222
nameserver 208.67.220.220

and after dhcpcd wlan0
my resolv change for this:

#/etc/resolv.conf.tail can replace this line
#/etc/resolv.conf.head can replace this line


what happen helpp?
rc.conf

Hostname="myhost"
#DHCP   set your interface to "dhcp"  (eth0="dhcp")
#wireless: See network profiles below  

#Static ip example 
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

gateway="default gw 192.168.0.1"
Routes=(!gateway)

ifconfig

wlan0 Link encap: Ethernet HWaddr 00:26:5E:29:F5:F1
inet addr:192.168.1.65  Bcast:192.168.1.254    Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors :0 dropped:0 overruns:0 carriers:0
collisions:0 txqeuelen:100
RX bytes :0 (0.0 b) TX bytes:0 (0.0) b)

Offline

#2 2009-10-02 16:18:46

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Problem with dhcpcd

dhcpcd updates your /etc/rc.conf
Write your custom nameservers in /etc/resolv.conf.tail


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-10-02 18:49:53

firmajp
Member
Registered: 2009-10-01
Posts: 18

Re: Problem with dhcpcd

how I can check my custom nameservers?;

Last edited by firmajp (2009-10-02 19:06:06)

Offline

#4 2009-10-02 20:49:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Problem with dhcpcd

Even better, put the nameserver in /etc/resolv.conf.head

As for what happened; for some reason the dhcp server on the wlan isn't giving out the dns info, so dhcpcd empties resolv.conf.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-10-02 20:57:00

firmajp
Member
Registered: 2009-10-01
Posts: 18

Re: Problem with dhcpcd

but why???helllp plsss i try do this from yesterday??

Offline

#6 2009-10-02 21:14:28

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: Problem with dhcpcd

You should be able to place the nameservers in /etc/resolv.conf.head.. Then Add the -C resolv.conf option to your /etc/conf.d/dhcpcd file..

mine looks like this:
DHCPCD_ARGS="-q -C resolv.conf"

Offline

#7 2009-10-02 21:27:43

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Problem with dhcpcd

Don't need to add -C resolv.conf if he adds them to .head


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB