You are not logged in.

#1 2011-09-09 05:14:45

chancho
Member
From: Hong Kong
Registered: 2006-07-14
Posts: 114

eth0 not working in netcfg but in rc.conf

i have a itx board intel d525mw. i am trying to let the eth0 working under netcfg but failed. i try to do 'dhcpcd eth0' but it returned a time out. however, i hand coded the ip address in rc.conf and it works (on intra-net but no internet). it is a headless nas so it is difficult to move it back and fore to my monitor and keyboard.

Offline

#2 2011-09-09 05:33:13

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: eth0 not working in netcfg but in rc.conf

When hardcoded ip did you also set ip for nameservers in resolve.conf??

Offline

#3 2011-09-09 05:54:06

chancho
Member
From: Hong Kong
Registered: 2006-07-14
Posts: 114

Re: eth0 not working in netcfg but in rc.conf

just did and it can connect to internet now. but i want to point out that it is not a driver problem (i guess). it must be some setting wrong. i copy the example/ethernet-dhcp to /etc/networks.d/ put the "ethernet-dhcp" in NETWORKS in rc.conf. change network to net-profiles in  rc.conf. it should work but it didn't.

Offline

#4 2011-09-09 06:08:43

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: eth0 not working in netcfg but in rc.conf

In some instances dhclient seems to work better than dhcpd. It did on my netbook anyway.

Offline

#5 2011-09-09 06:31:44

chancho
Member
From: Hong Kong
Registered: 2006-07-14
Posts: 114

Re: eth0 not working in netcfg but in rc.conf

i guess it is not working, i do 'dhclient eth0' and it cut off my ssh connection. my router did not show any connection either. need to do a hard reset.

Offline

Board footer

Powered by FluxBB