View Single Post
beardiebeardie

 
Member Since: Aug 07, 2007
Posts: 16
beardiebeardie is on a distinguished road

beardiebeardie is offline
Dont worry I think I have found it it is something like this

HWADDRESS=`ifconfig en0 | grep ether | awk '{print $2}'`

NONAME=`echo $HWADDRESS | awk '{ gsub(":", ""); print $0}'`

sudo scutil --set ComputerName AP$NONAME

sudo scutil --set HostName AP$NONAME
QUOTE Thanks