home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11101 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.0 KB  |  46 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  3. From: casper@fwi.uva.nl (Casper H.S. Dik)
  4. Subject: Re: UDP checksum OFF in SunOS 4.1.2
  5. Message-ID: <1992Sep15.195830.20424@fwi.uva.nl>
  6. Keywords: UDP CHECKSUM OFF SUNOS 4.1
  7. Sender: news@fwi.uva.nl
  8. Nntp-Posting-Host: adam.fwi.uva.nl
  9. Organization: FWI, University of Amsterdam
  10. References: <136341@lll-winken.LLNL.GOV>
  11. Date: Tue, 15 Sep 1992 19:58:30 GMT
  12. Lines: 32
  13.  
  14. jallen@litani.nersc.gov (John Allen) writes:
  15.  
  16. >I know how to turn off udp checksum under ultrix:
  17.  
  18. >$ dbx -k vmunix 
  19. >print udpcksum    (shows current state)
  20. >assign udpcksum=0 (to turn off)
  21. >assign udpcksum=1 (to turn on)
  22.  
  23. >How can I do it under SunOS 4.1.2?
  24.  
  25. >                John Allen
  26.  
  27. Two ways:
  28.     - edit /sys/conf.netinet/in_proto.c
  29.     find the declaration `` int udp_cksum = 0'' and change it
  30.     to ``int udp_cksum = 1'' (near the end of the file)
  31.     rebuild the kernel
  32.  
  33.     - use adb
  34.     adb -w -k /vmunix /dev/mem
  35.     udp_cksum?W1
  36.     udp_cksum/W1
  37.     ^D
  38.  
  39.     (no need to reboot)
  40.  
  41. Casper
  42. -- 
  43.                         |    Casper H.S. Dik
  44.                         |    casper@fwi.uva.nl
  45.