Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP client not working with Comcast Cable

I have an ASG box that was working fine for better than a year on AT&T DSL, but when I moved I had to switch to Comcast cable.  The same box immediately had trouble with its DHCP client on the WAN port.  It would obtain a lease at boot, but then if for any reason the link bounces (happens especially in the rain), ASG is unable to renew the lease without a reboot, and sometimes not even then.

I've tried it both with ARP cache enabled and disabled...sometimes it works one way and sometimes the other, but either way the WAN port seems stuck on the same IP it already had, and the "Renew" button does not refresh the DHCP.

In these situations, invariably if I plug my Windows PC directly into the cable modem it obtains a lease immediately and tests out with a fast, stable connection, so the problem is clearly in the ASG box and not in the modem or the account.  I've already tried swapping out the NIC and that has not changed the situation.  I also upgraded to 8.0 (now 8.03) and this has not changed the problem at all.

I can't find anything in the logs, but I may not know where to look.  I've also found no way to renew the lease manually from the command line; everything I google turns out to be a command that's not available in the ASG bash shell.  Any suggestions?


This thread was automatically locked due to age.
Parents
  • Have you tried to plug out the power of the cable modem and plug it in again after a minute?

    Cable providers often save the MAC address of the client for a specific time. And within this time, no other client can get an IP address (if you only have one DHCP address). A power cycle of the modem may helps.
  • Have you tried to plug out the power of the cable modem and plug it in again after a minute?

    Cable providers often save the MAC address of the client for a specific time. And within this time, no other client can get an IP address (if you only have one DHCP address). A power cycle of the modem may helps.


    I've power-cycled the modem numerous times, Whity.  In fact whenever I change between devices it's necessary, for the exact reason you say, that the MAC address only appears to be refreshed on power-cycle.

    I did manage to find this in the "System Log" of the ASG box this morning:
    2010:12:02-06:08:50 djwall dhcpcd[5478]: eth1: dhcpcd 3.2.3 starting
    
    2010:12:02-06:08:50 djwall dhcpcd[5478]: eth1: hardware address = 00:0e:0c:b0[:D]5:24
    2010:12:02-06:08:50 djwall dhcpcd[5478]: eth1: broadcasting for a lease
    2010:12:02-06:08:50 djwall dhcpcd[5478]: eth1: sending DHCP_DISCOVER with xid 0x3e5a8ba8
    2010:12:02-06:08:50 djwall dhcpcd[5478]: eth1: waiting for 20 seconds
    2010:12:02-06:08:53 djwall dhcpcd[5478]: eth1: sending DHCP_DISCOVER with xid 0x3e5a8ba8
    2010:12:02-06:09:10 djwall dhcpcd[5478]: eth1: timed out
    2010:12:02-06:09:10 djwall dhcpcd[5478]: eth1: exec "/usr/sbin/eth1" "/var/lib/dhcpcd/dhcpcd-eth1.info" "down"
    2010:12:02-06:09:11 djwall dhcpcd[5478]: eth1: exiting

    This repeats every couple minutes.
  • Also tried to swap the ethernet cable?
  • Also tried to swap the ethernet cable?


    Trust me, I've been through ALL the simple steps.  I've replaced the ethernet card, the cables, I've even (as I said before) reinstalled ASG software from CD and restored my config from backup.  Remember the same cables are working just fine when plugged into a Windows machine (which is how I'm logging onto this site).

    Interestingly, I just SSHed into the box and took a look around...the log says (as quoted above): 
    2010:12:02-06:09:10 djwall dhcpcd[5478]: eth1: exec "/usr/sbin/eth1" "/var/lib/dhcpcd/dhcpcd-eth1.info" "down"
    

    However, I just looked (as su) and neither /usr/sbin/eth1 nor the entire directory /var/lib/dhcpcd even exist at all.  Does that offer any clues?
Reply
  • Also tried to swap the ethernet cable?


    Trust me, I've been through ALL the simple steps.  I've replaced the ethernet card, the cables, I've even (as I said before) reinstalled ASG software from CD and restored my config from backup.  Remember the same cables are working just fine when plugged into a Windows machine (which is how I'm logging onto this site).

    Interestingly, I just SSHed into the box and took a look around...the log says (as quoted above): 
    2010:12:02-06:09:10 djwall dhcpcd[5478]: eth1: exec "/usr/sbin/eth1" "/var/lib/dhcpcd/dhcpcd-eth1.info" "down"
    

    However, I just looked (as su) and neither /usr/sbin/eth1 nor the entire directory /var/lib/dhcpcd even exist at all.  Does that offer any clues?
Children
No Data