Mam też jakieś pliki w tym folderze ze sterami: "mii.c", "mii.h", "nx1001_main.c", "compat.h", "crc32.h", "ethtool.h", "Makefile".
Mam przenieść gdzieś ten folder? Bo jak wpisuję: "cp NX1001.o /lib/modules/`uname -r`/kernel/drivers/net" to wyskakuje mi: "No such file or directory". I moja karta sieciowa to Asus NX1001.
Oto instrukcja:
2. Driver Installation for Linux
-----------------------------------------
a. for kernel 2.4.x
a1. Redhat 7.3 (linux kernel 2.4.18)
a2. Mandrake 8.1 (kernel 2.4.
b. for kernel 2.6.x
c. automatically load and configure at next boot time
a.for kernel 2.4.x
-------------------
a1. Redhat 7.3 (linux kernel 2.4.18)
a1.1. install way 1:
#make all =>generate NX1001.o
#cp NX1001.o /lib/modules/2.4.18-3/kernel/drivers/net/
#insmod ./NX1001.o
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0
a1.2. install way 2:
#make all =>generate NX1001.o
#cp NX1001.o /lib/modules/2.4.18-3/kernel/drivers/net/
#insmod./NX1001.o
#setup
[network configuration] =>to setup your ip address
#ifup eth0
eth0 is your network adapter, ex: eth0, eth1...
a2. Mandrake 8.1 (kernel 2.4.
#make all => generate Nx1001.o
#cp NX1001.o /lib/modules/2.4.8-26mdk/kernel/drivers/net
#insmod ./NX1001.o
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0
b. for kernel 2.6.x
-------------------
#make all => generate NX1001.ko
#insmod ./NX1001.ko (or NX1001.o)
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0
c. automatically load and configure at next boot time
-----------------------------------------------------
c1. cp NX1001.o /lib/modules/`uname -r`/kernel/drivers/net
*note: The `uname -r` is a command. Don't replace `uname -r` with
2.4.18, 2.4.20smp, or some others. Must type `uname -r` directly.
c2. Add the following lines at /etc/modules.conf:
alias eth0 NX1001
options NX1001 <optional parameters>
c3. Run "netconfig" or "netconf" to create configuration script
ifcfg-eth0 located at /etc/sysconfig/network-scripts or
create it manually.
[see - Configuration Script Sample]
c4. Driver will automatically load and configure at
next boot time.
c5. Configuration Script Sample
===========================
Here is a sample of a simple configuration script:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
POOTPROTO=none
BROADCAST=207.200.5.255
NETWORK=207.200.5.0
NETMASK=255.255.255.0
IPADDR=207.200.5.2