Revisted Eth1 problem

david walcroft d_j_w46 at bigpond.net.au
Mon Sep 17 02:25:09 UTC 2007


Kevin J. Cummings wrote:
> david walcroft wrote:
>   
>> Sam Varshavchik wrote:
>>     
>>> david walcroft writes:
>>>
>>>       
>>>> What do I need to do to get Eth1 back on line,at the moment 'service
>>>> network restart' returns
>>>> 'Failed'
>>>>         
>>> See http://catb.org/~esr/faqs/smart-questions.html#bespecific
>>>
>>>
>>>       
>> I use DHCP I think,what info do you need,I don't know much about Linux
>> networking.
>>     
>
> Start with looking through /var/log/messages for information relating to
> eth1.  Starting with the boot messages would be useful.  What Hardware
> is in use?  Ethernet type?  Software versions?  lspci is it is built
> into the motherboard so we know what chipset is in use.  lsmod to see if
> the correct module is loaded for that chipset.  any entries in
> /etc/modprobe.conf that relate to that ethernet port.  ifconfig -a to
> see if the system even knows it is there.  And that's just for starters.
>
>   
>> Thanks   david
>>
>>     
>
>
>   
My etc/modprobe.conf

alias eth0 8139too
options snd-intel8x0 index=0
# install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0: &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
# remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias sound-slot-0 snd-intel8x0
# Set this to the correct number of cards.
options snd cards_limit=1
options loop max-loop=32
alias sound-slot-1 off
alias net-pf-10 off
#2C module options
alias char-major-89 i2c-dev
options snd-sonicvibes index=0
remove snd-sonicvibes { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-sonicvibes
alias snd-card-0 snd-sonicvibes
options snd-card-0 index=0
alias eth1 8139too

My lsmod

8139cp                 26433  0
snd_rawmidi            26817  1 snd_mpu401_uart
snd_seq_device         11981  5
snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
parport                38281  1 parport_pc
rtc_cmos               12001  0
serio_raw              10821  0
snd                    53317  14
snd_sonicvibes,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
sata_sis               12997  0
8139too                29249  0

My /var/log/messages

Sep 17 11:52:40 reddwarf kernel: eth1: link up, 100Mbps, full-duplex,
lpa 0x41E1
Sep 17 11:52:40 reddwarf dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 7
Sep 17 11:52:47 reddwarf dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 16
Sep 17 11:53:03 reddwarf dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 14
Sep 17 11:53:17 reddwarf dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 10
Sep 17 11:53:27 reddwarf dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 14
Sep 17 11:53:41 reddwarf dhclient: No DHCPOFFERS received.

[david at reddwarf ~]$ 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: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:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA (rev 01)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:0a.0 Multimedia audio controller: S3 Inc. SonicVibes
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
6200] (rev a1)
[david at reddwarf ~]$

My  /etc/sysconfig/network-scripts/ifcfg-eth1

# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:14:78:04:C4:91
TYPE=Ethernet

My ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:13:1E:D0
          inet addr:121.208.35.34  Bcast:255.255.255.255  Mask:255.255.248.0
          inet6 addr: fe80::2e0:4cff:fe13:1ed0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6941136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:495486605 (472.5 MiB)  TX bytes:10509227 (10.0 MiB)
          Interrupt:21 Base address:0xac00

eth1      Link encap:Ethernet  HWaddr 00:14:78:04:C4:91
          inet6 addr: fe80::214:78ff:fe04:c491/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5535 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1293888 (1.2 MiB)  TX bytes:2358 (2.3 KiB)
          Interrupt:22 Base address:0xcc00[david at reddwarf ~]$ sudo


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:465 errors:0 dropped:0 overruns:0 frame:0
          TX packets:465 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:94502 (92.2 KiB)  TX bytes:94502 (92.2 KiB)

[david at reddwarf ~]$

[david at reddwarf ~]$ sudo /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
121.208.32.0    0.0.0.0         255.255.248.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         121.208.32.1    0.0.0.0         UG    0      0        0 eth0


I hope this info helps

  Thanks  david







More information about the fedora-list mailing list