LinuxQuestions.org
Help answer threads with 0 replies.
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 08-01-2004, 04:39 AM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
2 cards use tulip


i have 2 network cards

a linksys
and a generic davicom based chip set card

they are both useing tulip

but i can only see one in ifconfig

linux only loads up one card

the card closest to the CPU

i confirmed this by switching possitions of the card

when i switch positions the other card loaded up


I NEED BOTH TO LOAD UP


what do i do since they both use the tulip module?????

can some one PLEASE help me i have been trying to get both cards working for a week now




 
Old 08-01-2004, 08:56 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You will have to specify both of them in the /etc/modules.conf file.
Sometimes it is enough to write the following in /etc/modules.conf
Code:
alias eth0 tulip
alias eth1 tulip
Sometimes you will have to add option lines to tell which I/O or IRQ to use for the two cards.

A remark. I have a Davicom based NIC, but I use the dmfe module.
 
Old 08-01-2004, 04:35 PM   #3
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
i added both those to my modules.conf
rebooted my computer

and i only still see the first one in ifconfig

sometimes i will need to add options lines to tell it where it is such as the irq and i/o ???

please explain
 
Old 08-01-2004, 04:45 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Gentoo doesn't accept changes directly in /etc/modules.conf

If you read the top of the file, it says
Code:
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
So add them to /etc/modules.d/aliases and run modules-update to register them.
 
Old 08-01-2004, 04:49 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,105

Rep: Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381
I am not real familar with gentoo.

Is anything at all displayed when you try:

ifconfig eth1 (Assuming this is the interface that isn't being configured?)

If so try:

ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up
 
Old 08-01-2004, 04:53 PM   #6
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
thank you i didn't see that

i did what you told me to and
sigh......

still no second card... listed in ifconfig

here is the output of lspci

0000:00:07.0 Ethernet controller: Lite-On Communications Inc LNE100TX [Linksys E therFast 10/100] (rev 25)
0000:00:08.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip co mpatible 10/100 Ethernet (rev 31)
 
Old 08-01-2004, 05:29 PM   #7
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The option lines look something like
Code:
alias eth0 tulip
options tulip irq=11
The exact options supported by the tulip module I don't know. Also I'm not sure how to set options for two instances of the same module, if you will have to enter two options lines or if you can specify a comma separated list options irq=9,11

Also I would take a look in the log to see what happens during boot. Try dmesg|less to see what is printed on the screen during boot.
 
Old 08-01-2004, 07:14 PM   #8
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
eth0: Davicom DM9102/DM9102A rev 49 at 0xec00, 00:03:B3:01:35:E5, IRQ 10.
eth1: Lite-On PNIC-II rev 37 at 0xe800, 00:A0:CC:E1:8B:81, IRQ 5.

this is what that gave me

and i should do what?
 
Old 08-01-2004, 08:24 PM   #9
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
ok SOLVED ......

thank you guys for you help
they were both loaded on startup
i just had to do ifconfig eth1 up
and it came up

thanks again
 
  


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
Firewire pci cards/pcmcia cards bunyan Red Hat 0 03-03-2005 04:45 PM
Two identical eth cards (tulip driver error) pgmer6809 Linux - Hardware 1 04-20-2004 12:43 AM
formatting multimedia cards, flash cards bigearsbilly Linux - Hardware 0 03-10-2004 08:52 AM
Ethernet Tulip 2 cards Linksys hyperlink1uk Linux - Hardware 0 02-28-2004 12:10 PM
Compile tulip.c to tulip.o? WKoepp Linux - General 10 11-06-2003 09:15 AM

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

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