LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2003, 03:26 PM   #16
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

well according to this both cards are working fine they are both activated upon bootup the one has a static/fixed addr while the other has a dynamic/dhcp addr this means that a server like your service provider assigns a addr of their own accord. I guess that u have a cable modem set on this card and thats why it has dhcp ip. Remeber to view the ip on each interface always type ifconfig eth0 and theb ifconfig eth1

good luck

chow
 
Old 10-08-2003, 03:29 PM   #17
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
but I still cannot get to the internet, do I have dhcp installed?
how can I test that, which package.
 
Old 10-08-2003, 03:37 PM   #18
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
su - as root then type ifconfig eth0 down or ifdown eth0 this will disable eth0, to check that it is really doen type ifconfig eth0. then see if u able too surf the net if yes then u have to set routes to eth1 but first try the above.

chow
 
Old 10-08-2003, 03:48 PM   #19
gamu829
Member
 
Registered: Sep 2002
Location: Portland, OR, US
Distribution: Fedora 2
Posts: 47

Rep: Reputation: 15
I used to run two identical NICs on a RH 7.? box a couple of years ago. These were old DEC EWRK3 ISA NICs. and I initially had problems that sound similar to yours. After doing some research, I found I had to edit /etc/modules.conf and specify separate IRQ and IO parameters for them, otherwise only one NIC would work. The entries in modules.conf looked something like this:

alias eth0 ewrk3 irq=9 io=0x300
alias eth1 ewrk3 irq=10 io=0x320

ewrk3 would be replaced with the name of the driver for your NIC. You may need to select different IRQ and IO values appropriate for you NIC.

I also did the same thing with tulip-based PCI NICs, but don't remember if I had to modify /etc/modules.conf or not.

Good Luck!

Greg
 
Old 10-08-2003, 06:06 PM   #20
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
I modified my modules.conf now I can see two different ethernet card of same kind, so one problem is solved, thank you very much

Now I have another problem,

when I try to connect to cable internet connection via eth1, it gives this error

Determining IP for eth1 failed

ifconfig is below


eth0 Link encap:Ethernet HWaddr 00:02:44:4B:E0:3D
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20902 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1267092 (1.2 Mb) TX bytes:3112 (3.0 Kb)
Interrupt:12 Base address:0xe400


eth1 Link encap:Ethernet HWaddr 00:02:44:53:7B:3A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:8 dropped:0 overruns:0 carrier:8
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xe800



lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15552 (15.1 Kb) TX bytes:15552 (15.1 Kb)
 
Old 10-08-2003, 06:34 PM   #21
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
was I supposed to see some info about DHCP
 
Old 10-09-2003, 06:27 PM   #22
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

also since u have made those changes and have nott rebooted type cmd /etc/rc.d/init.d/network restart or just service network restart. Run ifconfig again and see if anything appears. to make sure also check these files cat /etc/sysconfig/networking/device/ifcfg-eth0 and cat /etc/sysconfig/networking/device/ifcfg-eth1 and see the output it must mention dhcp somewhere for eth1.

If both NIC have IP addr then must route info from eth0 to eth1 for it to work.

chow
 
  


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
Problem with ethernet card Kover_25 Linux - Networking 2 04-19-2005 06:20 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 01:33 AM
Problem with ethernet card? ankitgdit Linux - Hardware 3 04-28-2004 03:22 PM
problem with ethernet card n3wb1e Linux - Hardware 1 02-13-2004 09:54 PM
Problem with ethernet card? Machinegun Linux - Networking 32 07-09-2003 06:01 PM


All times are GMT -5. The time now is 08:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration