Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Network adapter bust - or is it?

  1. #1
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Network adapter bust - or is it?

    So I sat down at the PC (runs ubuntnu 12.04 LTS) and network was down. Just like that, from one day to the next. The machine was not shut down or reset. After checking the external hardware (ethernet cable, router) it seems that the problem is with the computer.

    I've done the obvious (to me): check networking is enabled, restart, plus some things I found on this forum:

    ifconfig turns up no IP
    ping returns "network is unreachable"

    Is there anything else I can to determine whether its the network adapter that's bust?

    Thanks for reading. Any hints greatly appreciated

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Network adapter bust - or is it?

    Yes, please post the output of -
    Code:
    sudo lshw -numeric -C network
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  3. #3
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Network adapter bust - or is it?

    lshw -numeric -C network:
    Code:
    *-network
    	description: Ethernet interface
    	product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10EC:8136]
    	vendor: Realtek Semiconductor Co., Ltd. [10EC]
    	physical id: 0
    	bus info: pci@0000:01:00.0
    	logical name: eth0
    	version: 02
    	serial: 00:26:17:ba:e5:f0
    	size: 10Mbit/s
    	width: 64 bits
    	clock: 33MHz
    	capabilities: pm msi pciexpress msix vdp bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    	configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=N/A latency=0 link=no multicast=yes port=MII speed=10Mbit/s
    	resources: irq:42 ioport:e800(size=256) memory:fdfff000-fdffffff memory:fdfe0000-fdfeffff memory:febf0000-febfffff

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Network adapter bust - or is it?

    Quote Originally Posted by texpat View Post
    lshw -numeric -C network:
    Code:
    	configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=N/A latency=0 link=no multicast=yes port=MII speed=10Mbit/s
    Please try -
    Code:
    sudo mii-tool -F 100baseTx-FD eth0
    Report back if there are errors.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #5
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Network adapter bust - or is it?

    sudo mii-tool -F 100baseTx-FD eth0

    Nothing happens. At least no feedback on the terminal. The only way to get the command to report anything was to use the -v -v option which returns
    Code:
    Using SIOCGMIIPHY=0x8947

  6. #6
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Network adapter bust - or is it?

    What does the command "sudo mii-tool" report, without any parameters?

    Sounds like the command succeeded in doing what it was supposed to do, else it would have returned some error message.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  7. #7
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Network adapter bust - or is it?

    @varunendra: thanks for your help so far. I won't have access to the machine in question till Monday, so please bear with me.

  8. #8
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Network adapter bust - or is it?

    Code:
    :~$ sudo mii-tool
     No MII transciever present!

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Network adapter bust - or is it?

    Quote Originally Posted by texpat View Post
    Code:
    :~$ sudo mii-tool
     No MII transciever present!
    Interesting! I believe the "sudo mii-tool -F 100baseTx-FD eth0" command should have returned a clear error message stating that the interface eth0 does not support mii protocol (or something alike).

    Anyway, can you connect the system to internet by other means? If yes, please install "ethtool" -
    Code:
    sudo apt-get install ethtool
    If you can't connect to internet, try this one to get download URI(s) of the required package(s) -
    Code:
    apt-get install --print-uris ethtool
    If your software cache has been updated even once, the above command should return the download links of the required packages at the bottom of the output. Use these links to download the packages on another computer and copy them back to this machine.

    Put them in a new, empty directory (let's call it "packages") in your home and install with -
    Code:
    sudo dpkg -i packages/*.deb
    Once ethtool is installed, try enforcing the same settings using ethtool this time -
    Code:
    sudo ethtool -s eth0 speed 100 duplex full autoneg off
    Then please post back the output of -
    Code:
    sudo ethtool eth0
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  10. #10
    Join Date
    Apr 2009
    Beans
    250
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Network adapter bust - or is it?

    After:
    Code:
    sudo ethtool -s eth0 speed 100 duplex full autoneg off
    Which seems to have run correctly
    Code:
    sudo ethtool eth0
    reports
    Code:
    Settings for eth0:
    	Supported ports: [ TP MII ]
    	Supported link modes:   10baseT/Half 10baseT/Full 
    	                        100baseT/Half 100baseT/Full 
    	Supported pause frame use: No
    	Supports auto-negotiation: Yes
    	Advertised link modes:  Not reported
    	Advertised pause frame use: No
    	Advertised auto-negotiation: No
    	Speed: 100Mb/s
    	Duplex: Full
    	Port: MII
    	PHYAD: 0
    	Transceiver: internal
    	Auto-negotiation: off
    	Supports Wake-on: pumbg
    	Wake-on: g
    	Current message level: 0x00000033 (51)
    			       drv probe ifdown ifup
    	Link detected: no

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •