EFW Support

Support => Hardware Support => Topic started by: hannibal-lecter on Friday 30 April 2010, 10:09:25 pm



Title: Problem with newtwork card
Post by: hannibal-lecter on Friday 30 April 2010, 10:09:25 pm
I've a network card trendnet TE100-PCIWN, endian did'nt detect it,so i looked for it's module at "/lib/modules/`version name/kernel/drivers/net/ and i found it :the module's name 8139cp (with the help of mrkroket  :) ) .
The next step is to insert the module manually but  the problem is that when i use the command  "insmod 8139cp" I got : "insmod:can't read 8139cp" no such file or directory and I tried that with a lot of other modules and I got the same answer .
So please if any one  could help me, it's been 4 days that I've this problem and I can't stay like this ,I'm a training and I 've  to finish my work


Title: Re: Problem with newtwork card
Post by: mrkroket on Saturday 01 May 2010, 10:07:45 am
I think it's insmod 8139cp.ko
The problem is not related anymore to Endian, it's related to Linux in general. Google for modprobe 8139cp.

First, check what drivers are using your Networks cards. for example, if your trendnet TE100-PCIWN is eth1 do:
ethtool -i eth1
This you will see if it is loading the 8139 driver.
Mine shows this way:
driver: 8139too
version: 0.9.28
firmware-version:
bus-info: 0000:03:07.0


If itsn't that driver, you must remove the actual driver (because it doesn't work)

rmmod <<baddriver>>
Also, ban the driver from the modprobe by adding it in /etc/modprobe.d/
nano /etc/modprobe.d/blacklist
Add this line:
blacklist <<baddriver>>
Save (Ctrl+O)  and close(Ctrl+X)

Now add your good driver, either 8139cp or 8139too
Edit your /etc/modprobe.conf and add the new driver as an eth alias:
nano /etc/modprobe.conf
Once editing, add that line:
alias eth 8139too
Save (Ctrl+O)  and close(Ctrl+X)

After that, do the following commands
insmod 8139too.ko
depmod -a
modprobe 8139too


After that, ethtool -i eth1 should give the correct driver.
Also, check dmesg output for any error.

If not, just google. Using modprobe is a very generic problem, you should have tons of info about it.