Computing.Net > Forums > Linux > add another ethernet card

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

add another ethernet card

Reply to Message Icon

Name: ronen
Date: November 17, 2001 at 11:59:02 Pacific
Comment:

hello all
i want to add another ethernet card to my linux box the same as the first one, kudzu doesn't help
do u know haw to do it without reinstalling linux? (i use Redhat 7.1)
tnx for your help
ronen



Sponsored Link
Ads by Google

Response Number 1
Name: ddddummy
Date: November 17, 2001 at 15:15:35 Pacific
Reply:

basically just compile and then load the driver for the card (e.g. "modprobe 8139too" for a realtek; look in the kernel docs for others), it should be added as interface eth1.
then, you can just do something like "ifconfig eth1 192.168.1.xxx up" and it should be up and running.
alas, i don't know what the scripts that do modules/ifconfig at bootup, are called in redhat :,(


0

Response Number 2
Name: Damien
Date: November 17, 2001 at 18:48:28 Pacific
Reply:

Redhat has 'linuxconf', usually it is quite easy to add a card, im not at a linux pc at the moment but i think it is along the lines of 'basic host information' and somewhere in there u can choose a card for eth1, if the kernel module in there doesnt suit your card then I suppose u can download one and install it... u most certainly dont have to reinstall linux tho, but I admit, adding new hardware should be made a lot easier...

Damien.


0

Response Number 3
Name: Guy Allard
Date: November 17, 2001 at 19:02:56 Pacific
Reply:

Once the driver starts OK, ....

On RH 7.1 the releant scripts can be
created in:

/etc/sysconfig/network-scripts

You should be able to look at file:

ifcfg-eth0

to get an idea about how to setup eth1.

I'd suggest not using any of the GUI front
ends to get this going .........

Regards, Guy



0

Response Number 4
Name: ronen
Date: November 18, 2001 at 06:38:24 Pacific
Reply:

well ..and the winner is:ddddummy, he gave me a tool to use and fortunaly i m using the realteck card, BUT, the card won't mount itself at boot time- i need 2 mount it by myself, of course i used the ifcfg-eth1 script and so..
i did it 2 use the ip masquarding and it works but for some reason i can not enter from windows a few sites that surly avaylable from the linux box and r ip musquarading from linux.
do u know y?
tnx
ronen


0

Response Number 5
Name: danny
Date: November 19, 2001 at 14:12:21 Pacific
Reply:

Go in the /etc/sysconfig/network-scripts directory and edit the file ifcfg-eth1 with the following NIC parameters

IPADDR="?.?.?.?"
NETMASK="255.255.255.?"
ONBOOT="yes"

(? = your IP address and netmask)



0

Related Posts

See More



Response Number 6
Name: Benny
Date: April 9, 2002 at 07:21:41 Pacific
Reply:

Hi,

I've got some probs too. I'm a newbie!
Using RedHat7.2 got too cards both using 8139.too as they should

now the prob:
if I configure them (ip, netmask, hw address...)
I've got an message at bootup
SIOCSFFLAGGS: Cannot assign requested address
got this message at both cards (got DSL and ppp0 start normal and get its connection)

Read some Howto's doesn't help I try it now for weeks.

Assign IO Base Adresses, IRQ's in modules.conf doesn't help, cause don't now how the 8139too got it parms for 2 cards (for one it function)

options eth0 8139too io=0x???? irq=15
options eth1 8139too io=0x???? irq=11

? - means: got some probs to get the right addresses (or could 0xe800, 0x2000, 0x4000 and so on ... be? don't think so)

please help before I kill some programmers that make it not easy to use the "better" os ;-)

Benny


0

Sponsored Link
Ads by Google
Reply to Message Icon

Linux - Viper II and LIL... deleted files in TEMP or ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: add another ethernet card

dhcp with 2 ethernet cards www.computing.net/answers/linux/dhcp-with-2-ethernet-cards/7612.html

Ethernet Card Setup in Gentoo www.computing.net/answers/linux/ethernet-card-setup-in-gentoo/25593.html

Ethernet Card not detected www.computing.net/answers/linux/ethernet-card-not-detected/25250.html