Closed
Description
Creating a bug report/issue
Required Information
-
DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=5
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='not applicable -
Distro version |
echo $G_DISTRO_NAME
orcat /etc/debian_version
10.10 -
Kernel version |
uname -a
buster
Linux DietPi 5.10.60-sunxi #21.08.1 SMP Wed Aug 25 18:19:32 UTC 2021 armv7l GNU/Linux
-
SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
NanoPi M1 Plus (armv7l) -
Power supply used | (EG: 5V 1A RAVpower)
5V 2A RAVpower -
SDcard used | (EG: SanDisk ultra)
Samsung 32 EVO +
Additional Information (if applicable)
- Software title | (EG: Nextcloud)
dhclient - Was the software title installed freshly or updated/migrated?
freshly - Can this issue be replicated on a fresh installation of DietPi?
Yes
- Bug report ID |
echo $G_HW_UUID
e77f1110-dd72-4724-8388-464f14fdc84e
Steps to reproduce
- configure eth0 adapter and request ip
- use tcpdump to capture the dhcp package.
Expected behaviour
- Normal request to ip
Actual behaviour
- Received nothing dhcp reply pkg from router,request id failed。
Extra details
- wlan0 can request ip.
- eth0 links ok and can recv other udp msg from network.
- the wlan0's tcpdump data as fllows:
root@DietPi:~# dhclient -i wlan0
16:22:04.459956 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from b0:f1:ec:2d:c1:d8 (oui Unknown), length 300, xid 0xe5899552, Flags [none] (0x0000)
Client-Ethernet-Address b0:f1:ec:2d:c1:d8 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 6: "DietPi"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
Client-ID Option 61, length 19: hardware-type 255, ec:2d:c1:d8:00:01:00:01:27:9c:b9:93:02:81:2c:03:fa:12
END Option 255, length 0
PAD Option 0, length 0, occurs 12
16:22:04.495060 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 576)
192.168.178.1.bootps > 192.168.178.77.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0xe5899552, Flags [none] (0x0000)
Your-IP 192.168.178.77
Server-IP 192.168.178.1
Client-Ethernet-Address b0:f1:ec:2d:c1:d8 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 192.168.178.1
Lease-Time Option 51, length 4: 864000
RN Option 58, length 4: 432000
RB Option 59, length 4: 756000
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.178.1
Domain-Name-Server Option 6, length 4: 192.168.178.1
Domain-Name Option 15, length 9: "fritz.box"
BR Option 28, length 4: 192.168.178.255
NTP Option 42, length 4: 192.168.178.1
END Option 255, length 0
PAD Option 0, length 0, occurs 239
16:22:04.495605 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from b0:f1:ec:2d:c1:d8 (oui Unknown), length 300, xid 0xe5899552, Flags [none] (0x0000)
Client-Ethernet-Address b0:f1:ec:2d:c1:d8 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Server-ID Option 54, length 4: 192.168.178.1
Requested-IP Option 50, length 4: 192.168.178.77
Hostname Option 12, length 6: "DietPi"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
Client-ID Option 61, length 19: hardware-type 255, ec:2d:c1:d8:00:01:00:01:27:9c:b9:93:02:81:2c:03:fa:12
END Option 255, length 0
16:22:04.664402 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 576)
192.168.178.1.bootps > 192.168.178.77.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0xe5899552, Flags [none] (0x0000)
Your-IP 192.168.178.77
Server-IP 192.168.178.1
Client-Ethernet-Address b0:f1:ec:2d:c1:d8 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.178.1
Lease-Time Option 51, length 4: 864000
RN Option 58, length 4: 432000
RB Option 59, length 4: 756000
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.178.1
Domain-Name-Server Option 6, length 4: 192.168.178.1
Domain-Name Option 15, length 9: "fritz.box"
BR Option 28, length 4: 192.168.178.255
NTP Option 42, length 4: 192.168.178.1
END Option 255, length 0
PAD Option 0, length 0, occurs 239
- the eth0 tcpdump data as fllows:
root@DietPi:~# dhclient -i eth0
16:23:18.079786 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 02:81:2c:03:fa:12 (oui Unknown), length 300, xid 0xc9aeb208, Flags [none] (0x0000)
Client-Ethernet-Address 02:81:2c:03:fa:12 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 6: "DietPi"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
Client-ID Option 61, length 19: hardware-type 255, 2c:03:fa:12:00:01:00:01:27:9c:b9:93:02:81:2c:03:fa:12
END Option 255, length 0
PAD Option 0, length 0, occurs 12
16:23:27.021965 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 02:81:2c:03:fa:12 (oui Unknown), length 300, xid 0xc9aeb208, secs 9, Flags [none] (0x0000)
Client-Ethernet-Address 02:81:2c:03:fa:12 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 6: "DietPi"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
Client-ID Option 61, length 19: hardware-type 255, 2c:03:fa:12:00:01:00:01:27:9c:b9:93:02:81:2c:03:fa:12
END Option 255, length 0
PAD Option 0, length 0, occurs 12
16:23:32.770496 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 02:81:2c:03:fa:12 (oui Unknown), length 300, xid 0xc7b65164, Flags [none] (0x0000)
Client-Ethernet-Address 02:81:2c:03:fa:12 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 6: "DietPi"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
Client-ID Option 61, length 19: hardware-type 255, 2c:03:fa:12:00:01:00:01:27:9c:b9:93:02:81:2c:03:fa:12
END Option 255, length 0
PAD Option 0, length 0, occurs 12
- I installed another OS like debain and it looks good.