NEtwork card not recognized
Hey there :)
I am a newbie with linux but i worked very hard to make a triple boot (with success : XP/Backtrack/Slack), and this is my second day on Linux so please accept my apologizes not being a professionnal Here is my problem: My Network is not recognized on my slack 12.1 but it is on my Backtrack here is the result of my lspci on my Backtrack Distribution 03.08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02) after some google search i tried this on my slack ls /lib/modules/*/kernel/drivers/net i have to say that the driver is not present (only the 82596.ko is there). So i guess i have to recompile the kernel .... wich i have no idea about how to do. Many thanks for the help |
Do you have e100.ko module ?
http://hardware4linux.info/component/21359/ |
Yeah i found E100.ko in the both kernel directories ....
How can i make the network card workng now ? Thanks for the previous help :) Edit: i tried a modeprob e100.ko but it tells me that he cant find the module ...... even with modeprob /lib/modules/2.6.24.5/kernel/drivers/net/e100.ko it doesn't allow me to load the module :/ |
Don't put the ko extension:
/sbin/modprobe e100 /sbin/netconfig |
I tried that but it tells me thats there is a lot of error in line 12 23 24 25 etc etc and it can't load the module :/
How can i do ? :-( Any IRC chan where we can speak ? :) |
Hi,
Post the out put of 'ifconfig -a'. I think your device is recognized. Did you run 'netconfig' as root to configure the network? |
Quote:
Ifconfig -a : only the Lo is present :( I tried to do a netconfig as a root but i still can't connect and i have a error message when i try to Ifconfig eth0 Trying to find some reference on google but still not working :( |
It's hi tech forum here, please elaborate with your "not working" :)
|
As root try just typing in the command /sbin/modprobe e100
and see what happens. That is the correct module for that card so either you're entering the wrong command or your configuration is off. Did you do a lsmod to see what modules are already loaded? |
Quote:
modprobe e100 : lot of bad line ... and FATAL Error Invalid Modul Format Lsmod : Actually no module loaded :( Any idea ? |
Could you post the error lines (say 5-7 lines) with /sbin/modprobe e100 ?
|
Quote:
Just booted on the distro and shell is telling me line 1 ignoring bad line starting with 'ELF' line 3 " " " " " {unreadable} same for line 6 8 9 11 13 14 15 16 17 ...... and till 113 |
The complete error messages would help :/
Could you try: /sbin/depmod -a /sbin/modprobe e100 |
Quote:
Same errors with your commands. WARNING : /etc/modprobe.d/e100.ko line 1: ignoring bad line starting with 'ELF' WARNING : /etc/modprobe.d/e100.ko line 3: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 5: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 6: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 8: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 9: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 11: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 12: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 13: ignoring bad line starting (ascii) with (ascii) WARNING : /etc/modprobe.d/e100.ko line 14: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 15: ignoring bad line starting with (ascii) WARNING : /etc/modprobe.d/e100.ko line 16: ignoring bad line starting with (ascii) etc etc till 113 WARNING ERROR inserting mii (/lib/modules/2.6.21.5/kernel/drivers/net/mi.ko :Invalid module format WARNING ERROR inserting e100 /lib/modules/2.6.21.5/kernel/drivers/net/e100.ko 100:Invalid module format here you are :/ |
You can know what exactly the module that you need.
So, from backtrack type these commands as root: Code:
basename `readlink /sys/class/net/eth0/device/driver/module` in my case the module was tg3. Now you know the module that you need. Back to your slackware and in /usr/src/linux-2.6.24.5/ type: Code:
find -type f -name Makefile | xargs grep tg3 in my case the result was Code:
./drivers/net/Makefile:obj-$(CONFIG_TIGON3) += tg3.o type Code:
make menuconfig you will see something like this Code:
Symbol: TIGON3 [=m] You will find topics about compiling kernel. or visit this site http://www.kroah.com/lkn/ Good luck |
All times are GMT -5. The time now is 01:18 PM. |