Jump to content

DHCP issue on Armbian_22.08.1_Orangepi3_jammy / 5.15.63


Recommended Posts

Posted

Hello,

 

on a fresh install (Armbian_22.08.1_Orangepi3_jammy_current_5.15.63), the ethernet eth0 interface doesn't retrieve any IP.

 

Quote

root@orangepi3:~# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000

link/ether 02:07:45:83:22:c4 brd ff:ff:ff:ff:ff:ff

inet6 fe80::7bd3:dc4e:7cef:fb02/64 scope link noprefixroute

valid_lft forever preferred_lft forever

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000

link/ether 08:e9:f6:93:61:6a brd ff:ff:ff:ff:ff:ff

 

Here comes the kernel ethernet related messages:

 

Quote

dmesg -c

[ 28.317964] phy_rtl8211e_led_fixup in

[ 28.319733] dwmac-sun8i 5020000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)

[ 28.320275] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0

[ 28.320770] dwmac-sun8i 5020000.ethernet eth0: No Safety Features support found

[ 28.320779] dwmac-sun8i 5020000.ethernet eth0: No MAC Management Counters available

[ 28.320786] dwmac-sun8i 5020000.ethernet eth0: PTP not supported by HW

[ 28.321144] dwmac-sun8i 5020000.ethernet eth0: configuring for phy/rgmii-id link mode

[ 31.394770] dwmac-sun8i 5020000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[ 31.394820] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

After that, I have launched a dhclient command that took several minutes to stop. Then, an APIPA address is attributed to eth0 nterface.

 

Quote

root@orangepi3:~# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000

link/ether 02:07:45:83:22:c4 brd ff:ff:ff:ff:ff:ff

inet 169.254.9.46/16 brd 169.254.255.255 scope link eth0:avahi

valid_lft forever preferred_lft forever

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000

link/ether 08:e9:f6:93:61:6a brd ff:ff:ff:ff:ff:ff

inet 169.254.12.106/16 brd 169.254.255.255 scope link wlan0:avahi

valid_lft forever preferred_lft forever

 

So I have launched armbian-config to set the eth0 to static. And it worked.

 

Quote

root@orangepi3:~# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000

link/ether 02:07:45:83:22:c4 brd ff:ff:ff:ff:ff:ff

inet 192.168.123.111/24 brd 192.168.123.255 scope global noprefixroute eth0

valid_lft forever preferred_lft forever

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000

link/ether 08:e9:f6:93:61:6a brd ff:ff:ff:ff:ff:ff

inet 169.254.12.106/16 brd 169.254.255.255 scope link wlan0:avahi

valid_lft forever preferred_lft forever

 

But how to make DHCP works?

 

Thank you

 

 

PS all others devices on my network can retrieve an IP by DHCP. I also tried others OS on my Orange Pi 3 boards and they grab an IP. The issue comes from Armbian.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines