[maemo-users] DHCP Hostname
From: Kip Warner kip at thevertigo.comDate: Sun Nov 7 20:46:33 EET 2010
- Previous message: DHCP Hostname
- Next message: DHCP Hostname
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 2010-11-06 at 18:26 +0000, Lucas Maneos wrote: > Maemo uses udhcpc instead, but it does send the hostname by default - here's > what the DISCOVER request looks like with tshark -V: > > Bootstrap Protocol > [...] > Option: (t=53,l=1) DHCP Message Type = DHCP Discover > Option: (53) DHCP Message Type > Length: 1 > Value: 01 > Option: (t=61,l=7) Client identifier > Option: (61) Client identifier > Length: 7 > Value: 01001D6EXXXXXX > Hardware type: Ethernet > Client MAC address: NokiaDan_XX:XX:XX (00:1d:6e:XX:XX:XX) > Option: (t=12,l=15) Host Name = "Nokia-N810-43-7" > Option: (12) Host Name > Length: 15 > Value: 4E6F6B69612D4E3831302D34332D37 > [...] > > This is done by /usr/lib/icd2/libicd_network_ipv4.so (passed as a -H > argument to udhcpc) which you can't change, but if you want to send a > different one you can always set the real hostname to that via > /etc/hostname and reboot. > > L. Hey Lucas. Thanks a lot for your help. I edited /etc/hostname, but after rebooting, if I run hostname, it just prints out a blank line. Ideas? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20101107/0d4f7bda/attachment.pgp>
- Previous message: DHCP Hostname
- Next message: DHCP Hostname
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]