<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic nddconf not setting value in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425186#M563485</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have added the following to a /etc/rc.config.d/nddconf file to disable ip forwarding&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[5]=ip&lt;BR /&gt;NDD_NAME[5]=ip_forwarding&lt;BR /&gt;NDD_VALUE[5]=0&lt;BR /&gt;&lt;BR /&gt;However when the server is rebooted an i run &lt;BR /&gt;ndd -get /dev/ip ip_forwarding, i get a value of 2 returned???? There was no lan connection when i tried this but i'm not sure this would make a difference.... any ideas??&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Aidan</description>
    <pubDate>Thu, 18 Nov 2004 10:39:35 GMT</pubDate>
    <dc:creator>AIMC</dc:creator>
    <dc:date>2004-11-18T10:39:35Z</dc:date>
    <item>
      <title>nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425186#M563485</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have added the following to a /etc/rc.config.d/nddconf file to disable ip forwarding&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[5]=ip&lt;BR /&gt;NDD_NAME[5]=ip_forwarding&lt;BR /&gt;NDD_VALUE[5]=0&lt;BR /&gt;&lt;BR /&gt;However when the server is rebooted an i run &lt;BR /&gt;ndd -get /dev/ip ip_forwarding, i get a value of 2 returned???? There was no lan connection when i tried this but i'm not sure this would make a difference.... any ideas??&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Aidan</description>
      <pubDate>Thu, 18 Nov 2004 10:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425186#M563485</guid>
      <dc:creator>AIMC</dc:creator>
      <dc:date>2004-11-18T10:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425187#M563486</link>
      <description>Hi Aidan,&lt;BR /&gt;&lt;BR /&gt;The 2 value is default which implies an error in your nddconf file.&lt;BR /&gt;Make sure:&lt;BR /&gt;1) The index value is unique.&lt;BR /&gt;2) There is no typo in the entry - including hidden characters - delete &amp;amp; replace to be sure.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 Nov 2004 10:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425187#M563486</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-11-18T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425188#M563487</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you able to set it manuallyu from the command like&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_forwarding 5&lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2004 10:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425188#M563487</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-18T10:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425189#M563488</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you able to set it manually from the command like&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_forwarding 5&lt;BR /&gt;&lt;BR /&gt;Check to see  if it is set to "5"&lt;BR /&gt;&lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2004 10:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425189#M563488</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-18T10:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425190#M563489</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply's, i didn't check with the -get option after i'd used the -set to set the value to 0, also 5 is is not a valid option here it can only be set to 0,1 or 2.&lt;BR /&gt;&lt;BR /&gt;I'll try setting it manually &amp;amp; then testing, also i'll try removing the lines &amp;amp; re-typing them in the nddconf file.&lt;BR /&gt;&lt;BR /&gt;Does anybody know what daemon reads the nddconf file on bootup?&lt;BR /&gt;&lt;BR /&gt;Aidan</description>
      <pubDate>Thu, 18 Nov 2004 10:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425190#M563489</guid>
      <dc:creator>AIMC</dc:creator>
      <dc:date>2004-11-18T10:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425191#M563490</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i think "init" is the daemon that reads and starts all the configured process at boot time.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2004 11:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425191#M563490</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-18T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: nddconf not setting value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425192#M563491</link>
      <description>No daemon read the nddconf file. It is run just like all the other startup scripts. /etc/rc.config.d/nddconf is processed using the script /sbin/init.d/net (you can read the script to see where ndd is called).&lt;BR /&gt; &lt;BR /&gt;Now, ndd -c is the tool to test your nddconf file. It performs the task of reading the nddconf file and setting the required values. So, the order in debugging an ndd setting is to first request the current value:&lt;BR /&gt; &lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt; &lt;BR /&gt;That returns the current value and also verifies the syntax of the command (the right device file, and the correct speilling of the parameter). Now set the value manually:&lt;BR /&gt; &lt;BR /&gt;ndd -set /dev/ip ip_forwarding 0&lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt; &lt;BR /&gt;The first sets the value and the second verifies the setting. Finally, make the changes to nddconf, then set the value to something else, followed by ndd -c and verify that the setting took place:&lt;BR /&gt; &lt;BR /&gt;ndd -set /dev/ip ip_forwarding 2&lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt;ndd -c&lt;BR /&gt;ndd -get /dev/ip ip_forwarding&lt;BR /&gt; &lt;BR /&gt;If all is well, you'll see the value change and then take on the value in nddconf. &lt;BR /&gt; &lt;BR /&gt;NOTE: ndd -c has been BROKEN for a while. It doesn't do anything or fails to process all the values in the file (contrary to the man page) until you add the latest ndd patch (PHNE_31247 for 11.11, PHNE_26125 for 11.00).</description>
      <pubDate>Thu, 18 Nov 2004 16:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nddconf-not-setting-value/m-p/3425192#M563491</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-18T16:16:02Z</dc:date>
    </item>
  </channel>
</rss>

