SliTaz SliTaz Forum

You are not logged in.

#1 2014-08-08 18:47:18

paracent
Member
Registered: 2014-08-08
Posts: 3

suggestion: add hostname to udhcpc

udhcpc by default does not provide hostname information during the dhcp negotiation.

I would like to suggest a modification to /etc/init.d/network.sh: ( line 156 )

[c]/sbin/udhcpc -b -T 1 -A 12 -i $INTERFACE -p \[/c]

to:

[c]/sbin/udhcpc -b -T 1 -A 12 -F $(/bin/hostname) -i $INTERFACE -p \[/c]

what are your thoughts?

Mike

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]