<?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: DHCP problem? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722551#M584722</link>
    <description>Sorry, missed a couple of [0]'s out.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="myhost" &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan1 &lt;BR /&gt;IP_ADDRESS[0]=100.100.100.1 &lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0 &lt;BR /&gt;BROADCAST_ADDRESS[0]=100.100.100.2 &lt;BR /&gt;LANCONFIG_ARGS[0]="" &lt;BR /&gt;DHCP_ENABLE[0]=0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have got DHCP client enabled check your resolv.conf is as you expect as well as hosts and netconf. They get updated by the dhcp server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 13 May 2002 18:17:52 GMT</pubDate>
    <dc:creator>David Burgess</dc:creator>
    <dc:date>2002-05-13T18:17:52Z</dc:date>
    <item>
      <title>DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722548#M584719</link>
      <description>Hello all.&lt;BR /&gt;&lt;BR /&gt;I am a total novice on HPUX so please excuse any mistakes or silly questions. I work on a D220/HPUX 10.20 server with A4450A graphics card. When the system boots up, I see the following messages:&lt;BR /&gt;&lt;BR /&gt;/sbin/rc[61]: csh: not found.&lt;BR /&gt;/sbin/auto_parms, checking network for DHCP server (see /etc/auto_parms.log)&lt;BR /&gt;&lt;BR /&gt;After that, the system seems totally stuck and does nothing. I interrupt the boot-up process and set again the values manually &lt;BR /&gt;(ifconfig lan0 [myipaddress]&lt;BR /&gt;and&lt;BR /&gt;/sbin/set_parms/addl_netwrk),&lt;BR /&gt;but I cannot ping anything beyond my subnet.&lt;BR /&gt;The system does not recognize the specified subnet mask (255.255.255.128) and uses 255.255.255.0 instead.&lt;BR /&gt;&lt;BR /&gt;This probably prevents me from logging on to CDE (CDE loading also seems to hang at some point)&lt;BR /&gt;&lt;BR /&gt;Is this due to DHCP misconfiguration? Does anybody have a clue?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 13 May 2002 14:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722548#M584719</guid>
      <dc:creator>Nikos Avradinis</dc:creator>
      <dc:date>2002-05-13T14:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722549#M584720</link>
      <description>Line 61 runs  . /etc/rc.config&lt;BR /&gt;Check /etc/hosts has a valid entry for the hostname and ip address.&lt;BR /&gt;&lt;BR /&gt;100.100.100.1 myhost&lt;BR /&gt;&lt;BR /&gt;Check /etc/rc.config.d/netconf had the correct entries for hostname, ip address, subnet mask against the correct lan card.&lt;BR /&gt;Also check the default gateway is correct.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="myhost"&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan1&lt;BR /&gt;IP_ADDRESS[0]=100.100.100.1&lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[0]=100.100.100.2&lt;BR /&gt;LANCONFIG_ARGS[1]=""&lt;BR /&gt;DHCP_ENABLE[1]=0&lt;BR /&gt;&lt;BR /&gt;Swap the addresses I've given for you ip's for host and gateway.&lt;BR /&gt;&lt;BR /&gt;Check this as a starting point.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Mon, 13 May 2002 14:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722549#M584720</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-05-13T14:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722550#M584721</link>
      <description>You probably got DHCP enabled, try to disable it ..&lt;BR /&gt;The file is /etc/rc.config.d/netconf and change to this ..&lt;BR /&gt;&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;&lt;BR /&gt;the "0" disables it.&lt;BR /&gt;&lt;BR /&gt;Reboot the system afterwards.</description>
      <pubDate>Mon, 13 May 2002 14:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722550#M584721</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-05-13T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722551#M584722</link>
      <description>Sorry, missed a couple of [0]'s out.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="myhost" &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan1 &lt;BR /&gt;IP_ADDRESS[0]=100.100.100.1 &lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0 &lt;BR /&gt;BROADCAST_ADDRESS[0]=100.100.100.2 &lt;BR /&gt;LANCONFIG_ARGS[0]="" &lt;BR /&gt;DHCP_ENABLE[0]=0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have got DHCP client enabled check your resolv.conf is as you expect as well as hosts and netconf. They get updated by the dhcp server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 May 2002 18:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722551#M584722</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-05-13T18:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722552#M584723</link>
      <description>Thanks all for the answers, but that won't do.&lt;BR /&gt;&lt;BR /&gt;I had already checked netconf-it was OK. DHCP_ENABLE is set to 0 in netconf.&lt;BR /&gt;&lt;BR /&gt;Could the problem be in auto_parms?&lt;BR /&gt;&lt;BR /&gt;My auto_parms.log contains the following (after I stop the process by pressing Pause/Break twice):&lt;BR /&gt;&lt;BR /&gt;Information: /sbin/auto_parms execution was stopped&lt;BR /&gt;&lt;BR /&gt;/sbin/auto_parms may only execute from /sbin/rc during the initial transition from run level 'S' (see init(1M)).&lt;BR /&gt;&lt;BR /&gt;OK with the first line, but could the second message be connected to the &lt;BR /&gt;"csh:not found" error I get during rc execution???</description>
      <pubDate>Tue, 14 May 2002 07:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722552#M584723</guid>
      <dc:creator>Nikos Avradinis</dc:creator>
      <dc:date>2002-05-14T07:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722553#M584724</link>
      <description>hi,&lt;BR /&gt;can you attach the output of following &lt;BR /&gt;#cat /etc/auto_parms.log&lt;BR /&gt;#ifconfig lan0&lt;BR /&gt;#cat /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Tue, 14 May 2002 07:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722553#M584724</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-14T07:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722554#M584725</link>
      <description>I wonder how you get into this "csh: not found" problem.&lt;BR /&gt;&lt;BR /&gt;Check /sbin/init.d and /etc/rc.config.d if the files there contain any csh (they should not!):&lt;BR /&gt;&lt;BR /&gt;grep csh /sbin/init.d/* /etc/rc.config.d/*&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Tue, 14 May 2002 08:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722554#M584725</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-05-14T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722555#M584726</link>
      <description>Thanx guys.&lt;BR /&gt;&lt;BR /&gt;This is the story so far:&lt;BR /&gt;&lt;BR /&gt;Regarding Hartmut's advice:&lt;BR /&gt;The only entry in init.d/* and rc.config.d/* using csh is startqmail &lt;BR /&gt;(this is the qmail start script)&lt;BR /&gt;I commented the line and the CDE login server at last started (thanks!).&lt;BR /&gt;&lt;BR /&gt;I receive, however a series of errors like the following:&lt;BR /&gt;&lt;BR /&gt;102.05.14 15:30:15 platon pid=1801 /usr/lib/netsvc/yp/ypbind&lt;BR /&gt;NIS:Server not responding for domain "lib.unipi.gr"; still trying&lt;BR /&gt;&lt;BR /&gt;Our network uses DHCP. &lt;BR /&gt;&lt;BR /&gt;However, it does not seem to respond OK. When I reboot the server it seems to have lost ip settings. The guy who was administering the server before me left a set of directions saying that this happens due to an HPUX-ifconfig bug or something, so every time the server needs to be rebooted, i have to manually enter the ip to ifconfig and then execute /sbin/set_parms addl_netwrk to configure the rest of the settings.&lt;BR /&gt;&lt;BR /&gt;(I am NOT a knowledgeable sysadmin-I am a web programmer, the server is practically unadministered except for a few minor installations I am doing myself.)&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar requested some output, so here it is:&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0 at bootup reports the following:&lt;BR /&gt;lan0: flags=862&lt;BROADCAST&gt;&lt;BR /&gt;&lt;BR /&gt;AFTER I set ip address and run set_parms, I get the following:&lt;BR /&gt;&lt;BR /&gt;lan0: flags=863&lt;UP&gt;&lt;BR /&gt;inet 195.251.227.4 netmask ffffff00 broadcast 195.251.227.255&lt;BR /&gt;&lt;BR /&gt;netconf&lt;BR /&gt;----------------------&lt;BR /&gt;HOSTNAME=platon&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1 &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan0 &lt;BR /&gt;IP_ADDRESS[0]=195.251.227.4&lt;BR /&gt;SUBNET_MASK[0]=255.255.255.128 &lt;BR /&gt;BROADCAST_ADDRESS[0]=&lt;BR /&gt;LANCONFIG_ARGS[0]=ether&lt;BR /&gt;DHCP_ENABLE[0]=0 &lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=195.251.227.1&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;GATED=0&lt;BR /&gt;GATED_ARGS=""&lt;BR /&gt;&lt;BR /&gt;RDPD=0&lt;BR /&gt;RARPD=0&lt;BR /&gt;&lt;BR /&gt;auto_parms.log&lt;BR /&gt;--------------------&lt;BR /&gt;dhcpclient is managing lease(s) for: lan0&lt;BR /&gt;&lt;BR /&gt;Please note the difference between ifconfig reported values &lt;BR /&gt;and netconf values for netmask and broadcast. Shouldn't these be the same?&lt;BR /&gt;&lt;BR /&gt;Thank you for your assistance so far.&lt;/UP&gt;&lt;/BROADCAST&gt;</description>
      <pubDate>Tue, 14 May 2002 12:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722555#M584726</guid>
      <dc:creator>Nikos Avradinis</dc:creator>
      <dc:date>2002-05-14T12:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722556#M584727</link>
      <description />
      <pubDate>Wed, 15 May 2002 01:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722556#M584727</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-05-15T01:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722557#M584728</link>
      <description>Nikos,&lt;BR /&gt;&lt;BR /&gt;Ron is right, that you have a problem with you netmask/ip-address.  Ifconfig reports the wrong subnet-mask, therefore you can not reach all other subnets.&lt;BR /&gt;&lt;BR /&gt;Read more about your problem with ip-adress/subnetmask in&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbcb7119c3420d411b66300108302854d,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbcb7119c3420d411b66300108302854d,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In this thread Ralf Hildebrandt points to a possible solution:&lt;BR /&gt;&lt;BR /&gt;- apply latest ARPA-patch&lt;BR /&gt;- check your setting with "nettune ip_check_subnet_addr"&lt;BR /&gt;I expect this to be "1". Which is: your IP-Address is checked against the subnetmask, that result is not 0.&lt;BR /&gt;- you can change this setting with "nettune -s ip_check_subnet_addr 0".&lt;BR /&gt;&lt;BR /&gt;I think you have to redo this setting on every boot time. &lt;BR /&gt;I don't know where to setup this in the rc-scripts, who can help?&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Wed, 15 May 2002 05:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722557#M584728</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-05-15T05:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722558#M584729</link>
      <description>hi,&lt;BR /&gt;From the output of ifconfig lan0 i understand&lt;BR /&gt;that it has taken the netmask as 255.255.255.0&lt;BR /&gt;( ffffff00 ) instead of 255.255.255.128&lt;BR /&gt;So change the broadcast address as follows in&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;INTERFACE_NAME[0]=lan0 &lt;BR /&gt;IP_ADDRESS[0]=195.251.227.4 &lt;BR /&gt;SUBNET_MASK[0]=255.255.255.128 &lt;BR /&gt;BROADCAST_ADDRESS[0]=195.251.227.127 &lt;BR /&gt;#/sbin/init.d/net start&lt;BR /&gt;now paste the output of ifconfig lan0 and&lt;BR /&gt;also try accessing the network.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2002 05:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722558#M584729</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-15T05:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722559#M584730</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you have NIS enabled in your /etc/rc.config.d/namesvrs file switch it off&lt;BR /&gt;&lt;BR /&gt;NIS_CLIENT=0&lt;BR /&gt;NIS_DOMAIN=&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Wed, 15 May 2002 05:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722559#M584730</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-05-15T05:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722560#M584731</link>
      <description>Thanks again, everybody.&lt;BR /&gt;&lt;BR /&gt;The nettune trick as well as disabling NIS seemed to do the job (thanks Harmut and John). &lt;BR /&gt;&lt;BR /&gt;I will probably have to follow Jim Kay's example and include the nettune directive in the net startup script, as shown in the thread proposed by Hartmut.&lt;BR /&gt;&lt;BR /&gt;Also many thanks to Ron for the extensive posting &amp;amp; U.SivaKumar (although I have to mention that the broadcast address change didn't do the job by itself-I still got an invalid address error when I restarted the network, it was the nettune command that solved this).&lt;BR /&gt;&lt;BR /&gt;I have to note, however, that the solution seems to me more like a hack rather than a straightforward way to deal with it-am I wrong?&lt;BR /&gt;&lt;BR /&gt;Nikos</description>
      <pubDate>Wed, 15 May 2002 15:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722560#M584731</guid>
      <dc:creator>Nikos Avradinis</dc:creator>
      <dc:date>2002-05-15T15:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722561#M584732</link>
      <description>Nikos,&lt;BR /&gt;&lt;BR /&gt;Just a few thoughts:&lt;BR /&gt;&lt;BR /&gt;I think you are right - this does seem like a hack solution.  I would check things further in order to prevent other potential problems.&lt;BR /&gt;&lt;BR /&gt;Have you set the subnet mask with set_parms?  If yes, does ifconfig report anything different?&lt;BR /&gt;&lt;BR /&gt;Another possibility is that you may have incorrect settings or even incorrect files under /etc/rc.config.d !&lt;BR /&gt;&lt;BR /&gt;I would check that out, perhaps with:&lt;BR /&gt;&lt;BR /&gt;grep -i subnet /etc/rc.config.d/*&lt;BR /&gt;&lt;BR /&gt;Anything interesting logged in  /etc/rc.log ??&lt;BR /&gt;&lt;BR /&gt;Mlade</description>
      <pubDate>Wed, 15 May 2002 16:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-problem/m-p/2722561#M584732</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2002-05-15T16:39:16Z</dc:date>
    </item>
  </channel>
</rss>

