LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-15-2008, 02:42 PM   #1
pstaykov
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Unhappy Hepl plz :)


Hi all,
Yesterday i install Slack 11 and somehow i manage to install my internet connection to slack, but today i put second ethernet card to share and use my slack as router to my other pc(winxp) and ... problem . My internet is gone ... I don't know how to configure my 2 nic's under linux. PLease help
p.s. Excuse my english
 
Old 12-15-2008, 03:01 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Welcome to LQ!!

Why 11? Slackware is now at 12.2

I don't know that much about multiple ethernet cards, but start by running dmesg and ifconfig -a to see what the system is recognizing and starting up automatically. Here is the output of "dmesg|grep eth" on my machine:
Code:
eth0: Tigon3 [partno(BCM5752KFBG) rev 6002 PHY(5752)] (PCI Express) 10/100/1000Base-T Ethernet 00:19:b9:21:2a:f6
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
eth0: no IPv6 routers present
among other things, this says that a card was found, assigned to eth0, and matched up with the "tg3" driver. "ifconfig" confirms that eth0 is up and running and has an IP assigned.

If it looks like your cards are being recognized, then you can bring them up manually using "ifconfig eth0 up" (or eth1).
Or---down, using "ifconfig eth0 down".

Finally, in your configuration files, you will be able to setup how each interface starts up, IP, etc.
 
Old 12-15-2008, 03:24 PM   #3
pstaykov
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I don't know where to see that my two nic's works. "ifconfig -a" shows that i have two nics ... but without dhcp settings on eth0. thats where i put
my hands up
 
Old 12-15-2008, 03:33 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Did you plug the internet cable into the new nic? It is possible the new nic is actually the first. All depends on PCI IRQ addressing.

Brian
 
Old 12-15-2008, 03:36 PM   #5
pstaykov
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
no my internet cable is still on my eth0 (where i put it yesterday, but not now (winxp on other ps))
 
Old 12-15-2008, 03:46 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by pstaykov View Post
I don't know where to see that my two nic's works. "ifconfig -a" shows that i have two nics ... but without dhcp settings on eth0. thats where i put
my hands up
go to whereever you setup your internet configuration and add information for the other card.
(On my system (slackware 12.2): /etc/rc.d/rc.inet1.conf)
 
Old 12-15-2008, 03:50 PM   #7
bzyk
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Debian, Slackware
Posts: 42

Rep: Reputation: 15
yea, this is known problem (as for me in slack 11. Do you have the same network cards? Show us your output from "ip a show" command.
Just put your cable to second card. In my opinion this eth numeration just replace...
 
Old 12-16-2008, 04:29 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
As above post the info of /sbin/ifconfig -a and just want to make sure check the mac address of the teo interfaces and verify you have the internet cable connected to the correct card by looking at its mac address written on it.

Brian
 
  


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
I need Hepl about Compilation in LFS (Linux From Scratch)...!!! luckybtn Linux - Newbie 1 07-30-2008 05:30 AM
hepl a n00b out--gnomemeeting kern2.6.x alsa1.0.1 alexLinux Linux - General 0 01-20-2004 01:31 PM
postfix mail HEPL!!! balam Linux - Security 1 12-02-2003 01:45 PM
hepl planning apache server installation ScreeminChikin Linux - General 4 12-27-2002 01:57 PM
debian 2.2 rev4 hepl vicente Linux - Distributions 1 05-13-2002 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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