From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,62aa4f53b5f989fd X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-19 23:59:19 PST Path: supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!cyclone.bc.net!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!not-for-mail From: "Frank" Newsgroups: comp.unix.tru64 Subject: Re: how to change default val for udp_ttl? Date: Wed, 20 Dec 2000 07:58:57 -0000 Organization: Compaq Computer Corp. Message-ID: <91porm$etu$1@mailint03.im.hou.compaq.com> References: <91mfhp$d14$1@net44p.hkbu.edu.hk> <91nbdn$sie$1@mailint03.im.hou.compaq.com> <91o3p7$79e9$1@lead.zk3.dec.com> NNTP-Posting-Host: 16.195.64.209 X-Trace: mailint03.im.hou.compaq.com 977299126 15294 16.195.64.209 (20 Dec 2000 07:58:46 GMT) X-Complaints-To: usenet@mailint03.im.hou.compaq.com NNTP-Posting-Date: 20 Dec 2000 07:58:46 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: supernews.google.com comp.unix.tru64:1267 Andrew, You are right, I should have read the sysconfig man page more closely. Frank ! Andrew Duane USG wrote in message news:91o3p7$79e9$1@lead.zk3.dec.com... > WHOA! > > The last reply, from Frank at mailint03.im.hou.compaq.com is quite > detailed, but unfortunately mostly wrong. > > Whether a subsystem is static or dynamic (as reported by sysconfig -m) > has nothing whatsoever to do with how you set variables in sysconfigtab > and whether a new kernel needs to be built or not. The sysconfigtab was > developed exactly so that kernels did not need to be rebuilt just to > change variables. > > First, the ONLY approved method to do so is with sysconfigdb. It is > HIGHLY NOT RECOMMENDED to edit /etc/sysconfigtab manually. > > Next, whether a variable can be set at run time, or needs to have the > system rebooted (NOT rebuilt, just rebooted) depends on the variable. > To find out, use sysconfig -Q: > > # sysconfig -Q inet udp_ttl > inet: > udp_ttl - type=INT op=CRQ min_val=0 max_val=255 > # > > This gives the type (INT = integer), the min and max values (0 and 255), > and the supported operations. CRQ means CONFIGURABLE (at boot time), > RECONFIGURABLE (at run time) and QUERYABLE. > > So for this variable, the system does not even need to be rebooted for > the new value to take effect. As soon as you do: > > # sysconfig -r inet udp_ttl= > > the new value will be used. If it were only CQ, the system would have > to be rebooted to take effect. > > > All of this is detailed in the sysconfig man page. If you have any > more questions, feel free to email me. > > -- > > Andrew L. Duane (JOT-7) duane@zk3.dec.com > Compaq Computer Corporation (603)-884-1294 > 110 Spit Brook Road > M/S ZKO3-3/U14 > Nashua, NH 03062-2698 >