You are not logged in.
Couldn't find an answer to this elsewhere. After /etc/rc.d/network is started, dhcp asks for lease, seems to get it properly and I can see the acknowledgment + IP address assigned by router. Dhcpcd ends by saying
"dhcpcd: eth0: MTU set to 1492"
However, when I try
ifconfig eth0
, I don't see the ip address, or anything else like broadcast, gw, or netmask
then, expecting "FAIL" I try
"ping google.com"
, and it meets my expectations!
Next thing I tried:
ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx
and
route add default gw xxx.xxx.xxx.xxx
My rc.local file:
/sbin/dhcpcd -k eth0
rc.conf has the following:
DAEMONS=(syslog-ng network)
I previously had networkmanager and used it via nm-applet under gnome, and it worked fine. I recently uninstalled all that and am interested in working on the command line only...much like I use freebsd (which never gave any such problems in my last 2 years of using it)
P.S. The rc.conf file is not well documented IMHO....what are the various flags for? how many options for variables like DHCP_ARGS are, and what do they all mean? All I see is stuff like "set DHCP_ARGS=to -q" or change it to -R etc. which are not documented in the dhcpd man page.
Jeez Arch, I really love you guys, but sometimes I prefer FreeBSD
Offline
could you post the NETWORK section of your /etc/rc.conf?
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
I had the same problem today. Examining the dhcpcd log, the carrier is lost once dhcpcd sets the MTU. A temporary fix is
dhcpcd eth0 --nohook mtu
Looks like an upstream bug?
Offline
Had the same problem, and apparently it was due to changes in /etc/dhcpcd.conf
These were the changes:
option classless_static_routes -> added
option interface_mtu -> uncommented
Offline
I hate to bump an old topic but I was reading jcolinzheng response to this question and I'm wondering where to add the --nohook mtu option to? I checked my dhcpd.conf and the rc.conf but I couldn't quite place where to add the option. Also, my dhcpd.conf has both lines uncommented the b3nny mentions and I'm occasionally getting a eth0 carrier lost message when my internet usage is high.
"If this ends with the both of us dying in a giant explosion killing a Reaper, just remember. I took the kill shot." - Garrus Vakarian
Offline