LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 10: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, 10: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, 10: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, 10:52 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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, 10: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, 03: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, 03:53 PM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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, 03: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, 04:07 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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 04:17 PM.
 
Old 07-15-2005, 04: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, 04:31 PM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Do not forget to run lilo after kernel install, in this case
 
Old 07-16-2005, 09: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



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

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

All times are GMT -5. The time now is 12:47 AM.

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