View previous topic :: View next topic |
Author |
Message |
TheHistorian n00b
Joined: 16 Jul 2005 Posts: 27
|
Posted: Sat Jul 16, 2005 7:54 pm Post subject: dhcpcd - ok at work, fails at home |
|
|
I built a gentoo laptop at work, and everything is fine. I unplug it, take it home, and plug it into my cable modem, and dhcpcd fails. For now, I'm dealing only with ethernet at both locations (I'll work on wireless later).
Stuff I realized/tried:
I have another machine at home that works through the cable modem.
dhcpcd broadcasts using the last IP address it had, so I renamed the dhcp related files in /var/cache and /var/lib/dhcpc
/etc/conf.d/net contains:
iface_eth0="dhcp"
dhcpcd_eth0="-HD"
(I've tried a few different combinations of flags there)
boot time looks like:
Starting eth0
Bringing up eth0
dhcp
Running dhcpcd ...
ERROR: Problem starting needed services.
"netmount" was not started.
/var/log/dhcpcd.log shows:
Jul 16 15:46:34 localhost dhcpcd[5297]: timed out waiting for a valid DHCP server
My provider is pretty big (Comcast) so my gut tells me that they are using DHCP and not some other wacky protocol, but I'm pretty much out of ideas.
Any thoughts are appreciated.
Thanks,
Steve |
|
Back to top |
|
|
katsiki Apprentice
Joined: 14 Jun 2005 Posts: 233 Location: Pasadena, CA (USA)
|
Posted: Sat Jul 16, 2005 8:12 pm Post subject: |
|
|
Most cable providers only allow one device to be connected directly to the cable modem. They may only allow one device to receive a DHCP address from their DHCP server. If this is the case, you may need to use a router, in order to be able to connect two computers to the network at the same time. A router partitions the wide-area network (WAN) from the local-area network (LAN), isolating an internal private IP address space to be used among several computers and other network devices. Are you using a router or a switch?
If you are using a router, is it configured to receive its own DHCP address from your cable modem provider, and does it have a built-in DHCP server to issue a private IP addresses to your home computers? |
|
Back to top |
|
|
TheHistorian n00b
Joined: 16 Jul 2005 Posts: 27
|
Posted: Sat Jul 16, 2005 8:35 pm Post subject: |
|
|
*slaps forehead*
Gah!
I knew it was going to be something boneheaded like that. I've been so frazzled with moving, getting things set up, and starting a new job, that obvious things like this are eluding me.
One router unpacked. One problem solved.
Thanks! |
|
Back to top |
|
|
katsiki Apprentice
Joined: 14 Jun 2005 Posts: 233 Location: Pasadena, CA (USA)
|
Posted: Sat Jul 16, 2005 8:45 pm Post subject: |
|
|
You're welcome! Happy house and computer warming! |
|
Back to top |
|
|
-neX- n00b
Joined: 29 Apr 2005 Posts: 45
|
Posted: Sat Jul 16, 2005 8:49 pm Post subject: |
|
|
just a note, unless your isp does hard bindings in dhcp; you can usually just unplug the modem with your interface down, plug the modem back in, wait for it to sync back up with the cable network, and then dhcpcd your interface. after that, you should have a shiny new ip arp!
hopefully this will avoid a couple of calls to support to modem arps! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|