KC3: Networking worked during installation, but now that I compiled my own kernel, it doesn't work anymore. What's wrong?
Firstly, you need to make sure you have the correct kernel modules compiled into the kernel (found in Device Drivers -> Network Device Support -> Ethernet xxxMbit). You can choose which one you have using the output of lspci and the kernel help with each network driver. For instance, my lspci output is:
Code: Select all
...
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
...If you know you have the correct driver compiled in, and your network uses dhcp you don't need to do any extra configuration - you should already have a dhcp client installed (dhcpcd), so simply run '/etc/init.d/net.eth0 start'. If your network card is a different number (eg eth1) create the net.eth1 script as follows:
Code: Select all
cd /etc/init.d
ln -s net.eth0 net.eth1Code: Select all
dhcpcd -d ethxCode: Select all
config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" )Code: Select all
config_eth0=( "192.168.0.2 netmask 255.255.255.0" )Hopefully this should get you a working network connection, so you can then add net.eth0 to the startup script to have networking brought up on boot: rc-update add net.eth0 boot (or net.eth1 as needed)


