[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpcd on slink



A long time ago, in a galaxy far, far way, someone said...

> Well, I'm getting there . . .
> 
> I upgraded to 2.2 (frozen), and that's all working.
> 
> My NIC is working, and if I set the IPADDR, NETMASK, etc., etc., manually, 
> networking works just fine.
> 
> But dhcpcd still refuses to pick the information up from MediaOne; or, its 
> request is not getting out. Syslog reports that it's timing out waiting for 
> a response. [I presume MediaOne is doing the right thing because a Windows 
> system set to use DHCP gets its IP set quite nicely by MediaOne.] After 
> dhcpcd fails, ifconfig reveals, of course, no setting for eth0.

Since this is a cable modem, dhcpcd isn't sending information that the
DHCP server needs - the local cable modem providers do the same.  
Unfortunately, it's not possible to configure dhcpcd to send that
information.  That's why I like to use dhclient.

> I've tried a lot of things: rebooting the cable modem; using the -h (host) 
> and -I (client setting, to specify the MAC address I used on the network 
> card for the computer originally connected to MediaOne) in dhcpcd . . .
> 
> I'm using dhcpcd, because when trying to install dhclient, I get:
> 
> socket: Protocol not available - make sure CONFIG_PACKET and CONFIG_FILTER 
> are defined in your kernel configuration.
> 
> Haven't compiled a new kernel because it seems that dhcpcd should work . . .

The above error is probably why dhcpcd and dhclient don't work - I
recieved the same error myself when I started using DHCP.  Try 'modprobe
af_packet' before using dhcpcd or dhclient.

If this is a kernel you compiled yourself, then your kernel is missing
functionality.  You need to say 'Y' to 'Socket Filtering' and either 'M'
or 'Y' to 'Packet Socket' under 'Networking Options' in the kernel
configuration system, and to the necessary steps to run the new kernel
(unfortunately, 'Socket Filtering' isn't available as a module like
'Packet Socket' is).

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Reply to: