[maemo-developers] udhcpc and hostname

From: Kalle Valo Kalle.Valo at nokia.com
Date: Mon Jun 18 10:25:34 EEST 2007
"ext Guard][an" <guardian at pempek.net> writes:

> 1) to me, using the bluetooth device name for wifi or usb networking 
> sounds quite illogical.

Yes, I agree with you. But bluetooth name is the only name which user
can change easily.

> why can't udhcpc use the value contained in /etc/hostname ?

User can't change that easily.

> 2) considering that i rarely use bluetooth, i had to enable it so that 
> the "My device's name" edit box becomes enabled before i can change the 
> device name: the workflow sounds wrong.

I agree.

> 3) after having changed the bluetooth's device name, i had to 
> disconnect/reconnect the wlan connection so that dns server gets 
> notified of the new hostname but this sounds logical and acceptable.

Yes, that's how it was supposed to work.

> 4) the former bluetooth device name was "Nokia N800" which made my 
> tablet be registered as "nokian800" in the dns server. it is documented 
> nowhere (also it's kinda logical and acceptable) that spaces in the 
> device name are dropped, which might confuse users and makes me think 
> again that using bluetooth name as hostname is inappropriate.

This DHCP name was just a nice addon for the device and we didn't want
to implement separate UI for it. That's the implementation is so
simple.

-- 
Kalle Valo


More information about the maemo-developers mailing list