Re: DHCP and static IP configuration hangs when no DHCP

2019-06-13 Thread David Bourgeois
Hi Francesco, I had Network Manager 1.6.2 from Debian Stretch installed and there it does not work, no IP assigned while connecting. I updated to 1.14 and there it indeed works like you were expecting. And this does what I need it to, so thank you very much for the help! Regards, David On Wed, J

Re: DHCP and static IP configuration hangs when no DHCP

2019-06-12 Thread Francesco Giudici via networkmanager-list
Hi David, On 6/12/19 8:17 PM, David Bourgeois wrote: The only hack I found is to create a static IP only, then in add a up-post script that manually launches dhclient on the interface. That does what I need but it's somehow cumbersome. On Wed, Jun 12, 2019 at 8:15 PM David Bourgeois

Re: DHCP and static IP configuration hangs when no DHCP

2019-06-12 Thread David Bourgeois
The only hack I found is to create a static IP only, then in add a up-post script that manually launches dhclient on the interface. That does what I need but it's somehow cumbersome. On Wed, Jun 12, 2019 at 8:15 PM David Bourgeois wrote: > Hi Francesco, > > Thank you for your answer. I can indee

Re: DHCP and static IP configuration hangs when no DHCP

2019-06-12 Thread David Bourgeois
Hi Francesco, Thank you for your answer. I can indeed do that to keep DHCP trying forever or nearly, that's a good idea. But my problem is that the static IP is not created at all until there's an answer from a DHCP server. I was expecting that the static IP would be created then the dynamic IP wo

Re: DHCP and static IP configuration hangs when no DHCP

2019-06-12 Thread Francesco Giudici via networkmanager-list
Hi David, On 6/11/19 12:24 AM, David Bourgeois wrote: Hi, I can't find the proper configuration to have an always enabled static IP address and an optional DHCP address when connected to a network that has a DHCP server. My use case is a portable device that connects to local embedded device

DHCP and static IP configuration hangs when no DHCP

2019-06-10 Thread David Bourgeois
Hi, I can't find the proper configuration to have an always enabled static IP address and an optional DHCP address when connected to a network that has a DHCP server. My use case is a portable device that connects to local embedded devices using a private local LAN so the static IP should always b