Networking interfaces no-existant?
Hello everyone.
I have been using Linux for awhile now and I am have gotten comfortable with it. I built Gentoo successfully and I wanted to learn more so I dove into LFS. (Linux from scratch) I have now booted into my system.
The problem that I am having is that my network interfaces aren't being detected.
I have a 10/100 nic built into my motherboard (Nforce2), that's eth0. Eth1 is a 10/100/1000 PCI Netgear card which is plugged into an internet connected switch. I was able to: ifcfg eth1 add && dhcpcd eth1 on the LFS live cd but when I boot into my newly created lfs system I am unable to do so. I receive the following
ifcfg eth1 add
Code:
/sbin/ifcfg: line 25: [: too many arguments
/sbin/ifcfg: line 26: [: -ge: unary operator expected
/sbin/ifcfg: line 27: [: -ge: unary operator expected
/sbin/ifcfg: line 28: [: -ge: unary operator expected
SIOCFIFFLAGS: No such device
Error: cannot enable interface eth1.
I have all of the appropriate init scripts and dhcpcd installed, but obviously the network related init scripts are failing. I even tried copying the init scripts off of the LFS live cd. This leads me to believe that there are driver issues. After checking /sys/class/net there doesn't appear to be any eth* nodes (although I am not sure this is where the should be) and the same goes for /dev
1.) Perhaps the kernel isn't compiled correctly?
2.) Is there a necessary step that I missed to add the device?
Thanks for your help.