Page 1 of 1

2.4.28/grsec 2.0.2: Network cards can't use dhcp

PostPosted: Tue Dec 14, 2004 5:58 am
by flatface
Hey. I thought I'd put grsec on my server, being very impressed seeing that these patches are exactly what I want. I've run into a problem, though: My network cards fail to work properly.

This is on a Biostar M7VIG Pro (VIA KM266 / VT8235) with both an onboard Via Rhine network card and also a Tulip-based PCI card. I'm only interested in using one at a time; I added the pci card because I thought the onboard wasn't working correctly. Both cards work fine under a stock 2.4 kernel.

After modprobing one of them (they load up properly), I first tried Gentoo's /etc/init.d/net.eth0 init script. Works fine under 2.4.28 vanilla, doesn't under grsec patched 2.4.28. I also tried running dhcpcd manually, but it returns the same reult as the init script: haning for a minute (timeout) and bombing out. ifconfig eth0 shows just one strange error:

TX packets:0 errors:45 dropped:0 overruns:0 carrier:0

Not a good thing, I take it. I'd love to get this working, but I'm out of ideas here. If you need more information, I'll be happy to provide it. My .config file can be found at http://flatface.net/~flatface/config-2.4.28-grsec-2.0.2

PostPosted: Wed Dec 15, 2004 1:17 am
by spender
# CONFIG_FILTER is not set

DHCP requires this to run. It couldn't have worked with the vanilla 2.4.28 kernel if you used the same configuration. This has nothing to do with grsecurity.

-Brad

PostPosted: Wed Dec 15, 2004 2:24 am
by flatface
My God I'm daft. Thank-you, I must have had this option set automatically for me before. Thanks for the response; I'm quite enjoying this patchset.