Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.15k stars 237 forks source link

No IP assignment to Ethernet #519

Open somu1795 opened 9 months ago

somu1795 commented 9 months ago

Hi, First of all, thanks a lot for these wonderful kernel and builds.

Device: NanoPi R6C Issue: This device has 2 ethernet ports(1G and 2.5G), upon connecting to any router using the 1G port, this device does not assign any IP address, however if I switch to 2.5G port it immediately gets the IP address.

I have tried with couple of routers(Mikrotik, TP-link, D-link etc)

Kindly let me know if this is a known issue? or if any further info is required.

Joshua-Riek commented 9 months ago

I'm aware of this issue, I also encountered it with Mainline Linux. Needs some additional debugging and research to figure out the exact cause.

somu1795 commented 8 months ago

Just to add more, sometimes the 2.5G (which usually works fine) also disconnects for couple seconds and connects back again. This happens more when there's network activity (streaming or transferring files etc. to/from the device).

I have verified that this is not a power supply issue, since I can run benchmarks for long time without any disconnection.

abacon118 commented 3 months ago

I've noticed something similar on the Orange Pi 3B. I plugged up a USB C dock with ethernet and it will only connect over that. I've not tried with official firmware yet.

wgfilho commented 2 months ago

The same thing happened to me on an Orange Pi 3B. I plugged a usb-ethernet adapter and it worked, but the onboard ethernet does not work. It never gets ip, or pings anyone even if I set the ip manually.

I also didn't try the official firmware, but I plan to do that later today.

navarro967 commented 2 months ago

I'm also running into this on a FriendlyElec CM3588-NAS but on the RTL8125B(2.5G) device. Unfortunately the only USB NIC I have is also a RTL8125B.

The onboard NIC is using the r8169 driver however the USB NIC is using cdc_ncm.

From what I can tell it is able to negotiate the correct link speed depending on which switch I connect it to however I don't see DHCP handshake occurring nor am I able to ping my gateway with static IP configuration. I did notice the onboard ethernet works when using the official image. I'll have to check what driver the official FriendlyElec image is using though I'm not entirely keen on running images that came from a Google Drive with a bunch of software baked-in.

Joshua-Riek commented 2 months ago

FriendlyElec CM3588-NAS is not supported, anyone is welcome to make a pull request and / or donate the hardware, I can not feasible spend money obtaining all these devices.

navarro967 commented 2 months ago

Hey there Josh,

I am aware of it not being supported by this project yet I only wanted to share and document. I am proficient in Linux and fully intend to contribute back any changes required to have the device supported if possible.

Thank you for all of your hard work.

On Wed, Jul 3, 2024 at 21:25 Joshua Riek @.***> wrote:

FriendlyElec CM3588-NAS is not supported, anyone is welcome to make a pull request and / or donate the hardware, I can not feasible spend money obtaining all these devices.

— Reply to this email directly, view it on GitHub https://github.com/Joshua-Riek/ubuntu-rockchip/issues/519#issuecomment-2207803813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZSNZ5QSRQTLEGELS3BJI3ZKSP7HAVCNFSM6AAAAABAZ7JEOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXHAYDGOBRGM . You are receiving this because you commented.Message ID: @.***>

wgfilho commented 2 months ago

Hi! I tested with Orange pi's debian image and the network card works fine. Is there anyway I can help you debug it?

Thanks!