04/09/2006, 07:14
|
| Colaborador | | Fecha de Ingreso: julio-2002 Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 22 años, 5 meses Puntos: 29 | |
Cita: b. for kernel 2.6.x
-------------------
#make all
#insmod ./sundance.ko (or sundance.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 sundance.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 sundance
options sundance <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. Saludos
__________________ “Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar” |