ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.7k stars 1.83k forks source link

eth0 (internet) seems to not work #673

Closed ghost closed 1 year ago

ghost commented 1 year ago

After reinstalling Armbian 5.15 Jammy (server) for S905W to A95X F1, connected it to the internet using eth0 and did apt update But it doesn't seem to work.

873D4895-7BD2-48FF-BAA1-AB2AE43B5429

So, I checked it by doing ping google.com But it outputs a message that has the lines of "port unreachable."

Then, I checked systemctl status networking And I got this.

29F8CAEC-6D1D-4798-BEAA-A9006FE90685

I did systemctl restart networking But doesn't work still.

When I installed Armbian for the first time, the eth0 seems to be working before, but now its unable to connect after reinstalling.

livelier commented 1 year ago

建议你尝试,关掉ipv6,仅使用ipv4,设置DHCP获取动态IP地址。

Armbian Documentation 12.7 Network settings

ghost commented 1 year ago

建议你尝试,关掉ipv6,仅使用ipv4,设置DHCP获取动态IP地址。

I translated it to English, but actually. I tried that using armbian-config But it didn't work. Setting up DHCP for a dynamic IP won't work too

YanceyChiew commented 1 year ago

Just try using systemd-networkd.

xcray commented 1 year ago

try to disable auto-negotiation

ghost commented 1 year ago

I'll try these once I have time

ghost commented 1 year ago

Nope. Any of these fixes don't work, and reinstalling back to the stock Android only works for networking. Was gonna use this for Pi-hole but no chance.

jackcctse commented 1 year ago

Hello @operamilkmandolinneo12,

I had the same issue. For me increasing timeout value of networking script helps, i.e. TimeoutStartSec=10sec to TimeoutStartSec=30sec. This script is here: /etc/systemd/system/network-online.target.wants/networking.service

Other than networking service, you can use NetworkManager to retrieve internet. Avoid using both networking service and NetworkManager at the same time, if not you may retrieve two IPs from upstream DHCP server.

systemctl enable NetworkManager systemctl start NetworkManager