PDA

View Full Version : D-Link Gigabit Ethernet DGE-530T driver sk98lin knoppix 3.6



raj_kanthb
06-01-2006, 02:51 PM
I have Knoppix 3.6 that did not recoqnize D-Link DGE-530T Gigabit Ethernet Adapter, so I remastered the CD, and in the process added the driver as per instructions from D-Link web site:

3 INSTALLATION
================
Install linux driver as following command:

0. tar xvzf sk98lin.tgz, then goto sk98lin dir.
1. make all
2. insmod sk98lin.o
3. ifconfig eth0 up 10.xxx.xxx.xxx netmask 255.0.0.0
^^^^^^^^^^^^^^^\ ^^^^^^^^\
IP NETMASK
Now eth0 should active, you can test it by "ping" or get more information by
"ifconfig". If tested ok, continue the next step.

The "ls /proc/net/sk98lin" command will show you the interface name to be
eth0, eth1 etc.

4. cp sk98lin.o /lib/modules/`uname -r`/kernel/drivers/net
5. Add the following lines to /etc/modules.conf:
alias eth0 sk98lin
6. Run "netconfig" or "netconf" to create configuration script ifcfg-eth0
located at /etc/sysconfig/network-scripts or create it manually.
7. Driver will automatically load and configure at next boot time.
***

Now, there is a race condition somewhere and sometimes the driver loads up and sometimes it does not.

At every boot, I see this:

INIT: version 2.78-knoppix booting
modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.27/modules.dep
insmod: Note: /etc/modules.conf is more recent than /lib/modules/2.4.27/modules/dep

And again I get the same message after a few lines at the Autoconfiguring devices... line

At the end again those lines are repeated.

But the driver sometimes loads up perfectly fine, I am able to shared a drive from my windows pc using samba on the knoppix machine and sometimes i dont even see the ethernet adapter show up when I hit:

ifconfig -a

Please help.

Thanks,
Raj

raj_kanthb
06-01-2006, 03:20 PM
For the benefit of others having similar issue:

Identified the issue, there was an older driver (sk98lin.o) already present in the directory:

/lib/modules/2.4.27/kernel/drivers/net/sk98lin/

which was probably conflicting due to a line pointing to that driver in file

/lib/modules/2.4.27/modules.dep

Will try and use modprobe/insmod to use that driver instead of the newer one