home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5731 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.5 KB  |  42 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
  3. From: louie@sayshell.umd.edu (Louis A. Mamakos)
  4. Subject: Re: Change HostID - How ??
  5. Message-ID: <1992Aug21.135516.10733@ni.umd.edu>
  6. Sender: usenet@ni.umd.edu (USENET News System)
  7. Nntp-Posting-Host: sayshell.umd.edu
  8. Organization: University of Maryland College Park
  9. References: <1992Aug18.153253.3473@midway.uchicago.edu>
  10. Date: Fri, 21 Aug 1992 13:55:16 GMT
  11. Lines: 29
  12.  
  13.  
  14. Thinking about it, there seems to be three ways to change your hostid:
  15.  
  16. 1) Fix the system call entry table so that the entry for the
  17. sethostid() system call points to the actual code, rather than the
  18. subroutine which returns an error.
  19.  
  20. 2) Write a program to open /dev/kmem, seek to the right place, and
  21. then write over the spot in kernel memory that the gethostid() system
  22. call grabs the hostid from.
  23.  
  24. 3) Patch the shared C library so that rather than invoking the
  25. gethostid() system call, it just returns in D0 whatever number you
  26. like.
  27.  
  28. I know the first two methods have been tried; I don't know about the
  29. third.  Much of this would be unnecessary if two things were done:
  30.  
  31. - The ethernet address/hostid was on a socketed, removeable ROM which
  32. could be easily moved from one CPU board to another when they are
  33. repaired.
  34.  
  35. - It wasn't as much a pain in the $#@% to maintain and register
  36. software that depends on using hostids as copy protection.  I think
  37. that this mechanism needs to be replaced with something like a public
  38. key cryptosystem scheme that would be useful for other things, too.
  39.  
  40. louie
  41.  
  42.