Networking Forums

Networking Forums > Computer Networking > Linux Networking > configure eth1

Reply
Thread Tools Display Modes

configure eth1

 
 
Thufir
Guest
Posts: n/a

 
      08-24-2006, 06:51 AM
The eth0 seems to be working fine, but I can't bring up eth1. It's an
older card, so it _could_ be the card, but it's more likely to be a
configuration issue.

I'm not sure from the following, but it seems that I don't need a module
for the kernel for this card. From the menu: system, administration,
network brings up the network configuration screen, which shows eth1 as
inactive, but can't be enabled. The GUI reports that:

"3c59x device eth1 does not seem to be present, delaying initialization."

But clearly it's present as it's being identified.


[root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]# ifconfig -a
dev1804289383 Link encap:Ethernet HWaddr 00:50A:68:8C:B2
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x8000

eth0 Link encap:Ethernet HWaddr 00:16:EC:1C:8E:11
inet addr:192.168.2.145 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::216:ecff:fe1c:8e11/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5082 errors:0 dropped:0 overruns:0 frame:0
TX packets:4579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3734221 (3.5 MiB) TX bytes:539815 (527.1 KiB)
Interrupt:185 Base address:0xb000

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:4966 errors:0 dropped:0 overruns:0 frame:0
TX packets:4966 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3232865 (3.0 MiB) TX bytes:3232865 (3.0 MiB)

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)

[root@arrakis ~]#
[root@arrakis ~]# dmesg | grep eth
eth1: SiS 900 PCI Fast Ethernet at 0xb000, IRQ 185, 00:16:ec:1c:8e:11.
eth0: Media Link On 100mbps full-duplex
eth0: no IPv6 routers present
eth0: Media Link On 100mbps full-duplex
eth0: no IPv6 routers present
[root@arrakis ~]#
[root@arrakis ~]# ifconfig eth1 restart
restart: Unknown host
ifconfig: `--help' gives usage information.
[root@arrakis ~]# ifconfig eth1 down
eth1: unknown interface: No such device
[root@arrakis ~]# ifconfig eth1 up
eth1: unknown interface: No such device
[root@arrakis ~]#
[root@arrakis ~]# cat /etc/modprobe.conf
alias eth0 sis900
alias scsi_hostadapter sata_sis
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-intel8x0
alias eth1 3c59x
alias dev1804289383 3c59x
[root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:16:EC:1C:8E:11
ONBOOT=yes
TYPE=Ethernet
[root@arrakis ~]#
[root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.0.1
[root@arrakis ~]#
[root@arrakis ~]# date
Thu Aug 24 07:41:59 IST 2006
[root@arrakis ~]#
[root@arrakis ~]#




--
Thufir
<http://hawat.thufir.googlepages.com/>
 
Reply With Quote
 
 
 
 
Alton Yu
Guest
Posts: n/a

 
      08-26-2006, 06:22 PM
Thufir wrote:
> The eth0 seems to be working fine, but I can't bring up eth1. It's an
> older card, so it _could_ be the card, but it's more likely to be a
> configuration issue.
>
> I'm not sure from the following, but it seems that I don't need a module
> for the kernel for this card. From the menu: system, administration,
> network brings up the network configuration screen, which shows eth1 as
> inactive, but can't be enabled. The GUI reports that:
>
> "3c59x device eth1 does not seem to be present, delaying initialization."
>
> But clearly it's present as it's being identified.
>
>
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]# ifconfig -a
> dev1804289383 Link encap:Ethernet HWaddr 00:50A:68:8C:B2
> BROADCAST MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:177 Base address:0x8000
>
> eth0 Link encap:Ethernet HWaddr 00:16:EC:1C:8E:11
> inet addr:192.168.2.145 Bcast:192.168.2.255 Mask:255.255.255.0
> inet6 addr: fe80::216:ecff:fe1c:8e11/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5082 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4579 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:3734221 (3.5 MiB) TX bytes:539815 (527.1 KiB)
> Interrupt:185 Base address:0xb000
>
> 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:4966 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4966 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3232865 (3.0 MiB) TX bytes:3232865 (3.0 MiB)
>
> 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)
>
> [root@arrakis ~]#
> [root@arrakis ~]# dmesg | grep eth
> eth1: SiS 900 PCI Fast Ethernet at 0xb000, IRQ 185, 00:16:ec:1c:8e:11.
> eth0: Media Link On 100mbps full-duplex
> eth0: no IPv6 routers present
> eth0: Media Link On 100mbps full-duplex
> eth0: no IPv6 routers present
> [root@arrakis ~]#
> [root@arrakis ~]# ifconfig eth1 restart
> restart: Unknown host
> ifconfig: `--help' gives usage information.
> [root@arrakis ~]# ifconfig eth1 down
> eth1: unknown interface: No such device
> [root@arrakis ~]# ifconfig eth1 up
> eth1: unknown interface: No such device
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/modprobe.conf
> alias eth0 sis900
> alias scsi_hostadapter sata_sis
> alias snd-card-0 snd-intel8x0
> options snd-card-0 index=0
> options snd-intel8x0 index=0
> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
> }; /sbin/modprobe -r --ignore-remove snd-intel8x0
> alias eth1 3c59x
> alias dev1804289383 3c59x
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:16:EC:1C:8E:11
> ONBOOT=yes
> TYPE=Ethernet
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
> # Please read /usr/share/doc/initscripts-*/sysconfig.txt
> # for the documentation of these parameters.
> ONBOOT=yes
> USERCTL=no
> IPV6INIT=no
> PEERDNS=yes
> TYPE=Ethernet
> DEVICE=eth1
> BOOTPROTO=none
> NETMASK=255.255.255.0
> IPADDR=192.168.0.1
> [root@arrakis ~]#
> [root@arrakis ~]# date
> Thu Aug 24 07:41:59 IST 2006
> [root@arrakis ~]#
> [root@arrakis ~]#



Please also post the output of lspci.
 
Reply With Quote
 
Alton Yu
Guest
Posts: n/a

 
      08-26-2006, 06:27 PM
Thufir wrote:
> The eth0 seems to be working fine, but I can't bring up eth1. It's an
> older card, so it _could_ be the card, but it's more likely to be a
> configuration issue.
>
> I'm not sure from the following, but it seems that I don't need a module
> for the kernel for this card. From the menu: system, administration,
> network brings up the network configuration screen, which shows eth1 as
> inactive, but can't be enabled. The GUI reports that:
>
> "3c59x device eth1 does not seem to be present, delaying initialization."
>
> But clearly it's present as it's being identified.
>
>
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]# ifconfig -a
> dev1804289383 Link encap:Ethernet HWaddr 00:50A:68:8C:B2
> BROADCAST MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:177 Base address:0x8000
>
> eth0 Link encap:Ethernet HWaddr 00:16:EC:1C:8E:11
> inet addr:192.168.2.145 Bcast:192.168.2.255 Mask:255.255.255.0
> inet6 addr: fe80::216:ecff:fe1c:8e11/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5082 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4579 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:3734221 (3.5 MiB) TX bytes:539815 (527.1 KiB)
> Interrupt:185 Base address:0xb000
>
> 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:4966 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4966 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3232865 (3.0 MiB) TX bytes:3232865 (3.0 MiB)
>
> 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)
>
> [root@arrakis ~]#
> [root@arrakis ~]# dmesg | grep eth
> eth1: SiS 900 PCI Fast Ethernet at 0xb000, IRQ 185, 00:16:ec:1c:8e:11.
> eth0: Media Link On 100mbps full-duplex
> eth0: no IPv6 routers present
> eth0: Media Link On 100mbps full-duplex
> eth0: no IPv6 routers present
> [root@arrakis ~]#
> [root@arrakis ~]# ifconfig eth1 restart
> restart: Unknown host
> ifconfig: `--help' gives usage information.
> [root@arrakis ~]# ifconfig eth1 down
> eth1: unknown interface: No such device
> [root@arrakis ~]# ifconfig eth1 up
> eth1: unknown interface: No such device
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/modprobe.conf
> alias eth0 sis900
> alias scsi_hostadapter sata_sis
> alias snd-card-0 snd-intel8x0
> options snd-card-0 index=0
> options snd-intel8x0 index=0
> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
> }; /sbin/modprobe -r --ignore-remove snd-intel8x0
> alias eth1 3c59x
> alias dev1804289383 3c59x
> [root@arrakis ~]#
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:16:EC:1C:8E:11
> ONBOOT=yes
> TYPE=Ethernet
> [root@arrakis ~]#
> [root@arrakis ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
> # Please read /usr/share/doc/initscripts-*/sysconfig.txt
> # for the documentation of these parameters.
> ONBOOT=yes
> USERCTL=no
> IPV6INIT=no
> PEERDNS=yes
> TYPE=Ethernet
> DEVICE=eth1
> BOOTPROTO=none
> NETMASK=255.255.255.0
> IPADDR=192.168.0.1
> [root@arrakis ~]#
> [root@arrakis ~]# date
> Thu Aug 24 07:41:59 IST 2006
> [root@arrakis ~]#
> [root@arrakis ~]#



Please also post the output of lspci.
 
Reply With Quote
 
Thufir
Guest
Posts: n/a

 
      08-28-2006, 08:53 PM
On Sat, 26 Aug 2006, Alton Yu wrote:

> From: Alton Yu <(E-Mail Removed)>
> Subject: Re: configure eth1
> Newsgroups: comp.os.linux.networking
>
> Thufir wrote:
>> The eth0 seems to be working fine, but I can't bring up eth1. It's an
>> older card, so it _could_ be the card, but it's more likely to be a
>> configuration issue.
>>
>> I'm not sure from the following, but it seems that I don't need a module
>> for the kernel for this card. From the menu: system, administration,
>> network brings up the network configuration screen, which shows eth1 as
>> inactive, but can't be enabled. The GUI reports that:
>>
>> "3c59x device eth1 does not seem to be present, delaying initialization."
>>
>> But clearly it's present as it's being identified.

[...]
> Please also post the output of lspci.



Shortly after posting this message I did a clean install of FC5 overnight,
reasoning that to be more expedient. However, I do notice that the
internal NIC, SiS, is now eth1 and the PCI NIC is now eth0, which seems
backwards:


[root@arrakis ~]#
[root@arrakis ~]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX
Host (rev 11)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media
IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI
Fast Ethernet (rev 91)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] RAID bus
controller 180 SATA/PATA [SiS] (rev 01)
00:09.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
661/741/760/761 PCI/AGP VGA Display Adapter
[root@arrakis ~]#
[root@arrakis ~]# date
Mon Aug 28 18:03:45 IST 2006
[root@arrakis ~]#



--
Thufir
<http://hawat.thufir.googlepages.com/>
 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      08-28-2006, 09:25 PM
Thufir wrote:

> Shortly after posting this message I did a clean install of FC5 overnight,
> reasoning that to be more expedient. However, I do notice that the
> internal NIC, SiS, is now eth1 and the PCI NIC is now eth0, which seems
> backwards:


What does it say in /etc/modprobe.conf ?
I installed FC-5 yesterday, and noticed that it reversed eth0 and eth1
on my system.
I edited modprobe.conf ,
and swapped the entries for /etc/sysconfig/network-scripts/ifcfg-eth[01]
(changing the DEVICE=eth0/1 line).
That seemed to correct things.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      08-28-2006, 11:49 PM
Timothy Murphy <(E-Mail Removed)> writes:

>Thufir wrote:


>> Shortly after posting this message I did a clean install of FC5 overnight,
>> reasoning that to be more expedient. However, I do notice that the
>> internal NIC, SiS, is now eth1 and the PCI NIC is now eth0, which seems
>> backwards:


That is a problem with Linux in general. It is not stable in its assignment
of devices. It depends totally on the order they are processed in which
seems to depend on th ephase of the moon.

>What does it say in /etc/modprobe.conf ?
>I installed FC-5 yesterday, and noticed that it reversed eth0 and eth1
>on my system.


Reversed? With respect to what?

>I edited modprobe.conf ,
>and swapped the entries for /etc/sysconfig/network-scripts/ifcfg-eth[01]
>(changing the DEVICE=eth0/1 line).
>That seemed to correct things.


>--
>Timothy Murphy
>e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
>tel: +353-86-2336090, +353-1-2842366
>s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

 
Reply With Quote
 
Allen McIntosh
Guest
Posts: n/a

 
      08-29-2006, 01:00 AM
Unruh wrote:
> Timothy Murphy <(E-Mail Removed)> writes:
>
>> Thufir wrote:

>
>>> Shortly after posting this message I did a clean install of FC5 overnight,
>>> reasoning that to be more expedient. However, I do notice that the
>>> internal NIC, SiS, is now eth1 and the PCI NIC is now eth0, which seems
>>> backwards:

>
> That is a problem with Linux in general. It is not stable in its assignment
> of devices. It depends totally on the order they are processed in which
> seems to depend on the phase of the moon.


You can force the mapping by setting HWADDR to the MAC address
HWADDR=00:11:22:33:44:55
in the appropriate startup scripts. No doubt there is some way to do it
from the GUI.
Works in FC5 for sure; IIRC it was available as far back as FC1 and RH9.
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      08-29-2006, 01:13 AM
>>> Shortly after posting this message I did a clean install of FC5
>>> overnight, reasoning that to be more expedient. However, I do
>>> notice that the internal NIC, SiS, is now eth1 and the PCI NIC is
>>> now eth0, which seems backwards:


> That is a problem with Linux in general. It is not stable in its
> assignment of devices. It depends totally on the order they are
> processed in which seems to depend on th ephase of the moon.


I have been "burned" by that often enough (I'm spoiled by the
decades-old behaviour of HP-UX in this area I guess) that I had to
learn how to use udev to give some stability to my interface names.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      08-29-2006, 11:31 AM
Unruh wrote:

>>What does it say in /etc/modprobe.conf ?
>>I installed FC-5 yesterday, and noticed that it reversed eth0 and eth1
>>on my system.

>
> Reversed? With respect to what?


I actually have 2 installations of FC-5 on my SCSI desktop.
One has

alias eth0 e100
alias eth1 8139too

in /etc/modprobe.conf ;
the other has these entries reversed.
(I made a number of hardware changes between the two installations.)

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd eth1 Joey Linux Networking 2 06-08-2009 11:37 PM
eth1 -> eth2 barcaroller Linux Networking 3 06-01-2009 04:59 PM
eth1 not working Juuso Linux Networking 3 11-06-2005 10:52 AM
Eth0 and eth1 Captain Beefheart Linux Networking 7 07-22-2004 06:39 PM
TCPDUMP problems with eth1 CJ Linux Networking 0 07-25-2003 03:03 AM



1 2 3 4 5 6 7 8 9 10 11