Hello,
I've set a custom hostname via Tweaks page and want that this name is used in dhcp requests. This seems to work for the ethernet interface but not for the wifi interface: Code: -------------------- 7249 root 0:00 /sbin/udhcpc -b -i eth0 -x hostname:pcp1 -p /var/run/udhcpc.eth0.pid 7826 root 0:00 /sbin/udhcpc -b -i wlan0 -x hostname:Kitchen Player -p /var/run/udhcpc.wlan0.pid -------------------- It seems that dhcp.sh in /etc/init.d/ uses /etc/hostname for the hostname option: Code: -------------------- ... /sbin/udhcpc -b -i $DEVICE -x hostname:$(/bin/hostname) -p /var/run/udhcpc.$DEVICE.pid >/dev/null 2>&1 & ... -------------------- /usr/local/etc/init.d/wifi seems to use the player name: Code: -------------------- ... /sbin/udhcpc -b -i $INTERFACE -x hostname:$NAME -p /var/run/udhcpc.${INTERFACE}.pid ... -------------------- Would it be possible to use the hostname here as well? Is there a way to edit this script locally so that it persists during reboots? Thanks! 2x Squeezebox Radio| piCorePlayer with IQaudIO DigiAMP+ | piCorePlayer with HiFiBerry Digi+ Pro | piCorePlayer with touch screen and USB DAC ------------------------------------------------------------------------ ashceryth's Profile: http://forums.slimdevices.com/member.php?userid=67137 View this thread: http://forums.slimdevices.com/showthread.php?t=113512 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix