[Angstrom-distro-users] Auto Generate Hostname?

William C Bonner wbonner at wimsworld.com
Tue Jan 25 16:29:20 CET 2011


Is there an easy way of auto generating a hostname at boot time?

I've got a system that I'm building that runs on a minimal setup from a
ramdisk and stores very little state information.

I'd like to be able to build multiple of these units on my network.

Is there a way of having a hostname auto generted at boot time, possibly
based on an available network address.

e.g.

hostname not on the network: beagleboard
hostname on the network: beagleboard-00259C642A2C

Getting the hostname suffix from the ethernet0 HWaddr.

I'm sure that this is a standard sort of solution, I just don't know the
right keyword combination to find it.

Thanks. Wim


More information about the Angstrom-distro-users mailing list