1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

RH9 eth0 not working

Discussion in 'Linux and Unix' started by trev.h, Sep 9, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. trev.h

    trev.h Thread Starter

    Joined:
    Mar 26, 2002
    Messages:
    182
    I have been struggling with this problem all day. I have RadHat 9 installed.

    When this box was a Mandrake system, the adapter and network worked fine.

    I have a D-Link adapter with a static IP address (it didn't assign an address from my DHCP host). The RJ45 patch cable & switch port work fine. My network is working fine.

    I have disabled the firewall.

    I have the following messages in System Log:
    localhost kernel: eth0: D-Link DFE-538TX (RealTek RTL8139) at 0xe0950000,
    00:05:5d:47:d4:5e, IRQ 5
    localhost kernel: eth0: Setting 100mbps full-duplex based on
    auto-negatioated partner ability 45el.

    I cannot ping and other PCs on the network.
    I cannot access the internet.

    My network is 192.168.1.xx, my gateway is 192.168.1.251, the IP of my RedHat box is 192.196.1.95, subnet mask is 255.255.255.0

    DEVICE=eth0
    BOOTPROT=none
    ONBOOT=yes
    USERCTL=no
    PEERDNS=no
    TYPE=Ethernet
    IPADDR=192.168.1.95
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.251
    NETWORK=192.168.1.0
    BROADCAST=192.168.1.255

    My etx/resolver.conf is

    search localdomain
    nameserver 192.168.1.251

    I have assigned the gateway address to namesever because this is the DSN Server address assigned to my working windows machines by my DHCP server (an IPCop firewall acting as DHCP server & router).

    I hope someone can help.
    Trev.
     
  2. Mithrilhall

    Mithrilhall

    Joined:
    Mar 28, 2001
    Messages:
    781
    What's your network look like?

    Do you have a router? If so, are you using dhcp?
     
  3. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    Can we see the output of ifconfig
     
  4. trev.h

    trev.h Thread Starter

    Joined:
    Mar 26, 2002
    Messages:
    182
    eth0 Link encap:Ethernet HWaddr 00:05:5D:47:D4:5E
    inet addr:192.168.1.95 Bcast:192.168.1.255 Mask:255.255.255.0

    The rest omited as nothing important other the "lo".


    More telling is that route -n lists extra addresses

    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 0.0.0.0 192.168.1.251 UG 0 0 0 eth0

    Don't know where the 169.254.0.0 and 0.0.0.0 came from. Guess I need to get rid of these (any idea how?), they don't show up on the RH networking wizard.

    Trev.
     
  5. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    The Route information is normal.

    While logged on as root, do an iptables -L
     
  6. trev.h

    trev.h Thread Starter

    Joined:
    Mar 26, 2002
    Messages:
    182
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    You have new mail in /var/spool/mail/root
     
  7. trev.h

    trev.h Thread Starter

    Joined:
    Mar 26, 2002
    Messages:
    182
    Turns out it was a flakey patch cable between the patch panel and the switch.

    Thanks for all your help.
    Trev.
     
  8. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/163520

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice