Thus spake Michael Patterson:
> 
> Yesterday I finally got my cable modem (Adelphia). Hooked it up to windows,
> and it worked wonderfully. I was told that, in general, Adelphia doesn't
> change the IP information, and it would be safe to copy it to the Debian
> box. So I wrote down the information, moved the cable modem over to my
> debian box, and set it up.
> 
> It worked for about 2 hours. Presumably, the DHCP server switched my
> information on me.
> 
> So I installed the dhcp-client package and set it up. Didn't work. So I
> removed that package and tried dhcpcd, which I actually had documents for.
> That didn't work either.
> 
> 
> Here's the information I have. It's somewhat sparse, but it's all that I
> could find. (information seperated by ----)
> 
> ----
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> 
> # The loopback interface
> iface lo inet loopback
> 
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> 
> iface eth0 inet dhcp
> hostname "cy119366-a"
> #leasehours 1
> #leasetime 3600
> 
> ----
> white:/etc/dhcpc# more config
> # List here the interface that the dhcpcd daemon should use.
> # The default is to assign an IP address to eth0.
> # If you want to disable the daemon, enter "none" here.
> IFACE=eth0
> 
> # Add options here, examples are:
> #  OPTIONS='-h "foo"'      set hostname (needed by some cablemodem
> providers)
> #  OPTIONS='-l 12345'      set leasetime
> OPTIONS='-h cy119366-a'
> ----
> syslog:
> Oct 31 00:03:14 white dhcpcd[274]: timed out waiting for a valid DHCP server
> response
> ----
> 
> Also, ifconfig doesn't show eth0. When I was running DHCP-client, eth0 did
> show up, but without an IP address (not even 0.0.0.0, which is what I was
> lead to believe would happen).
> 
> dhcpcd doesn't show up in a ps, and when run manually eventually exits
> without any output.
> 
> 
> All help is appreciated.
> 
> --Mike

Mike - 
I'm doing this from memory, as I'm not at home, but I think trying a
couple things might help get you somewhere.  Try setting interfaces to
static again and restarting your network - does it come up?  If so they
haven't actually changed your IP.  Just because it's a DHCP server,
doesn't mean they always change it (I don't want to include stuff you
already know - just trying to cover bases).  If that doesn't work, try
setting it back to dhcp and include the word auto - that'll bring it up
at boot and so on.  Then I think the dhcp-client package is the one you
want - dhcpd includes tools for serving dhcp, AFAICR.  In
/etc/dhcp<something - c? client? not sure>.conf you'll want to put your
hostname.  Then try restarting your network, and check your logs.
Good luck, 
Steve

-- 
"Don't discount flying pigs before you have good air defense."
-- [EMAIL PROTECTED]

Reply via email to