<?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 Re: shutdown -r in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028131#M430147</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1.) No.&lt;BR /&gt;&lt;BR /&gt;2.) /etc/rc.config.d/netconf is permanent and is where the DEFAULT route should be set. You can only have 1 default route. You can have otheres but they will not be default.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 13 Feb 2007 07:47:11 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-02-13T07:47:11Z</dc:date>
    <item>
      <title>shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028130#M430146</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I changed HP box ip address by using sam and i canged the gateway by using route add command.&lt;BR /&gt;&lt;BR /&gt;I restarted the server 2,3 times by using "shutdown -r" command.  I never faced any problem.  &lt;BR /&gt;&lt;BR /&gt;Unfortunetly my ups powersupply failed and my server entirely switched off.  When i boot the server back and i checked that the ip address is newely assigned one. But the gateway was the old one. Imediately i checked the etc/rc.config.d/netconf file. The DEFAULT GATEWAY entry was old gateway.  &lt;BR /&gt;&lt;BR /&gt;Now my doubt is &lt;BR /&gt;&lt;BR /&gt;1.) Is route add comamnd changes the configuration permanently?&lt;BR /&gt;&lt;BR /&gt;2.) If it is temporarly also, Then how this was working after restaring with shutdown -r command. Because after restaring the /sbin/init.d/net script starts and it used to read the /etc/rc.config.d/netconf configuration file. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can any one please clear my doubt......</description>
      <pubDate>Tue, 13 Feb 2007 07:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028130#M430146</guid>
      <dc:creator>Guna_2</dc:creator>
      <dc:date>2007-02-13T07:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028131#M430147</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1.) No.&lt;BR /&gt;&lt;BR /&gt;2.) /etc/rc.config.d/netconf is permanent and is where the DEFAULT route should be set. You can only have 1 default route. You can have otheres but they will not be default.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 13 Feb 2007 07:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028131#M430147</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-02-13T07:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028132#M430148</link>
      <description>1) The route add command is temporary from the CLI.  You must go in and edit the /etc/rc.config.d/netconf to make it 'permanent'.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;So when you rebooted it dropped back to what was in the netconf file (just as you say in line 2)&lt;BR /&gt;&lt;BR /&gt;Always remember......you must change those files to make it permanent !!&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Tue, 13 Feb 2007 07:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028132#M430148</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2007-02-13T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028133#M430149</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1.) Is route add comamnd changes the configuration permanently?&lt;BR /&gt;No.&lt;BR /&gt;&lt;BR /&gt;The config is stored in /etc/rc.config.d/netconf &lt;BR /&gt;&lt;BR /&gt;Best way to change:&lt;BR /&gt;&lt;BR /&gt;set_parms initial or addl_netwrk</description>
      <pubDate>Tue, 13 Feb 2007 07:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028133#M430149</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-02-13T07:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028134#M430150</link>
      <description>Hi;&lt;BR /&gt;&lt;BR /&gt;NO. after adding a new route, make an entry in /etc/rc.config.d/netconf file.&lt;BR /&gt;&lt;BR /&gt;for example..&lt;BR /&gt;vi /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]="10.10.255.255"&lt;BR /&gt;ROUTE_GATEWAY[0]="10.x.x.x"&lt;BR /&gt;ROUTE_COUNT[0]=""&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers;&lt;BR /&gt;Indrajit Roy&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 08:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028134#M430150</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2007-02-13T08:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028135#M430151</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;In this case I changed the gateway by using route add command only. After that i restarted with shutdown -r command. &lt;BR /&gt;&lt;BR /&gt;That time why the gateway was new. If it reads the configuration file from /etc/rc.confg.d/netconf file then the gw could be old one.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 08:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028135#M430151</guid>
      <dc:creator>Guna_2</dc:creator>
      <dc:date>2007-02-13T08:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028136#M430152</link>
      <description>&lt;BR /&gt;Guna&lt;BR /&gt;&lt;BR /&gt;You can also use SAM to permanently change the default route&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 08:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028136#M430152</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2007-02-13T08:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028137#M430153</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;My doubt is as per u all teh route add command will not change the configuration permanently;&lt;BR /&gt;&lt;BR /&gt;o.k fine.&lt;BR /&gt;&lt;BR /&gt;But i changed the gw with route add comamnd. It doesn't made any changes in /etc/rc.config.d/netconf file.  And after I restarted the server by using shudown -r command. Even After restarting also the gw was newely asigned gw.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After full poweroff and boot only the gateway was old one.  &lt;BR /&gt;&lt;BR /&gt;Thats what i am not understanding.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will shudown -h command and poweing off the machine makes any difference from shutdown -r command.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 08:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028137#M430153</guid>
      <dc:creator>Guna_2</dc:creator>
      <dc:date>2007-02-13T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028138#M430154</link>
      <description>If you only changed the gateway via 'route add' and did NOT change /etc/rc.config.d/netconf, then there is NO WAY your gateway should have been set to the NEW gateway after a reboot (shutdown -r).&lt;BR /&gt;&lt;BR /&gt;Are you sure that your machine actually did reboot?  &lt;BR /&gt;&lt;BR /&gt;What does /etc/shutdownlog show?  Does it show that your machine actually rebooted after your network / gateway changes?</description>
      <pubDate>Tue, 13 Feb 2007 09:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028138#M430154</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-02-13T09:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028139#M430155</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Guna the only difference between shutdown -r and shutdown -h is the one automatically restarts the system after shutdown, and the other halts it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ways to permantently change default getway&lt;BR /&gt;1. issue route add command, then modify /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;2. run set_parms command (this may result in a reboot)&lt;BR /&gt;&lt;BR /&gt;3. Use SAM to change the default gateway.  This is the same as step one - but menu driven&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028139#M430155</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2007-02-13T09:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028140#M430156</link>
      <description>Hi  Patrick Wallek &lt;BR /&gt;&lt;BR /&gt;You are absoutely right.  The machine was not actually rebooted. When i checked the etc/shutdownlog that dont have any entry of reboot after the modification.&lt;BR /&gt;&lt;BR /&gt;Thank You So much for all of ur eforts.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Guna</description>
      <pubDate>Thu, 15 Feb 2007 01:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-r/m-p/5028140#M430156</guid>
      <dc:creator>Guna_2</dc:creator>
      <dc:date>2007-02-15T01:44:09Z</dc:date>
    </item>
  </channel>
</rss>

