The officially official Devuan Forum!

You are not logged in.

#1 2022-11-30 20:31:37

deepforest
Member
Registered: 2020-03-24
Posts: 354  

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval

many times at booting and no network after booting
syslog https://filebin.net/xlouztkn3ufvuos8

/etc/network/interfaces                                                                                                                                             

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

PS how can i choose networking? from upper config file or NetworkManager?

/etc/resolv.conf                                                                                                                                                  
nameserver 192.168.0.1
nameserver 185.253.74.33
nameserver 185.253.74.34
/etc/resolvconf.conf                                                                                                                                              
resolvconf=NO

Last edited by deepforest (2022-11-30 20:55:22)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2022-11-30 21:23:53

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

deepforest wrote:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval

many times at booting and no network after booting

I entered "dhclient syslog DHCPDISCOVER" into a search engine and found this:

https://serverfault.com/questions/32715 … r-of-times

deepforest wrote:

how can i choose networking? from upper config file or NetworkManager?

If an NIC is configured in /etc/network/interfaces then NetworkManager will ignore it.

I always remove NM. It's useless bloat IMO.


Brianna Ghey — Rest In Power

Offline

#3 2022-12-01 00:29:22

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

Thanks. And why after that i have no network? May be DHCP not accepted from router?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#4 2022-12-01 06:43:27

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

After what, exactly? What did you change?

You can use a static IP address instead, that doesn't require a running dhcp daemon or DHCP router support. Just make sure you don't pick an address that's already in use.


Brianna Ghey — Rest In Power

Offline

#5 2022-12-02 05:14:54

steve_v
Member
Registered: 2018-01-11
Posts: 381  

Re: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

deepforest wrote:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval

many times at booting and no network after booting

From a quick glance at that log file, it appears that dhcpcd is successfully obtaining a lease for 192.168.0.26 from a server at 192.168.0.1...
Then connman and networkmanager start fighting over the interface, killing each other's dhcpcd instances, and everything pretty much goes to hell.

Why exactly are you trying to use 3 different methods to configure your network all at the same time anyway? That's bound to cause chaos.

deepforest wrote:

PS how can i choose networking? from upper config file or NetworkManager?

Pick one method to configure networking.
IIRC networkmanager will leave interfaces configured in /etc/network/interfaces alone by default, so ifup and networkmanager should be able to coexist peacefully... At least in theory.
That would still be confusing though, if you want to use networkmanager and have the interface come up before anyone logs in, look for a "system connection" or "available to all users" option in your networkmanager frontend of choice.

Otherwise, get rid of networkmanager and connman (as well as any other random actors you didn't mention) and just use /etc/network/interfaces like the good-old-days before all this overcomplicated gui crap came along.

deepforest wrote:

why after that i have no network?

steve@damnation:~$ crystal-ball --query "what did he do?"
crystal-ball: command not found

Oops, guess I misplaced it. roll

Last edited by steve_v (2022-12-02 05:32:43)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#6 2022-12-03 21:12:52

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times

again

No DHCPOFFERS received

why this  command not work?

freeartist@devuan:~$ sudo dhclient eth0
RTNETLINK answers: File exists
freeartist@devuan:~$ 

Last edited by deepforest (2022-12-03 21:16:54)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer