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

Bug#158426: DHCP support is broken on compact rescue disk



severity 158426 important
quit

Tue, Aug 27, 2002 at 01:03:01AM -0400 wrote:
> Package: boot-floppies
> Tags: woody
> 
> It appears that the kernel for the woody compact rescue disk does not
> have CONFIG_PACKET or CONFIG_FILTER included.  This is sad, because

Something else must be going on, IMO.

The kernel configuration is correct:
$ wget -q
http://http.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/compact/kernel-config
$ grep "CONFIG_PACKET" kernel-config ; grep CONFIG_FILTER
kernel-config
CONFIG_PACKET=m
CONFIG_FILTER=y
$

The module is present:
$ wget -q
http://http.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/compact/root.bin
-O - | zcat > root
$ sudo mount -o loop root /mnt/
$ find /mnt/ | grep af_packet
/mnt/lib/modules/misc/af_packet.o
$ 

And should be loaded when the system boots:
$ grep af_packet /mnt/etc/init.d/rcS 
insmod /lib/modules/af_packet.o >/dev/null 2>&1 && echo af_packet >>/etc/modules
insmod /lib/modules/misc/af_packet.o >/dev/null 2>&1 && echo af_packet >>/etc/modules
$

What is going on here?


> although this kernel has built-in ethernet drivers, dhclient-2.2.x does
> not work.  As well, it appears that dhclient wants /var/lib/dhcp/ which
> also does not exist. (Although I am not sure if it will gracefully fail
> in this case.)

Error message?  Can you do a :
$ cat /proc/modules

to verify that the module is not loaded.  Can you run dhclient
manually?

Thanks,

David



Reply to: