2.4.28/grsec 2.0.2: Network cards can't use dhcp
Posted: Tue Dec 14, 2004 5:58 am
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
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