home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16474 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!sgigate!sgi!fido!zola!sgihub!eurohub!spectrum.neu.sgi.com!joe
  2. From: joe@spectrum.neu.sgi.com (Joe Elliott)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: FAQ: - ethernet addr -- another method!
  5. Message-ID: <1992Nov16.131533.16209@eurohub.neu.sgi.com>
  6. Date: 16 Nov 92 13:15:33 GMT
  7. Sender: news@eurohub.neu.sgi.com (Net news)
  8. Organization: Silicon Graphics S.A., Neuchatel, Switzerland
  9. Lines: 36
  10. Nntp-Posting-Host: spectrum.neu.sgi.com
  11.  
  12. Here is yet another way to obtain your MAC addr plus lots of other
  13. goodies.
  14.  
  15. when you boot from the prom you supply an extra argument
  16.  
  17. boot dksc(,1,)/unix showconfig
  18.  
  19. then before loading it dumps load of hardware info, including memory and
  20. MAC addr. Things vary depending on architecture.
  21.  
  22. just another trick that hasnt been mentioned yet, how many ways have been
  23. mentioned now? it must be record for solutions.
  24.  
  25. % nvram eaddr
  26. % sysinfo
  27. % netstat -ia
  28. % arp -a
  29. % etc etc
  30.  
  31. Also isnt the hostid derived from the MAC address, as its the only
  32. guaranteed unique number?
  33.  
  34. Here is another goodie to use if you are not using timed, in your .cshrc
  35.  
  36. alias sync_time 'rsh guest@\!* date +%m%d%H%M.%S | xargs date'
  37.  
  38. then sync_time fred sync the time to machine fred, as root of course
  39. Its a hack to the sunos command rdate. Pretty useless really.
  40.  
  41.  
  42.  
  43. -- 
  44.  
  45. *****************  Joe Elliott (LAN Administrator)  *******************
  46. Silicon Graphics, 2 Chemin des Rochettes, 2016 Cortaillod,  Switzerland
  47. joe@neu.sgi.com  (VM# 9083)   Tel. +41 38 433 698  Fax. +41 38 43 39 74
  48.