LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2003, 09:13 PM   #1
Canadian_2k2
Member
 
Registered: Oct 2002
Location: BC,Canada
Distribution: Debian
Posts: 92

Rep: Reputation: 15
two ethernet cards


I have two ethernet cards, but one seems to not be working very well, (it works fine, then stops for a few minutes)
How do i enable my second one (eth1). ifconfig doesnt display it, and im not sure if it was even detected. It was a Ne200 pci or something.

How do i switch over to it?


Thanks
 
Old 12-07-2003, 09:43 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
example (use your own IPs):

ifconfig eth1 inet 192.168.0.1 netmask 255.255.255.0

see if that works... if it does, then to make the changes permanent you just need to edit the configuration, but it's different from distro to distro... what distro are you using?
 
Old 12-07-2003, 09:55 PM   #3
Canadian_2k2
Member
 
Registered: Oct 2002
Location: BC,Canada
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 15
Debian with a new kernel (2.6.0-test11)
ifconfig eth0 :
eth0 Link encap:Ethernet HWaddr 00:00:21:EF:8F:51
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:21ff:feef:8f51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:143114 errors:0 dropped:0 overruns:0 frame:0
TX packets:131260 errors:26 dropped:0 overruns:0 carrier:52
collisions:828 txqueuelen:1000
RX bytes:157697431 (150.3 MiB) TX bytes:13415850 (12.7 MiB)
Interrupt:11 Base address:0xef80

######################
ifconfig eth1 (my network card that i want to switch to)
ifconfig eth1
eth1: error fetching interface information: Device not found

I have two PCI ethernet cards, how do i switch to the new one, and this may be coincidental, but i compiled a new kernel a few weeks ago (test 9 i think) and have been upgrading on ever release, but the network card seemed to have trouble after that.
 
Old 12-07-2003, 10:41 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
it sounds to me like the module for the nic isn't loaded or something... or did you compile it into the kernel? you're sure the hardware isn't faulty, right?

this might also be an issue related to the fact it's a 2.6 kernel... i'm not sure about "testing" and "unstable", but i don't think "stable" (woody) would be very happy with a 2.6... but as i said, i'm not sure... what version of debian are you running?

i'd say boot a slackware-live cd (small, no installation needed, and it automagically sets-up your hardware) to be sure the card works, and if it does, you'll know exactly what module is used for it (unless the 2.4 and 2.6 modules are different or something)...

if you just wanna get rid of the card and use the other one, you could always remove the card physically or de-activate it in the bios (if it's onboard)...

i'd use slackware-live as a stethoscope first, just to make sure everything is okay physically, and to gain some logical insight...

http://www.slackware-live.org/

=)
 
Old 12-07-2003, 10:58 PM   #5
Canadian_2k2
Member
 
Registered: Oct 2002
Location: BC,Canada
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 15
right, yah debian unstable, and im not sure if eth0 is broken, i think it is, that is why im switching cards. But ill try the slack live CD, actually, i have knoppix live cd, so ill use that

and i have ne2k_pci and ne as modules, for my other card (eth0) a RealTek RTL-8029
 
  


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
Two ethernet cards Scorper Linux - Hardware 1 06-05-2005 07:38 AM
using 2 ethernet cards one Tx and one Rx kayser Linux - Networking 11 05-03-2004 02:03 PM
2 ethernet cards.. Nyybai Slackware 8 04-12-2004 11:49 AM
2 Ethernet Cards matt80 Linux - Networking 14 12-01-2003 03:19 PM
Ethernet Cards and Sound Cards SchizoIV Linux - Newbie 2 07-05-2002 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 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