<?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: Built-in LAN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436066#M5056</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Ditto for 10.20 K &amp;amp; D boxes at my site -- "Built-in LAN" seems safe.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 11 Aug 2000 13:18:05 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2000-08-11T13:18:05Z</dc:date>
    <item>
      <title>Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436057#M5047</link>
      <description>I'm writing a script in order to change the &lt;BR /&gt;instance ID of the built-in lan card to 0 if not so.&lt;BR /&gt;But how to get the right hardware path ?&lt;BR /&gt;With ioscan, I can search for the string 'Buit-in' in the description field, but I'm not sure this string always exist.&lt;BR /&gt;Or i can search for drivers lan2 or btlan3.&lt;BR /&gt;But is the list exhaustive ?&lt;BR /&gt;&lt;BR /&gt;thanks for help.</description>
      <pubDate>Fri, 11 Aug 2000 07:53:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436057#M5047</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2000-08-11T07:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436058#M5048</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use the command:&lt;BR /&gt;lanscan&lt;BR /&gt;This lists also the Station addresses to which you can refer in your script to find the right interface.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Fri, 11 Aug 2000 07:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436058#M5048</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-08-11T07:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436059#M5049</link>
      <description>If you use "ioscan -fnC lan" you get a listing of all lan interfaces. This will also show Fibre Channel controller cards (using driver fcT1_cntl).  Other drivers you might get are btlan3,4,5 and 6.  Take a look in SAM under Kernel Configuration, Drivers for possible drivers.</description>
      <pubDate>Fri, 11 Aug 2000 08:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436059#M5049</guid>
      <dc:creator>Jim Mulshine</dc:creator>
      <dc:date>2000-08-11T08:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436060#M5050</link>
      <description>Perhaps my message was confusing.&lt;BR /&gt;So, the question is :&lt;BR /&gt;I want get the hardware path of the built-in lan card, if any. How to select the right lan card from the result of the command 'ioscan -FClan' ?</description>
      <pubDate>Fri, 11 Aug 2000 08:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436060#M5050</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2000-08-11T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436061#M5051</link>
      <description>If you are running with 10.20, there is a State field that will indicate if the card is UP or DOWN.</description>
      <pubDate>Fri, 11 Aug 2000 12:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436061#M5051</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-11T12:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436062#M5052</link>
      <description>The ifconfig command can be of help as well in 11.00 and 10.20.&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0&lt;BR /&gt;If the return is valid data for the interface, go.&lt;BR /&gt;Otherwise, mine is coming back and telling me "no such interface".</description>
      <pubDate>Fri, 11 Aug 2000 12:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436062#M5052</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-11T12:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436063#M5053</link>
      <description>Doing the ioscan -fnClan will show only the lan interfaces. The description of of the built-in LAN will say Built-in LAN. This does not mean that this is the card being used however.</description>
      <pubDate>Fri, 11 Aug 2000 13:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436063#M5053</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-11T13:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436064#M5054</link>
      <description>I don't mind if the card is UP or DOWN, used or not. I just want to find a way to select it precisely. Does the string 'Built-in' always appear on all built-in lan cards ?&lt;BR /&gt;Do you know a way to identify it more precisely ?&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 13:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436064#M5054</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2000-08-11T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436065#M5055</link>
      <description>For the 10.20 and 11.00 systems I have, the Built-in string always appears when doing the ioscan -fnClan.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 13:11:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436065#M5055</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-11T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436066#M5056</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Ditto for 10.20 K &amp;amp; D boxes at my site -- "Built-in LAN" seems safe.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Aug 2000 13:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436066#M5056</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-11T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436067#M5057</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can not remember ever seeing an HP9000 without a lan card listed as "Built-in LAN".&lt;BR /&gt;&lt;BR /&gt;I think you will be safe just looking for "Built-in LAN" in the ioscan output (ioscan -fnC lan)&lt;BR /&gt;&lt;BR /&gt;The built in lan card will always be at the same hardware address for a given model of HP9000. If you know what model of HP9000 you are running the script on then you could find the hardware address of the built in lan card from the hardware documentation at &lt;A href="http://www.docs.hp.com/hpux/systems/." target="_blank"&gt;http://www.docs.hp.com/hpux/systems/.&lt;/A&gt; I think this is probably unnescessary as I think you can rely on there always being a "Built-in lan card" listed in the ioscan output.&lt;BR /&gt;I hope this helps - Trevor Dyson</description>
      <pubDate>Fri, 11 Aug 2000 13:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436067#M5057</guid>
      <dc:creator>Trevor Dyson</dc:creator>
      <dc:date>2000-08-11T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436068#M5058</link>
      <description>I've had  the same result on all my machines.&lt;BR /&gt;(i.e. the string 'Built-in' appears)&lt;BR /&gt;But I've been told it's not always true, and another way is to check the driver, which is always 'btlan3' or 'lan2' for the built-in.&lt;BR /&gt;It's still an empirical way, unless somebody can confirm it.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 13:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436068#M5058</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2000-08-11T13:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436069#M5059</link>
      <description>Ok, lets see:&lt;BR /&gt;&lt;BR /&gt;1. All built-in lan cards are tied to the HW path corresponding to "Core I/O Adapter"&lt;BR /&gt;so:&lt;BR /&gt;&lt;BR /&gt;coreio=`ioscan | grep "Core I/O Adapter" | awk '{ print $1 }'`&lt;BR /&gt;&lt;BR /&gt;2. Now get 'em with:&lt;BR /&gt;&lt;BR /&gt;builtin=`for i in $coreio&lt;BR /&gt;do&lt;BR /&gt;lanscan | grep $i&lt;BR /&gt;done`&lt;BR /&gt;&lt;BR /&gt;3. Now your $builtin will contain the line with the builtin card.&lt;BR /&gt;&lt;BR /&gt;This will work all the time (except when there are two built-in LAN interfaces, in which case it would return two values) but you get the drift right?&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;do&lt;BR /&gt;lanscan | grep</description>
      <pubDate>Fri, 11 Aug 2000 14:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436069#M5059</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-11T14:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436070#M5060</link>
      <description>Hello Kofi,&lt;BR /&gt;&lt;BR /&gt;I'm sorry but your solution doesn't work.&lt;BR /&gt;&lt;BR /&gt;On one machine I have :&lt;BR /&gt;&amp;gt; ioscan | grep "Core I/O Adapter"&lt;BR /&gt;8/16      ba         Core I/O Adapter&lt;BR /&gt;8/20      ba         Core I/O Adapter&lt;BR /&gt;&lt;BR /&gt;&amp;gt;lanscan&lt;BR /&gt;8/16/6   0x0060B007912B 0   UP    lan0  ...    &lt;BR /&gt;8/20/5/2 0x0060B02B0107 1   UP    lan1  ...&lt;BR /&gt;   &lt;BR /&gt;&amp;gt; ioscan | grep "lan"&lt;BR /&gt;8/16/6    lan        Built-in LAN&lt;BR /&gt;8/20/5/2  lan        EISA card HWP1990&lt;BR /&gt;&lt;BR /&gt;So I get the two LAN hardware path, though I have only one built-in'd.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On another machine :&lt;BR /&gt;&amp;gt; ioscan |grep  "Core I/O Adapter"&lt;BR /&gt;8/16    ba      Core I/O Adapter&lt;BR /&gt;&lt;BR /&gt;&amp;gt;lanscan            &lt;BR /&gt;8/0/1/0  0x0060B07ACAD0 1   UP   lan1 ...&lt;BR /&gt;8/0/20/0 0x0060B0B2E94C 0   UP   lan0 ... &lt;BR /&gt;&lt;BR /&gt;&amp;gt;ioscan | grep "lan"&lt;BR /&gt;8/0/1/0   lan   PCI Ethernet (10110019)&lt;BR /&gt;8/0/20/0  lan   PCI(10110019) -- Built-in #3&lt;BR /&gt;&lt;BR /&gt;so none of the LAN cards are on the 8/16 bus adapter.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 14:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436070#M5060</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2000-08-11T14:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436071#M5061</link>
      <description>Ok Seguin:  try this again - cut and paste this &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for i in `ioscan | grep "Core I/O Adapter" | awk '{ print $1 }'` &lt;BR /&gt;do &lt;BR /&gt;lanscan | grep $i &lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 15:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436071#M5061</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-11T15:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436072#M5062</link>
      <description>Seguin, it seems better use "Built-in" as a search string than "Core I/O Adapter".  While it may work for Kofi, based on the responses so far it seems that most people are finding that "Built-In" works for them.  &lt;BR /&gt;&lt;BR /&gt;I checked my systems and the same applies.  You can use Kofi's good suggestion about the for loop to and make some string comparisions using the output of lanscan. Just replace "Core I/O Adapter" with "Built-in".&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Fri, 11 Aug 2000 15:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436072#M5062</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-08-11T15:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436073#M5063</link>
      <description>You cannot rely on their being a Built-In string in the output of ioscan -Clan etc.&lt;BR /&gt;Especially if you have an N or L class server, or a B2000 or B1000. Especially if you are running HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;example (on a B2000)&lt;BR /&gt;&lt;BR /&gt;# ioscan -Clan -fk&lt;BR /&gt;Class     I  H/W Path   Driver S/W State   H/W Type     Description&lt;BR /&gt;====================================================================&lt;BR /&gt;lan       0  10/0/12/0  btlan3 CLAIMED     INTERFACE    PCI Ethernet (10110019)&lt;BR /&gt;lan       1  10/1/1/0   btlan5 CLAIMED     INTERFACE    PCI Ethernet (10110019)&lt;BR /&gt;&lt;BR /&gt;The built-in LAN is lan0.&lt;BR /&gt;&lt;BR /&gt;What I have found by trial an error is that the built-in LAN either has 'Built-In LAN'*&lt;BR /&gt;or uses the btlan3 or lan2 driver. &lt;BR /&gt;&lt;BR /&gt;* Beware !! this is one example I found ...&lt;BR /&gt;&lt;BR /&gt;Class     I  H/W Path  Driver      S/W State   H/W Type     Description&lt;BR /&gt;========================================================================&lt;BR /&gt;lan       0  10/8/1/0  btlan4      CLAIMED     INTERFACE    PCI(10110009) -- Built-in #1&lt;BR /&gt;lan       1  10/8/2/0  btlan4      CLAIMED     INTERFACE    PCI(10110009) -- Built-in #2&lt;BR /&gt;lan       2  10/12/6   lan2        CLAIMED     INTERFACE    Built-in LAN&lt;BR /&gt;&lt;BR /&gt;The 'real' built in LAN is lan2, which uses the lan2 driver.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Nov 2000 09:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436073#M5063</guid>
      <dc:creator>S Keane</dc:creator>
      <dc:date>2000-11-10T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Built-in LAN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436074#M5064</link>
      <description>Take this a a raw cookbook to change instance no. and check what it can do for you:&lt;BR /&gt;&lt;BR /&gt;1. Create an 'infile' file.&lt;BR /&gt;&lt;BR /&gt;         Note: The next command is all one long line, the '' is an&lt;BR /&gt;               escape for the new line character.&lt;BR /&gt;&lt;BR /&gt;         ioscan -kf | grep -e INTERFACE -e DEVICE | &lt;BR /&gt;         grep -v target | &lt;BR /&gt;         awk '{printf "%s   %s   %sn",$3,$1,$2}' &amp;gt; infile&lt;BR /&gt;&lt;BR /&gt;      2. Change the instance numbers in the infile.&lt;BR /&gt;&lt;BR /&gt;      3. Move infile to /stand:&lt;BR /&gt;&lt;BR /&gt;         mv infile /stand/infile&lt;BR /&gt;&lt;BR /&gt;      4. Move the ioconfig files:&lt;BR /&gt;&lt;BR /&gt;         mv /stand/ioconfig /stand/ioconfig.sav&lt;BR /&gt;&lt;BR /&gt;         mv /etc/ioconfig /etc/ioconfig.sav&lt;BR /&gt;&lt;BR /&gt;      5. Shutdown the system:&lt;BR /&gt;&lt;BR /&gt;         shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Fri, 10 Nov 2000 09:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/built-in-lan/m-p/2436074#M5064</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-11-10T09:54:44Z</dc:date>
    </item>
  </channel>
</rss>

