<?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: Configure LAN interfaces   FAIL in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261988#M569360</link>
    <description>An update.  Aftewr reviewing the rc.log, I see that two scripts (S008net.sd and S340net) are both linked to the same file, /sbin/init.d/net, and are both being run at startup, S008net.sd running first.  They both try to run ifconfig against lan0, but the command fails in the S008net.sd script (exit status 1) and passes in S340net.  So it looks like the interface is getting set up, but I would still like to find out why the first script fails.  This is on a new HP 10.20 install, hooked up to an intelligent switch.&lt;BR /&gt;Any ideas?</description>
    <pubDate>Fri, 30 Apr 2004 09:28:38 GMT</pubDate>
    <dc:creator>Mark Burgman</dc:creator>
    <dc:date>2004-04-30T09:28:38Z</dc:date>
    <item>
      <title>Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261983#M569355</link>
      <description>I am at a loss. I have (4) b2600 workstations running HP-UX 10.2 with a 10/100 LAN port built into the motherboard. The IP address range in the hosts file is 129.204.24.101 through 108.&lt;BR /&gt;I have them all plugged into a layer 3 switch, and at one point they were all loading and booting up fine. Now, no matter what I do I cannot get them to read OK at the "Configure LAN interfaces" line and I am not sure what I did to cause this. Once the machines boot completes, if I run "ifconfig lan0" I get:&lt;BR /&gt;"lan0: flags=863&lt;UP&gt;&lt;BR /&gt;inet 129.204.24.106 netmask ffff0000 broadcast 129.204.255.255"&lt;BR /&gt;I added the IP addresses using "sam", and have gone so far as to totally reload the OS on one of the machines. The first time the machine reboots after being rebuilt, the Configure LAN interfaces reads "OK", but if I immediately reboot, it shows FAIL, and continues to from that point on. I cannot figure out what I have done to all of a sudden start failing. Another (possibly unrelated) symptom is that the CDE environment on the rebuilt machine occasionally locks up. Any ideas?  &lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;&lt;/UP&gt;</description>
      <pubDate>Wed, 28 Apr 2004 13:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261983#M569355</guid>
      <dc:creator>Mark Burgman</dc:creator>
      <dc:date>2004-04-28T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261984#M569356</link>
      <description>according to the ifconfig lan0 command output, your interface seems to be doing fine. although I must adming 255.255.0.0 subnet mask seemed a bit strange to me unless these machines are members of a huge network.&lt;BR /&gt;if you are not the network administrator yourself, I would suggest talking to the net admin person and getting the correct subnet mask and trying to change it. Usually, 255.255.255.0 is a common subnet mask to use but it changes from one network to the other.&lt;BR /&gt;&lt;BR /&gt;Also a test to perform is to ping the broadcast address of the interface and see if anything other than its own ip address is responding to the query.</description>
      <pubDate>Wed, 28 Apr 2004 14:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261984#M569356</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-04-28T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261985#M569357</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;The interface (lan0) can be set to autonegotiation. This does not always work correct. The check the current speed/duplex settings you could:&lt;BR /&gt;# lanscan &lt;BR /&gt;To retreve the ppa number (i guess it is 0)&lt;BR /&gt;# lanadmin -x 0&lt;BR /&gt;to view current settings&lt;BR /&gt;# lanadmin -X 100FD 0 &lt;BR /&gt;(Or 10 FD )&lt;BR /&gt;To make these settings permanent edit the /etc/rc.config.d/hpbtlanconf ( or other interface file)&lt;BR /&gt;&lt;BR /&gt;These settings also need to be set on the switch port. So If you specify 100 FD or 10 FD on the server match these settings on the switch.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 14:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261985#M569357</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-04-28T14:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261986#M569358</link>
      <description>This may sounds silly, but have you tested to see if the interface is actually communicating even after you get that "failed" message? Assuming your netmask is correct, the ifconfig output looks all right. I had several 735s running 9.0x at my previous job that would give me bogus (well, maybe non-critical would be a better term) errors like that, but everything still worked fine.&lt;BR /&gt;&lt;BR /&gt;Have you checked /etc/rc.log? Clues to the cause should be in there.</description>
      <pubDate>Wed, 28 Apr 2004 14:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261986#M569358</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-04-28T14:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261987#M569359</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Well, I would suspect either a problem in the /etc/rc.config.d/netconf file - a type in there or something or a problem with the net startup scripts.&lt;BR /&gt;I don't have any 10.2 systems anymore, but in 11.x the scripts are in /sbin/rc2.d &amp;amp; named S008net.init (loopbacks, TCP stack &amp;amp; TCP tunables) and S340net (IPs &amp;amp; routes)&lt;BR /&gt;So definitely check the /etc/rc.log for these sections as that's probably where the errors are occurring.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 28 Apr 2004 14:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261987#M569359</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-04-28T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261988#M569360</link>
      <description>An update.  Aftewr reviewing the rc.log, I see that two scripts (S008net.sd and S340net) are both linked to the same file, /sbin/init.d/net, and are both being run at startup, S008net.sd running first.  They both try to run ifconfig against lan0, but the command fails in the S008net.sd script (exit status 1) and passes in S340net.  So it looks like the interface is getting set up, but I would still like to find out why the first script fails.  This is on a new HP 10.20 install, hooked up to an intelligent switch.&lt;BR /&gt;Any ideas?</description>
      <pubDate>Fri, 30 Apr 2004 09:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261988#M569360</guid>
      <dc:creator>Mark Burgman</dc:creator>
      <dc:date>2004-04-30T09:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261989#M569361</link>
      <description>&lt;BR /&gt;Does S008net.sd fail without any error message? /sbin/init.d/net seems to print some&lt;BR /&gt;error message whenever it exits with $ERROR...&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2004 00:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261989#M569361</guid>
      <dc:creator>Sriram Narayanaswamy</dc:creator>
      <dc:date>2004-05-05T00:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261990#M569362</link>
      <description>Could you refer /etc/rc.log file for detail error message.</description>
      <pubDate>Wed, 05 May 2004 01:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261990#M569362</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-05T01:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261991#M569363</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I do not have a 10.20 machine to double-check, however IMHO S008net... should be a link to another script that configures *only* the loopback interface (sbin/init.d/net.init)&lt;BR /&gt;&lt;BR /&gt;Check if you have both /sbin/init.d/net and /sbin/init.d/net.init (or similar) and correct the links.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2004 04:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261991#M569363</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2004-05-05T04:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261992#M569364</link>
      <description>Hi,&lt;BR /&gt;on a working 10.2 machine, @ /sbin/rc2.d looks like.&lt;BR /&gt;&lt;BR /&gt;ls -l S*net*&lt;BR /&gt;lrwxrwxrwx   1 root       sys             16 Jun 10  1996 S008net.sd -&amp;gt; /sbin/in&lt;BR /&gt;it.d/net&lt;BR /&gt;lrwxrwxrwx   1 root       sys             18 Jun 10  1996 S300nettl -&amp;gt; /sbin/ini&lt;BR /&gt;t.d/nettl&lt;BR /&gt;lrwxrwxrwx   1 root       sys             16 Jun 10  1996 S340net -&amp;gt; /sbin/init.&lt;BR /&gt;d/net&lt;BR /&gt;lrwxrwxrwx   1 root       sys             18 Jun 10  1996 S500inetd -&amp;gt; /sbin/ini&lt;BR /&gt;t.d/inetd            &lt;BR /&gt;&lt;BR /&gt;so the links are correct.&lt;BR /&gt;regds&lt;BR /&gt;Naveej</description>
      <pubDate>Wed, 05 May 2004 04:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261992#M569364</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-05-05T04:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LAN interfaces   FAIL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261993#M569365</link>
      <description>Sorry to have not included the rc.log error message.  It reads as follows:&lt;BR /&gt;&lt;BR /&gt;Configure LAN Interfaces&lt;BR /&gt;Output from "/sbin/rc2.d/S008net.sd start":&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;ifconfig lan0 129.204.24.103 netmask 255.255.255.0 broadcast 129.204.24.255 up&lt;BR /&gt;ERROR: lan0 interface: ifconfig: no such interface&lt;BR /&gt;"/sbin/rc2.d/S008net.sd start" FAILED&lt;BR /&gt;&lt;BR /&gt;Adding some debug messaging shows the ifconfig line fails with a status=1.  When the same "ifconfig lan0" command executes later (running as S340net) in rc.log, the ifconfig lan0 line passes with status=0, so that even when S008net.sd fails on boot, the network still seems to be functioning ok on login, ping, ftp etc.  Even with the network up, I would still love to know why the script fails and if there are any repercussions I am not aware of.  An interesting point is that the S340net.sd script is run after rc.log file shows that the "Configure HP ethernet interfaces" and "Configure HP 100BT interfaces" scripts are executed successfully which I am beginning to think is important.  Also, I have been testing a while, and have seen the S008net.sd script pass on occasion, usually by bringing the system up off the network once (FAIL), and then bringing it up attached to a 10BT hub (PASS).  But the very next time I reboot it, it fails again.</description>
      <pubDate>Wed, 05 May 2004 07:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-lan-interfaces-fail/m-p/3261993#M569365</guid>
      <dc:creator>Mark Burgman</dc:creator>
      <dc:date>2004-05-05T07:36:28Z</dc:date>
    </item>
  </channel>
</rss>

