View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Cambiar un hostid a un solaris 10 (intel)

Se ha seguido este tutorial, pero cambiando el orden de las palabras ya que SPARC es big-endian e intel es little-endian.

 /etc/rc2.d/S20sysetup
#...
# Change Host ID to Hexdecimal: 3824d459
# It's Decimal Value: 941937753
# Divide to 3 parts: 9419 3775 3 
# Hex value of the above ASCII Characters for SPARC:
# 39 34 31 39   
# 33 37 37 35 
# 33 
# After padding:
# 39343139 
# 33373735
# 33000000
# For INTEL it is backwards:
# 39 31 34 39
# 35 37 37 33
# 33
# After padding:
# 39313439
# 35373733
# 00000033

# The following code will apply the new Hostid
#adb -w -k /dev/ksyms /dev/mem </dev/null 

adb -w -k /dev/ksyms /dev/mem  <<END
hw_serial/W 0x39313439
hw_serial+4/W 0x35373733
hw_serial+8/W 0x00000033
END