LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2007, 12:16 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Eth0 or Eth1


Hello
I guess the reason to get eth0 and eth1 is that I have two network
cards. I know there is built in card though I bought a good one and
inserted.
What is the working card?

I guess two cards is necessary when you have a server. One for the
Internet and the other one is for your network.
------------------------------------------------------------------------


linux-3vxw:/home/Niss # ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:0B:6A:C2:93:EC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0xe400

eth1 Link encap:Ethernet HWaddr 00:10:4B:45:5C:12
inet addr:87.251.126.142 Bcast:255.255.255.255
Mask:255.255.224.0
inet6 addr: fe80::210:4bff:fe45:5c12/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:530044 errors:0 dropped:0 overruns:0 frame:0


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0



sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 09-12-2007, 12:17 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Well eth1 has an IP address, but define "working".
 
Old 09-12-2007, 12:21 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you're not intending to use both of those, you should reboot your machine, enter BIOS (by hitting del or F10 or whatever you're told to, to enter BIOS) and disable the onboard ethernet card. That's the easiest route.

If eth1 has an ip address and you have a "working" connection, that's the card you're asking about. In that case eth0 is probably the internal one.
 
Old 09-12-2007, 12:30 PM   #4
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Now I am using open SUSE 10.2. I am writing using open SUSE 10.2. I can go to the Internet easily.

So eth1 is the working one.

The reason I bought an extra NIC and inserted was the built in one was rotten. It couldn't go the Internet. So I bought an extra one and inserted and connected to the Internet immediately.

What is sit O and lo here?
-------------------------------------------------------------------

Now I installed Slackware 12.0 on this computer. It can't go to the Internet. Slackware works but I can't go to the Internet from Slackware. It shows both eth0 and eth1.

Do you have any experience in Slackware network configuration?

Last edited by Gins; 09-12-2007 at 12:31 PM.
 
Old 09-12-2007, 12:40 PM   #5
digen
Member
 
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
sit0 is an IPv6-to-IPv4 tunnel. This is the only info I've been able to gather. lo is the loopback interface.i.e localhost 127.0.0.1
 
Old 09-12-2007, 01:20 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Gins View Post
Now I installed Slackware 12.0 on this computer. It can't go to the Internet. Slackware works but I can't go to the Internet from Slackware. It shows both eth0 and eth1.

Do you have any experience in Slackware network configuration?
I'm not sure that Slackware is a good choice for you,
mate; it requires *reading* and *thought*.

Have a look at /etc/rc.d/rc.inet1.conf (I haven't used
netconfig in such a long time because I always hack my
files manually that I can't recall whether it lets you
set-up a second NIC or not).



Cheers,
Tink
 
Old 09-12-2007, 01:24 PM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
In Slackware 12.0 , I found the following:

1. Settings

2 Internet and Networks

3. Network settings


When I clicked Network settings, the message was ' Your platform
is not supported'.

It showed me a long list and in it I found the following which
are supported. The list is a long one. All the supported Linux
versions is there.

Slackware 10.0
Slackware 10.1.0
Slackware 10.2.0
Slackware 9.1.0
Slackware 7.0
Slackware 9.0
Slackware 9.1

[ Mine is Slackware 12.0.]

I guess the problem is it does not recognizes my version of
Slackware.

Your thoughts are welcome.

I can't go to the Internet using Slackware.
 
Old 09-12-2007, 03:17 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And I told you which file to look at to alleviate that.

This is Slackware.

No hand-holding.

No GOOEY pointy-clicky stuff. And no, chances are that (whatever
WindowManager/DesktopEnvironment you're using) there's no way to
configure anything via GOOEY. vi/emacs is your friend.

I really think that Slackware is not for you. Or maybe, you're
not for Slackware?



Cheers,
Tink
 
Old 09-12-2007, 03:20 PM   #9
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I want Slackware. I hope someone help me to solve the minor issues.
 
Old 09-12-2007, 03:34 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
For ducks sake ... edit the file I told you. No one else will
suggest anything else, because "That's it", there is no other way.

Edit /etc/rc.d/rc.inet1.conf using your preferred editor.

If you can't do that then there's no help for you.


Cheers,
Tink
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 02:33 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:58 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
Open Source Consulting | Domain Registration