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 09-13-2003, 10:54 PM   #1
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Rep: Reputation: 30
Seting up second network card


i have Slackware and am currently trying to setup a second network card, right now i have an isa card working(NE2000 i think) and i am trying to get this card i got to work(it is a PCI card).

when i boot it gets my isa card and configures it right as "eth0", but my new card gets configured as a loopback and is called "lo"

i have edited the file /etc/rc.d/rc.inet file but that don't help, but i have tried executing it after bootup and that makes both network cards, but when i run it it says "SIOCADDRT: File exists" both before and after it says

Configureing eth0:
ifconfig blah
Configureing eth0:
ifconfig blah

but then when i run ifconfig it says i have eth0(my isa card), eth1(my new PCI card), and lo(the thing that appeared as the second card after boot, and still in loopback)

so what do i do to get both cards working at bootup
 
Old 09-13-2003, 11:14 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 332

Rep: Reputation: 32
You are missing an important step. Each network card has an associated driver, and you specify this /etc/modules.conf. You'll find some entry like
alias eth0 <some name>
in my case
alias eth0 3c59x
so that tells the kernel to load that module whenever the eth0 interface is activated.

Find out which driver is the one for your new card, and add
alias eth1 <that driver>

you can either reboot, or do a depmod -a to get it. The rc.init has little to do with it, you need to use some GUI to configure eth1 or just make the config files.

After that depmod -a, you should be able to get a response to ifconfig eth1.

If you don't know what driver to use, do lspci and see what card and chipset it is, that will give you a clue.

Hope it helps,
mlp
 
  


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
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker Suse/Novell 8 08-29-2006 06:10 PM
Seting the IRQ maginotjr Slackware 9 10-03-2005 04:11 PM
Need help seting up network card and network. indiretto Linux - Networking 1 03-27-2003 09:35 PM
Problems with seting up Windows network printer with printconf-gui ChaosX2 Linux - General 2 07-04-2002 03:48 AM
seting up a gateway 2new2linux Linux - Newbie 1 11-03-2000 11:03 AM


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