When I install Debian, the installer can't find my network card.
I have a Netgear FA-311 that claims to be compatible with linux.
I have tried both Tulip and natsemi as drivers, but both require parameters.
Could somebody give me the parameters or a driver that works without parameters?
*Note* I'm new to linux, so please don't slam me with linux terms.
This 'customer review' suggests that you use the 'digital tulip' driver - unfortunately he doesn't give the actual driver name and I'm on WinDos (eww) so I can't look it up.
The drivers are in a specific directory; you can do:
cd /lib/modules/$(uname -r)/kernel/drivers/net
That will take you to the drivers/net directory of the currently running kernel. You can then look for anything that resembles a tulip or digital driver:
ls *tulip*
ls *digi*
Hmm... then again 'digital' might be 'DE' (for DEC). You can view the entire list of drivers with:
ls | less (or 'more' if you don't have 'less')
Then you can attempt to load one of these modules:
modprobe the_module_name (but without the '.ko' or '.so' part)
If the driver loaded without errors and is actually the correct driver, then this command should display some information:
ifconfig eth0
In fact, you might want to run that ifconfig line first - your driver may be loaded but the network not configured. Otherwise it will tell you 'no such device'.
Once you know the driver and device exist, you need to set it up. How is your network configured? Once you know how to set it up, all this can be easily automated. Network device setup information goes into the file /etc/network/interfaces
Do:
info interfaces
to get some information on how that file is built.
Here is an example of a 'static' IP configuration for a device 'eth0':
auto eth0 (automatically configure on boot)
iface eth0 inet static
address 192.168.10.8
gateway 192.168.10.1
broadcast 192.168.10.255
netmask 255.255.255.0
Here is an example for a device configured via 'dhcp' (most ADSL modems run a dhcp service):
auto eth0
iface eth0 inet dhcp
The automatic configuration via dhcp requires a dhcp client; Debian usually installs 'pump' or 'dhclient'.
NOW - all that configuration does absolutely nothing unless the driver is already loaded. To ensure that it loads at boot, put its name (without .ko/.so) on a line in the /etc/modules file. For example, if the driver is named 'qwerty.so' (qwerty.ko for the 2.6 kernel), then you would add this like to /etc/modules :
driver for Netgear FA311
This 'customer review' suggests that you use the 'digital tulip' driver - unfortunately he doesn't give the actual driver name and I'm on WinDos (eww) so I can't look it up.
http://www.buy.com/prod/Netgear_FA311_Ethernet_Network_Card_10_100BT_PCI/q/loc/101/10249482.html
The drivers are in a specific directory; you can do:
cd /lib/modules/$(uname -r)/kernel/drivers/net
That will take you to the drivers/net directory of the currently running kernel. You can then look for anything that resembles a tulip or digital driver:
ls *tulip*
ls *digi*
Hmm... then again 'digital' might be 'DE' (for DEC). You can view the entire list of drivers with:
ls | less (or 'more' if you don't have 'less')
Then you can attempt to load one of these modules:
modprobe the_module_name (but without the '.ko' or '.so' part)
If the driver loaded without errors and is actually the correct driver, then this command should display some information:
ifconfig eth0
In fact, you might want to run that ifconfig line first - your driver may be loaded but the network not configured. Otherwise it will tell you 'no such device'.
Once you know the driver and device exist, you need to set it up. How is your network configured? Once you know how to set it up, all this can be easily automated. Network device setup information goes into the file /etc/network/interfaces
Do:
info interfaces
to get some information on how that file is built.
Here is an example of a 'static' IP configuration for a device 'eth0':
auto eth0 (automatically configure on boot)
iface eth0 inet static
address 192.168.10.8
gateway 192.168.10.1
broadcast 192.168.10.255
netmask 255.255.255.0
Here is an example for a device configured via 'dhcp' (most ADSL modems run a dhcp service):
auto eth0
iface eth0 inet dhcp
The automatic configuration via dhcp requires a dhcp client; Debian usually installs 'pump' or 'dhclient'.
NOW - all that configuration does absolutely nothing unless the driver is already loaded. To ensure that it loads at boot, put its name (without .ko/.so) on a line in the /etc/modules file. For example, if the driver is named 'qwerty.so' (qwerty.ko for the 2.6 kernel), then you would add this like to /etc/modules :
qwerty