LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2008, 11:21 AM   #1
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Rep: Reputation: 15
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
 
Old 09-07-2008, 11:26 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Do you have e100.ko module ?
http://hardware4linux.info/component/21359/
 
Old 09-07-2008, 12:04 PM   #3
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
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 :/

Last edited by Winol; 09-07-2008 at 12:32 PM.
 
Old 09-07-2008, 12:52 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Don't put the ko extension:
/sbin/modprobe e100
/sbin/netconfig
 
Old 09-07-2008, 04:15 PM   #5
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
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 ?
 
Old 09-07-2008, 05:04 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Post the out put of 'ifconfig -a'. I think your device is recognized.

Did you run 'netconfig' as root to configure the network?
 
Old 09-08-2008, 11:59 AM   #7
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by onebuck View Post
Hi,

Post the out put of 'ifconfig -a'. I think your device is recognized.

Did you run 'netconfig' as root to configure the network?

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

Last edited by Winol; 09-08-2008 at 12:56 PM.
 
Old 09-08-2008, 12:01 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It's hi tech forum here, please elaborate with your "not working"
 
Old 09-08-2008, 12:14 PM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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?
 
Old 09-08-2008, 01:15 PM   #10
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by masonm View Post
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?



modprobe e100 : lot of bad line ... and FATAL Error Invalid Modul Format



Lsmod : Actually no module loaded



Any idea ?
 
Old 09-08-2008, 02:17 PM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Could you post the error lines (say 5-7 lines) with /sbin/modprobe e100 ?
 
Old 09-08-2008, 02:52 PM   #12
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz View Post
Could you post the error lines (say 5-7 lines) with /sbin/modprobe e100 ?

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
 
Old 09-08-2008, 03:19 PM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The complete error messages would help :/
Could you try:
/sbin/depmod -a
/sbin/modprobe e100
 
Old 09-08-2008, 03:29 PM   #14
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz View Post
The complete error messages would help :/
Could you try:
/sbin/depmod -a
/sbin/modprobe e100
well the charachters are ASCII and i know how to type them in the forum

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 :/
 
Old 09-08-2008, 03:33 PM   #15
Linux For Ever
Member
 
Registered: Jun 2006
Location: KSA
Distribution: Slackware 12.2
Posts: 49

Rep: Reputation: 15
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`
change eth0 with your NIC.

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
change tg3 with your module.

in my case the result was
Code:
./drivers/net/Makefile:obj-$(CONFIG_TIGON3) += tg3.o
you have to notes CONFIG_* , in my case TIGON3 is what i need.

type
Code:
make menuconfig
press / key to search and type what you saw after CONFIG_. In my case TIGON3.

you will see something like this
Code:
Symbol: TIGON3 [=m]                                                                                                 
   Prompt: Broadcom Tigon3 support                                                                                     
     Defined at drivers/net/Kconfig:2256                                                                               
     Depends on: NETDEVICES && NETDEV_1000 && PCI                                                                      
     Location:                                                                                                         
       -> Device Drivers                                                                                               
         -> Network device support (NETDEVICES [=y])                                                                   
           -> Ethernet (1000 Mbit) (NETDEV_1000 [=y])
now you have to enable your driver "in my case I'll but M or * before Broadcom Tigon3 support" and build the kernel.

You will find topics about compiling kernel.

or visit this site
http://www.kroah.com/lkn/

Good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network card not recognized cnanu SUSE / openSUSE 10 09-04-2008 12:09 AM
no network (wifi card is recognized) Kanaflloric Ubuntu 3 07-14-2008 05:06 PM
network card not recognized on knoppix livecd yezzir Linux - Networking 1 07-12-2007 03:14 PM
Network card not recognized in knoppix LiveCD redss Linux - Hardware 0 12-10-2004 10:58 AM
Network card not recognized niac Linux - Networking 7 10-24-2002 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration