Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Mathias Kresin
08.12.2017 21:14, Daniel Golle: Hi Mathias, On Fri, Dec 08, 2017 at 09:35:26AM +0100, Mathias Kresin wrote: udhcpc doesn't send a hostname by default. Use the system hostname if nothing else is specified, to always send a hostname. It syncs the behaviour to odhcpc, which always sends a hostnam

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Arjen de Korte
Citeren Mathias Kresin : udhcpc doesn't send a hostname by default. Use the system hostname if nothing else is specified, to always send a hostname. Be aware that this might mean that some DHCP servers may assign a different IP in this case. If I switch to odhcpc, I *will* get a different

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Daniel Golle
Hi Mathias, On Fri, Dec 08, 2017 at 09:35:26AM +0100, Mathias Kresin wrote: > udhcpc doesn't send a hostname by default. Use the system hostname if > nothing else is specified, to always send a hostname. > > It syncs the behaviour to odhcpc, which always sends a hostname. Could we somehow allow

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Hans Dedecker
On Fri, Dec 8, 2017 at 1:43 PM, Stijn Tintel wrote: > On 08-12-17 09:35, Mathias Kresin wrote: >> udhcpc doesn't send a hostname by default. Use the system hostname if >> nothing else is specified, to always send a hostname. >> >> It syncs the behaviour to odhcpc, which always sends a hostname. >>

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Stijn Tintel
On 08-12-17 09:35, Mathias Kresin wrote: > udhcpc doesn't send a hostname by default. Use the system hostname if > nothing else is specified, to always send a hostname. > > It syncs the behaviour to odhcpc, which always sends a hostname. > > Signed-off-by: Mathias Kresin > --- > package/network/c