The last step in netconfig is probing for the network card.
If the card is detected, then /etc/rc.d/rc.netdevices will be created and it will contain a modprob command, that loads the proper module. In my case:
Code:
skalkoto@darkstar:/etc/rc.d$ cat rc.netdevice
# Load module for network device.
# This script is automatically generated during the installation.
/sbin/modprobe 8139too
skalkoto@darkstar:/etc/rc.d$
What do you mean by lspci does not work?
in my case:
Code:
skalkoto@darkstar:~$ /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235PIPC Bus Master IDE (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
skalkoto@darkstar:~$
The bold line is my network card.
Then if I browse to the kernel documentation directory:
/usr/src/linux-2.4.30/Documentation/networking, in the file 00-INDEX, there is a line
Code:
8139too.txt
- info on the 8139too driver for RTL-8139 based network cards.
Anyway this is the hard way. I'm pretty sure that if the card is supported in linux (most network cards are), then the netconfig will probe and automatically detect it.