LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2005, 11:08 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Network not configured - netconfig doesn't help!!


On another Slackware 10.1 box I tried replacing the network card that was in there with some better ones I have. None of them worked just plugging them in. So now I've got the old one back in, but I can't get it working. lspci shows my network card, but netconfig doesn't properly configure it. What can I do?
 
Old 07-14-2005, 11:27 PM   #2
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
Re: Network not configured - netconfig doesn't help!!

Quote:
Originally posted by NetRAVEN5000
On another Slackware 10.1 box I tried replacing the network card that was in there with some better ones I have. None of them worked just plugging them in. So now I've got the old one back in, but I can't get it working. lspci shows my network card, but netconfig doesn't properly configure it. What can I do?
post the results of "ifconfig eth0"
try this if eth0 is there...."ifconfig eth0 up"
 
Old 07-14-2005, 11:34 PM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
quote:
post the results of "ifconfig eth0"
eth0: error fetching interface information: Device not found!
 
Old 07-14-2005, 11:52 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Look at the card it says at lspci and search on the web which module should be loaded so Linux can recognize it. Load the module and run netconfig again.

If that works, add the line to load the module in /etc/rc.modules so it will be loaded each boot.
 
Old 07-14-2005, 11:54 PM   #5
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
first off post the make and model of ur NIC
ill help you look for a driver, if its linksys then its more than likely gonna be tulip
 
Old 07-15-2005, 04:41 PM   #6
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Haven't searched the Web for a module yet, but here's what lspci says about my Ethernet card:

00:0b.0 Ethernet controller: Winbond Electronics Corp W89C940

BTW, I'm using the 2.6.10 kernel from the "testing" packages on the Slackware CDs.
 
Old 07-15-2005, 04:53 PM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
I think you have to compile ne2k-pci module from your 2.6.10 kernel tree

Did you install kernel-source 2.6.10 package ?
 
Old 07-15-2005, 04:58 PM   #8
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
I think you have to compile ne2k-pci module from your 2.6.10 kernel tree

Did you install kernel-source 2.6.10 package ?
Yes, I did install the kernel-source-2.6.10 packages.
How do I compile this module? Do I have to go through and reconfig and recompile the kernel?
 
Old 07-15-2005, 05:07 PM   #9
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
No just the module I think,
copy the config file for kernel 2.6.10 (it is surelly in /boot)
in /usr/src/linux, rename it .config
then in /usr/src/linux :
make menuconfig

go to :
Device Drivers / Networking support/
Network device support / Ethernet (10 or 100Mbit)
Tulip family network device support (enable it if disabled)

Then, add Winbond W89c840 Ethernet support if you have it

[edit]
To compile it as module, mark the corresponding checkbox with a <M>

Also after that, make modules && make modules_install

[edit2]
Or you could choose to compile and install the driver from :
http://www.scyld.com/ethercard_drivers.html

Last edited by keefaz; 07-15-2005 at 05:17 PM.
 
Old 07-15-2005, 05:27 PM   #10
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Thanks keefaz!
I'm going to try recompiling the kernel, though, with built-in support for my Ethernet card rather than modular support.
 
Old 07-15-2005, 05:31 PM   #11
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Do not forget to run lilo after kernel install, in this case
 
Old 07-16-2005, 10:34 AM   #12
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Yay - it works! Thanks guys!
 
  


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 configured, but still can't connect to router! mikeh2 Linux - Wireless Networking 9 11-11-2005 07:34 AM
Netconfig or some network problem! planoru Slackware 7 10-18-2005 07:15 AM
NetConfig XPediTioN Slackware 2 07-13-2003 09:08 PM
XWindow does not start when network adapter configured to use DHCP osorioj Linux - General 0 03-08-2003 12:26 AM
Setting DHCP on a network card in text mode (no netconfig!) ferrantepunto Linux - Networking 3 12-11-2002 07:58 AM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration