How do I check the hardware

Discussion in 'Installation/Configuration' started by ptr, Oct 25, 2011.

  1. ptr

    ptr New Member

    I have installed Debian on a new PC and cannot get the network to work. I suspect the network interface but don't know how to test it. It is a wired connection.

    During the install, it failed to find the DHCP server so I set a fixed IP. I cannot ping out or ping in from another server.

    ifconfig eth0 produces the following:

    eth0 Link encaps:Ethernet HWaddr: 90:FB:A6:2F:9F:E5
    inet addr: 192.168.1.102 Bcast: 192.168.1.255 mask: 255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrics:1
    RX packets:0 errors:0 dropped:364513692 overruns:0 frame:0
    TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
    Collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:2520 (2.4 KiB)
    Interupt:185 Baseaddress:0xa000
     
  2. Mark_NL

    Mark_NL Member

    "lshw" shows you the list of known devices.

    show me:
    Code:
    ifconfig eth0
    route -n
    dmesg | grep eth
    
     
  3. ptr

    ptr New Member

    Thanks or responding Mark

    The ifconfig etho returns the same values as above but with the RX dropped now at 3975479502

    The route -n gives
    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
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

    dmesg | grep eth gives

    eth0: RTL8101c at 0xf881a000, 90:fb:a6:2f:9f:e5, IRQ 185
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you post your /etc/network/interfaces file?
     
  5. ptr

    ptr New Member

    Thanks Falko

    I will do that in a couple of days as I am away on a business trip at the moment
     
  6. ptr

    ptr New Member

    The /etc/network/interfaces file contains

    auto lo
    iface lo inet loopback

    iface eth0 inet static
    address 192.168.1.102
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1
    dns-search patcomsys.com
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Is 192.168.1.1 the correct gateway? Did you try to ping local and public IP addresses?
     
  8. ptr

    ptr New Member

    Yes, 192.168.1.1 is the address of my RV082 router. I can ping that from other windows boxes but I cannot ping the Linux box (192.168.1.102) from another Windows box
     
  9. falko

    falko Super Moderator Howtoforge Staff

    This really looks like a problem with your NIC. Do you have another one that you can use in this system?
     
  10. ptr

    ptr New Member

    Thanks Falko, I was afraid that might be the case, the NIC is on the motherboard. I will send it back to the suppliers
     

Share This Page