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 09:04:31 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!pa.dec.com!ajo.zk3.dec.com!magma!duane From: duane@magma.uucp (Andrew Duane USG) Newsgroups: comp.unix.tru64 Subject: Re: how to change default val for udp_ttl? Date: 19 Dec 2000 16:52:55 GMT Organization: Digital Equipment Corporation Message-ID: <91o3p7$79e9$1@lead.zk3.dec.com> References: <91mfhp$d14$1@net44p.hkbu.edu.hk> <91nbdn$sie$1@mailint03.im.hou.compaq.com> NNTP-Posting-Host: magma.zk3.dec.com X-Trace: lead.zk3.dec.com 977244775 239049 16.140.48.243 (19 Dec 2000 16:52:55 GMT) X-Complaints-To: iass@ajo.zk3.dec.com NNTP-Posting-Date: 19 Dec 2000 16:52:55 GMT Xref: supernews.google.com comp.unix.tru64:1253 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