saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 1:51 am

Hello all,

I found out that my Raspberry Pi 3B's ethernet port will not working after reboot.

I will need to manually unplug the ethernet RJ45 plug and wait for few seconds then plug-in again, it will work again. In somehow, it will not work again and have to unplug it and reboot.

The DC Jack (microUSB), well connected, VIn is 4.9V checked at the GPIO 5V Pin.

For USB connection, I have FlightAware Pro-Stick Plus connected to USB port.

Wifi is work but I prefer ethernet port (stability).

If this case happen, the ethernet hardware is not working. I will need to add on additional USB-Ethernet and how to disable the onboard ethernet and enable the USB-Ethernet (ID 0b95:772b ASIX Electronics Corp. AX88772B).

I look forward to hearing from you soon. Regards.

User avatar
lmarmisa
Posts: 1220
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 11:42 am

Type this command after reboot and check if the link eth0 is detected:

Code: Select all

ethtool eth0
The output will provide other useful information related to the ethernet port.

This example shows a not connected ethernet port (sorry, my rpi3b+ is connected via wifi :D ).

Code: Select all

[email protected]:~ $ ethtool eth0
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Speed: 10Mb/s
	Duplex: Half
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: no
[email protected]:~ $ 
NOTE: not sure if the package ethtool is installed by default. If you need to install it, type this command:

Code: Select all

sudo apt-get install ethtool

SurferTim
Posts: 1764
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 12:00 pm

Are you aware the ethernet port and usb ports are on the same bus?

Have you tried booting without the Pro-Stick Plus?

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 1:38 pm

Hi,

I unplugged the FlightAware Pro-Stick Plus from USB Port then reboot also having the same.

FYI, the LAN Cable is original AMP Cat6 Patching cable, it is a working cable as I swap the cable to any Ethernet port, it works. Any working LAN cable plugged into the Raspberry Pi Ethernet port is not working as normal (Not connected)

Code: Select all

[email protected]:~$ sudo ethtool eth0
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:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbag
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: no
[email protected]:~$
Totally not working at all after reboot.

If the ethernet hardware got problem, then I can choose not to use it as default ethernet connection. Currently I have a USB-Ethernet (ID 0b95:772b ASIX Electronics Corp. AX88772B), if I would like to have it work and replace the onboard ethernet, what should I do next? Thanks in advance.

Regards.

ejolson
Posts: 2023
Joined: Tue Mar 18, 2014 11:47 am

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 3:57 pm

saihoufung wrote:
Fri Jun 22, 2018 1:38 pm
what should I do next?
While I understand the current cable works if replugged, have you tried a different cable?

This could also be a software issue with dhcp not getting a lease upon reboot. Have you tried using a static IP number?

pcmanbob
Posts: 4462
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 5:01 pm

When faced with problems like this it's always a good idea to reboot not only the pi but also the router, the problem could be at the router end were it's not issuing new IP addresses.
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

User avatar
lmarmisa
Posts: 1220
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 6:06 pm

The problem is not related to DHCP or IP address because the link eth0 is not detected and the speed is only 10MB/s.

Code: Select all

	Speed: 10Mb/s
	Link detected: no
Try using a different ethernet port on your router. If you get the same problem with other ports, use a different ethernet cable.

This seems a physical level problem.

Avastsupport
Posts: 1
Joined: Fri Jun 22, 2018 8:00 pm

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 8:19 pm

lmarmisa wrote:
Fri Jun 22, 2018 6:06 pm
The problem is not related to DHCP or IP address because the link eth0 is not detected and the speed is only 10MB/s.

Code: Select all

	Speed: 10Mb/s
	Link detected: no
Try using a different ethernet port on your router. If you get the same problem with other ports, use a different ethernet cable.

This seems a physical level problem.
I am trying to use the different ethernet port to my router but it's didn't work properly Is it possible refer me to a page related to this topic to solve out the problem because of I take a help of https://chathelp.org/avast-support/ ‎this site to solve out the issue but I didn't get the proper answer.

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Fri Jun 22, 2018 11:20 pm

Hi,

I swap many LAN cables, different MBit Port at the Switch, also unchanged.

The On Board Ethernet sometimes work, sometimes not work.

** The other working LAN cables plug into other PC / Raspberry Pi / Orange Pi / Nano Pi, it works without any issue. Network Switch ports also the same, no matter how I swap to other empty ports.

** Router is refresh every day (set default) by the ISP firmware.

I have no idea now what to do.

Regards.

ejolson
Posts: 2023
Joined: Tue Mar 18, 2014 11:47 am

Re: Raspberry Pi 3 Ethernet Issue

Sat Jun 23, 2018 12:58 am

saihoufung wrote:
Fri Jun 22, 2018 11:20 pm
Hi,

I swap many LAN cables, different MBit Port at the Switch, also unchanged.

The On Board Ethernet sometimes work, sometimes not work.

** The other working LAN cables plug into other PC / Raspberry Pi / Orange Pi / Nano Pi, it works without any issue. Network Switch ports also the same, no matter how I swap to other empty ports.

** Router is refresh every day (set default) by the ISP firmware.

I have no idea now what to do.

Regards.
It seems to me a distinct possibility that your Pi hardware is, in fact, defective. Do you know someone nearby with the same model of Pi that could be used to check?

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sat Jun 23, 2018 11:19 am

I have 4 Raspberry Pi (3 Raspberry Pi 3B & 1 Raspberry Pi 3B+). Only 1 of the Raspberry Pi 3B got this problem recently.

If in this case, I would like to disable the onboard Ethernet, is it possible? I can use USB-Ethernet to have it run. Hope to hear from you soon.

Regards.

User avatar
lmarmisa
Posts: 1220
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Raspberry Pi 3 Ethernet Issue

Sat Jun 23, 2018 6:18 pm

I thing that you do not need to disable the onboard Ethernet driver. Simply add your USB Ethernet adapter, plug the Ethernet cable and type this command:

Code: Select all

ifconfig

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sat Jun 23, 2018 11:46 pm

Hi,

Code: Select all

ifconfig
only show the current ethernet, loopback & wlan info / connection. Didn't help to add new USB-Ethernet.

Currently I have Bus 001 Device 005: ID 0b95:772b ASIX Electronics Corp. AX88772B USB-Ethernet card and how to install driver to Raspberry Pi Raspbian Jessie.

I search online and found nothing on adding this USB-Ethernet for Raspbian Jessie.

Thank you.

fruitoftheloom
Posts: 17625
Joined: Tue Mar 25, 2014 12:40 pm

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 3:55 am

saihoufung wrote:
Sat Jun 23, 2018 11:46 pm
Hi,

Code: Select all

ifconfig
only show the current ethernet, loopback & wlan info / connection. Didn't help to add new USB-Ethernet.

Currently I have Bus 001 Device 005: ID 0b95:772b ASIX Electronics Corp. AX88772B USB-Ethernet card and how to install driver to Raspberry Pi Raspbian Jessie.

I search online and found nothing on adding this USB-Ethernet for Raspbian Jessie.

Thank you.

Raspbian Jessie is end of life since August 2017.

ASIX does not need a driver it is supported.

As both Ethernet and USB are connected to the LAN9514 Chipset could you have a faulty RPi ??
Adieu

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 4:53 am

fruitoftheloom wrote:
Sun Jun 24, 2018 3:55 am
saihoufung wrote:
Sat Jun 23, 2018 11:46 pm
Hi,

Code: Select all

ifconfig
only show the current ethernet, loopback & wlan info / connection. Didn't help to add new USB-Ethernet.

Currently I have Bus 001 Device 005: ID 0b95:772b ASIX Electronics Corp. AX88772B USB-Ethernet card and how to install driver to Raspberry Pi Raspbian Jessie.

I search online and found nothing on adding this USB-Ethernet for Raspbian Jessie.

Thank you.

Raspbian Jessie is end of life since August 2017.

ASIX does not need a driver it is supported.

As both Ethernet and USB are connected to the LAN9514 Chipset could you have a faulty RPi ??
Hi,

FYI, previously my Raspberry Pi is working great. Somehow in one day, the Ethernet port no longer works, sometimes when you plugged in the LAN cable and it will work again for few days or weeks until you reboot / unplugged from the network.

4 ports of USB still work as I can use it to connect Pro Stick Pro, even the USB-Ethernet (Detectable from "lsusb") for my FlightAware PiAware.

Unfortunately, the

Code: Select all

sudo ifconfig
not showing the eth1 or eth2, only eth0 (onboard).

Code: Select all

[email protected]:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:72:21:98
          UP 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)

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:65536  Metric:1
          RX packets:34160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:18764534 (17.8 MiB)  TX bytes:18764534 (17.8 MiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:27:74:cd
          inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2001:d08:e0:424f:ba27:ebff:fe27:74cd/64 Scope:Global
          inet6 addr: fe80::ba27:ebff:fe27:74cd/64 Scope:Link
          inet6 addr: fd82:574f:4a68:0:ba27:ebff:fe27:74cd/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24756 errors:0 dropped:33 overruns:0 frame:0
          TX packets:26017 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2744107 (2.6 MiB)  TX bytes:20501153 (19.5 MiB)

After few tries of unplug and re plug the LAN cable to the Ethernet Port, finally it is connected.

Code: Select all

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:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbag
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
After rebooting the Pi, the Ethernet port goes away and no longer to work. Have to unplug, re-plug, unplug, re-plug.... then suddenly the link comes ON.

**Confirmed that LAN cable is in good working condition.**

What should I do next to install it to get it work? Thank you.

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 6:00 am

I really have no idea why this will happen. If this Pi is defective, then this pi will be useless. As the ASIX I have cannot work in this Pi. Wanted to use USB-Ethernet also unable.

Code: Select all

Bus 001 Device 005: ID 0b95:772b ASIX Electronics Corp. AX88772B
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0b95 ASIX Electronics Corp.
  idProduct          0x772b AX88772B
  bcdDevice            0.02
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0
      iInterface              7
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Anyway, thank you all for sharing your info / knowledge here.

Regards.

pcmanbob
Posts: 4462
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 12:21 pm

Reading back through this thread something no one has suggested is trying this pi with a fresh install of raspbian on a different SD card.

before discarding the pi as failed it worth trying if you have a spare SD card, you have nothing to loose and it could just prove your pi to be good.
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 2:02 pm

pcmanbob wrote:
Sun Jun 24, 2018 12:21 pm
Reading back through this thread something no one has suggested is trying this pi with a fresh install of raspbian on a different SD card.

before discarding the pi as failed it worth trying if you have a spare SD card, you have nothing to loose and it could just prove your pi to be good.
Hello,

I swap with extra SD Card, fresh install of OS. All unchanged. Ethernet still not working.

I use the:-

Code: Select all

sudo ifup eth1
Finally the USB-Ethernet works. Unfortunately, after the other round of reboot, it is no longer work. Really frustrated.

Anyway, I am surrender to use the Ethernet and forced me to use the Wifi.

Regards.

pcmanbob
Posts: 4462
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 2:43 pm

saihoufung wrote:
Sun Jun 24, 2018 2:02 pm

I use the:-

Code: Select all

sudo ifup eth1
Finally the USB-Ethernet works. Unfortunately, after the other round of reboot, it is no longer work. Really frustrated.



Regards.
Then it sounds like the hardware is actually working ok, its being turned off by something ! did you use a fresh download of raspbian on your spare SD card for the testing ?


you could just try adding "sudo ifup eth1 &" to the end of rc.local so its called every time the system boots
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 9:45 pm

pcmanbob wrote:
Sun Jun 24, 2018 2:43 pm
saihoufung wrote:
Sun Jun 24, 2018 2:02 pm

I use the:-

Code: Select all

sudo ifup eth1
Finally the USB-Ethernet works. Unfortunately, after the other round of reboot, it is no longer work. Really frustrated.



Regards.
Then it sounds like the hardware is actually working ok, its being turned off by something ! did you use a fresh download of raspbian on your spare SD card for the testing ?


you could just try adding "sudo ifup eth1 &" to the end of rc.local so its called every time the system boots
Hello pcmanbob,

I did download a fresh copy of raspbian and tested on spare SD Card.

Tried on add a command at the

Code: Select all

sudo nano /etc/rc.local
The eth1 is no longer work. Really strange.

Code: Select all

sudo ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:72:21:98
          UP 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)

eth1      Link encap:Ethernet  HWaddr 00:0e:c6:de:c8:be
          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)

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:65536  Metric:1
          RX packets:2848 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2848 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:501080 (489.3 KiB)  TX bytes:501080 (489.3 KiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:27:74:cd
          inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2001:d08:e0:44be:ba27:ebff:fe27:74cd/64 Scope:Global
          inet6 addr: fe80::ba27:ebff:fe27:74cd/64 Scope:Link
          inet6 addr: fd82:574f:4a68:0:ba27:ebff:fe27:74cd/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2745 errors:0 dropped:34 overruns:0 frame:0
          TX packets:2489 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:402806 (393.3 KiB)  TX bytes:1072249 (1.0 MiB)
But it cannot be turned on to allowed use of the eth1. I really have no idea what is going on with this ...

When type command in the SSH terminal. It shows:-

Code: Select all

sudo ifup eth1
Ignoring unknown interface eth1=eth1.

pcmanbob
Posts: 4462
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Raspberry Pi 3 Ethernet Issue

Sun Jun 24, 2018 10:43 pm

This does not make sense,. Yes the on board LAN could have failed , but if you have added a second LAN port using a USB device why would that also fail after one reboot.

And if the LAN ports have failed in some strange way why can you still see them using ifconfig ?

I would still be inclined to power cycle or reboot your router just incase some thing is corrupted on it.
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

User avatar
lmarmisa
Posts: 1220
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Raspberry Pi 3 Ethernet Issue

Mon Jun 25, 2018 8:41 am

pcmanbob wrote:
Sun Jun 24, 2018 10:43 pm
This does not make sense,. Yes the on board LAN could have failed , but if you have added a second LAN port using a USB device why would that also fail after one reboot.

And if the LAN ports have failed in some strange way why can you still see them using ifconfig ?

I would still be inclined to power cycle or reboot your router just incase some thing is corrupted on it.
We think that the problem is related to Ethernet. But I believe that this is not the case. Both Ethernet ports eht0 and eth1 share the internal USB hub. USB is the key. Something is wrong there in relation with reset.

If the command ifup solves the problem, you can use it at start but not only once.

Open crontab:

Code: Select all

crontab -e
and add these jobs:

Code: Select all

@reboot sleep 15; sudo ifup eth0
@reboot sleep 20; sudo ifup eth1
*/5 * * * * sudo ifup eth0
*/5 * * * * sudo ifup eth1
Then save and reboot your system.

Check if both Ethernet ports are ready after the reboot (wait 1 minute for checking with ifconfig). Anyway the commands ifup will be repeated every 5 minutes.

This procedure is for test purpose only. It will provide more information. But, if it is successful, it will be the starting point for a solution.

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Mon Jun 25, 2018 10:59 am

We think that the problem is related to Ethernet. But I believe that this is not the case. Both Ethernet ports eht0 and eth1 share the internal USB hub. USB is the key. Something is wrong there in relation with reset.

If the command ifup solves the problem, you can use it at start but not only once.

Open crontab:
Code: Select all

crontab -e
and add these jobs:
Code: Select all

@reboot sleep 15; sudo ifup eth0
@reboot sleep 20; sudo ifup eth1
*/5 * * * * sudo ifup eth0
*/5 * * * * sudo ifup eth1
Then save and reboot your system.

Check if both Ethernet ports are ready after the reboot (wait 1 minute for checking with ifconfig). Anyway the commands ifup will be repeated every 5 minutes.

This procedure is for test purpose only. It will provide more information. But, if it is successful, it will be the starting point for a solution.
Tested with the command but at the end still eth0 available without connection and eth1 is not showing.

Code: Select all

crontab -e
and add these jobs:
Code: Select all

@reboot sleep 15; sudo ifup eth0
@reboot sleep 20; sudo ifup eth1
*/5 * * * * sudo ifup eth0
*/5 * * * * sudo ifup eth1
eth1 is still hidden when check with command

Code: Select all

sudo ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:72:21:98
          UP 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)

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:65536  Metric:1
          RX packets:14565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:7995038 (7.6 MiB)  TX bytes:7995038 (7.6 MiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:27:74:cd
          inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2001:d08:e0:44be:ba27:ebff:fe27:74cd/64 Scope:Global
          inet6 addr: fe80::ba27:ebff:fe27:74cd/64 Scope:Link
          inet6 addr: fd82:574f:4a68:0:ba27:ebff:fe27:74cd/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12700 errors:0 dropped:8 overruns:0 frame:0
          TX packets:13681 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1491226 (1.4 MiB)  TX bytes:11288490 (10.7 MiB)

Code: Select all

 sudo ifup eth1
Ignoring unknown interface eth1=eth1.
I am really clueless. :cry:

Raspberry Pi 3 Onboard Ethernet as well as USB hub / ports are sharing the same chipset. If the chipset is failed, the USB also failed. But here the on-board Ethernet is failed to work (detectable via ifconfig -a) and the USB-Ethernet (detectable via ifconfog -a) also failed to work, the only USB RTL-SDR is working as it should.

Really don't know what to do. Cheers and regards.

User avatar
lmarmisa
Posts: 1220
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Raspberry Pi 3 Ethernet Issue

Mon Jun 25, 2018 11:26 am

Remove temporarily the RTL-SDR dongle.

If you followed the crontab procedure, new commands ifup are started every 5 minutes. Do you see any change after 5, 10 or 15 minutes?. Is eth1 still hidden after 15 minutes?.

BTW, did you make any changes to the standard network configuration?.

saihoufung
Posts: 26
Joined: Fri Jun 22, 2018 1:09 am

Re: Raspberry Pi 3 Ethernet Issue

Mon Jun 25, 2018 11:36 am

lmarmisa wrote:
Mon Jun 25, 2018 11:26 am
Remove temporarily the RTL-SDR dongle.

If you followed the crontab procedure, new commands ifup are started every 5 minutes. Do you see any change after 5, 10 or 15 minutes?. Is eth1 still hidden after 15 minutes?.

BTW, did you make any changes to the standard network configuration?.
Hi,

The eth1 still hidden after 45 mins. I didn't make any changes to the network configuration. Only activated wlan0 and connected to internet.

RTL-SDR removed. Now test another round.

Regards.

Return to “Troubleshooting”