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

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!informatik.tu-muenchen.de!meyergru
  3. From: meyergru@Informatik.TU-Muenchen.DE (Uwe Meyer-Gruhl)
  4. Subject: Re: Change HostID - How ??
  5. Keywords: Ask EPS!
  6. References: <1992Aug18.153253.3473@midway.uchicago.edu> <1992Aug19.194102.3029@kakwa.ucs.ualberta.ca>
  7. Originator: meyergru@hpradigc.informatik.tu-muenchen.de
  8. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  9. Organization: Technische Universitaet Muenchen, Germany
  10. Date: Fri, 21 Aug 1992 09:21:42 GMT
  11. Message-ID: <1992Aug21.092142.13566@Informatik.TU-Muenchen.DE>
  12. Lines: 56
  13.  
  14.  
  15.  
  16. In article <1992Aug19.194102.3029@kakwa.ucs.ualberta.ca>, dave@nakiska.ucs.ualberta.ca (David Ross) writes:
  17. |> In article <1992Aug18.153253.3473@midway.uchicago.edu>  
  18. |> eer1@midway.uchicago.edu(Paul Woods) writes:
  19.  
  20. [munch]
  21.  
  22. |> > to change it on several of my NeXT's.  HOW DO I PATCH THE OS SO THAT IT  
  23. |> WILL  
  24. |> > ALLOW ME TO CHANGE THE HOSTID.  I am not a programmer (not really  
  25. |> anyway) so  
  26. |> > please keep it on a very simple level.
  27. |> > 
  28. |> > Thanks,
  29. |> > 
  30. |> > Paul-
  31. |> 
  32. |> Hi Paul.  You can't change the hostid of a Sun or a NeXT.  (Unless there  
  33. |> is some sort of magical system patch to do it). I missed your previous  
  34. |> posting so I don't really understand why you would want to.
  35. |>  
  36.  
  37. [munch]
  38.  
  39. |> 
  40. |> The system call sethostid(2) doesn't really seem to work (there's no man  
  41. |> page for it either).  In generic BSD I assume it is possible to set your  
  42. |> hostid.  In fact I know it is on some machines - I've done it.  However  
  43.  
  44. [munch]
  45.  
  46. Well, err. Not quite right. Mach actually has the ability to change
  47. the host id with 'sethostid()', but NeXT chose to disable that feature.
  48. Eric P. Scott found out which table entry has to be patched in NS 2.1.
  49. The output of 'cmp -l /sdmach.old /sdmach' on my machine would give
  50. (it does _not_, as there are some other patches as well...):
  51.  
  52. sdmach.binpatch:
  53. ---- CUT HERE ----
  54. 579602   0   1
  55. 579607 240 217
  56. 579608 214 206
  57. ---- CUT HERE ----
  58.  
  59. This will re-enable the 'sethostid()'-call. For information on how to
  60. apply the patch and some other kernel hacks, see my recent postings
  61. on comp.sys.next.software (topic: RAMDISK).
  62.  
  63.  
  64. cheers, Uwe
  65.  
  66. Uwe Meyer-Gruhl                      "Close female relative wear combat boots"
  67. Lehrstuhl Informatik IX
  68. Technische Universitaet Muenchen     email:MeyerGru@Informatik.TU-Muenchen.DE
  69. Orleansstr. 34, D-8000 Muenchen 80   tel: ++49 89 48095-209
  70.