The officially official Devuan Forum!

You are not logged in.

#1 2020-12-15 20:55:37

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

dhcp problem after upgrade

Hello,
I'm using Devuan 3, installed from scratch, and since my last packages upgrade last friday, the dhcp at boot always fail.

After login, I try /etc/init.d/networking restart and I receive an error about a wrong packet size, that I never experienced before.

send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2978: Failed to send 300 byte long packet over fallback interface.

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.

I also upgraded dhclient to 4.4.2 from sources, but always fails through boot and manually via /etc/init.d/networking.

It works only directly called:

$ sudo dhclient -4 eth0 -v
Internet Systems Consortium DHCP Client 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/db/dhclient.leases: No such file or directory
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 192.168.0.2 from 192.168.0.1
DHCPREQUEST for 192.168.0.2 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.2 from 192.168.0.1
bound to 192.168.0.2 -- renewal in 42379 seconds.

What can I do to fix this issue? What can I check?
Since I switching from Devuan 2 to 3 there are only problems...

Offline

#2 2020-12-16 16:56:22

chris2be8
Member
Registered: 2018-08-11
Posts: 307  

Re: dhcp problem after upgrade

Does a directory called /var/db exist? If not try sudo mkdir /var/db

NB: I'm only guessing since I don't use DHCP. But the "can't create /var/db/dhclient.leases: No such file or directory" message looks suspicious.

Chris

Offline

#3 2020-12-16 20:15:34

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Re: dhcp problem after upgrade

chris2be8 wrote:

Does a directory called /var/db exist? If not try sudo mkdir /var/db

NB: I'm only guessing since I don't use DHCP. But the "can't create /var/db/dhclient.leases: No such file or directory" message looks suspicious.

Chris

Hi Chris, thanks for the reply.

No, it doesn't exists... Anyway, this error occurs only with dhclient 4.4.2, that I compiled by my self for test, the repository one is 4.4.1.

Offline

#4 2020-12-16 22:40:17

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Re: dhcp problem after upgrade

Even after reinstalling the system, the problem persists.
I switched back to devuan 2 since the 3 gave me only a lot of problems, not only networking related...
Really disappointed...

Offline

Board footer