<?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: NIC speed and mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765687#M260293</link>
    <description>Try this script:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lancards&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# script to check speed and settings of lan cards&lt;BR /&gt;PATH=/usr/sbin:/usr/bin&lt;BR /&gt;ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`&lt;BR /&gt;for i in $ppas&lt;BR /&gt;do&lt;BR /&gt;printf "Card at PPA %s - " $i&lt;BR /&gt;ipa=`ifconfig lan${i} 2&amp;gt;/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`&lt;BR /&gt;printf "IP Address: %15s- " "$ipa"&lt;BR /&gt;lanadmin -x $i 2&amp;gt;/dev/null | awk '{$1="";printf("%s",$0)}'&lt;BR /&gt;echo ""&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Tue, 04 Apr 2006 14:30:35 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2006-04-04T14:30:35Z</dc:date>
    <item>
      <title>NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765686#M260292</link>
      <description>Hello,&lt;BR /&gt;What are all the ways that i can check the NIC speed and mode (using ndd, etc) on hp box.Can some one please help with appropriate syntax for this,&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 04 Apr 2006 14:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765686#M260292</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2006-04-04T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765687#M260293</link>
      <description>Try this script:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lancards&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# script to check speed and settings of lan cards&lt;BR /&gt;PATH=/usr/sbin:/usr/bin&lt;BR /&gt;ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`&lt;BR /&gt;for i in $ppas&lt;BR /&gt;do&lt;BR /&gt;printf "Card at PPA %s - " $i&lt;BR /&gt;ipa=`ifconfig lan${i} 2&amp;gt;/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`&lt;BR /&gt;printf "IP Address: %15s- " "$ipa"&lt;BR /&gt;lanadmin -x $i 2&amp;gt;/dev/null | awk '{$1="";printf("%s",$0)}'&lt;BR /&gt;echo ""&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 04 Apr 2006 14:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765687#M260293</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-04-04T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765688#M260294</link>
      <description>assuming you are running 11.x&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for CardInstance in `lanscan | awk {'print $3'}`&lt;BR /&gt;do&lt;BR /&gt;/usr/sbin/lanadmin -x ${CardInstance}&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2006 14:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765688#M260294</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-04-04T14:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765689#M260295</link>
      <description>Hello , Thanks very much. i need to set up a NIC as 100 full duplex and Auto neg on. Can i use sam to do that.&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 04 Apr 2006 15:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765689#M260295</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2006-04-04T15:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765690#M260296</link>
      <description>Shalom navin,&lt;BR /&gt;&lt;BR /&gt;lanadmin -X 0 100FD&lt;BR /&gt;&lt;BR /&gt;Sam can't do that.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 04 Apr 2006 15:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765690#M260296</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-04T15:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765691#M260297</link>
      <description>If you want to make the change permanent, i.e., persistent when you boot your server:&lt;BR /&gt;&lt;BR /&gt;ioscan -fknC lan&lt;BR /&gt;&lt;BR /&gt;you will see an output like this :&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  0/1/2/0      igelan   CLAIMED     INTERFACE    HP A6825-60101 PCI 1000Base-T Adapter&lt;BR /&gt;lan       1  0/2/1/0/6/0  igelan   CLAIMED     INTERFACE    HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter&lt;BR /&gt;lan       2  0/6/1/0/6/0  igelan   CLAIMED     INTERFACE    HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;note the name of the driver for the interfaces, igelan in the case above. &lt;BR /&gt;&lt;BR /&gt;Then go and edit :&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/hpigelanconf&lt;BR /&gt;&lt;BR /&gt;file&lt;BR /&gt;&lt;BR /&gt;replicate the block of parameters as many times as necessary, i.e., number of times you have network interfaces. Sequence the index numbers in square brackets for each block, first set will be [0] second set will be [1] and so on.&lt;BR /&gt;&lt;BR /&gt;update the line with INTERFACE_NAME and SPEED with the proper values (never try to set to 1000HD or 1000FD as it is not supported) and save the file and exit.&lt;BR /&gt;&lt;BR /&gt;To make all the values to take effect, run &lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/hpigelan stop&lt;BR /&gt;/sbin/init.d/hpigelan start&lt;BR /&gt;&lt;BR /&gt;this will make all of the interfaces you just updated to take the new speed setting to take effect.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;&lt;BR /&gt;PS. if your driver is different than igelan, locate the file names with the driver names in them similar to yours.&lt;BR /&gt;&lt;BR /&gt;Also keep in mind that not all LAN cards are capable of fixing their speed to 100FD by this method. Ask HP if in doubt.</description>
      <pubDate>Tue, 04 Apr 2006 15:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765691#M260297</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-04-04T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765692#M260298</link>
      <description>Was there a typo in this:&lt;BR /&gt;&lt;BR /&gt;" i need to set up a NIC as 100 full duplex and Auto neg on"&lt;BR /&gt;&lt;BR /&gt;because hardcoding to 100FD and having AutoNeg on are mutually exclusive.&lt;BR /&gt;&lt;BR /&gt;Unless you _know_ that autoneg does not work with your NIC/switch combination, and you cannot get the switch/NIC fixed/replaced I would suggest leaving everything autoneg.  If for no other reason than when you migrate to Gigabit, autoneg needs to be on anyway - the GbE spec requires it.&lt;BR /&gt;&lt;BR /&gt;See the attached boilerplate on duplex and 100BT.</description>
      <pubDate>Tue, 04 Apr 2006 19:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765692#M260298</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-04-04T19:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: NIC speed and mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765693#M260299</link>
      <description>As SEP advice&lt;BR /&gt;#lanadmin -X 0 100FD&lt;BR /&gt;is the easy way to do and understand.&lt;BR /&gt;If you need more option, just type&lt;BR /&gt;#lanadmin&lt;BR /&gt;then menu will driven you to your desire&lt;BR /&gt;tienna</description>
      <pubDate>Tue, 04 Apr 2006 21:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-speed-and-mode/m-p/3765693#M260299</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2006-04-04T21:16:27Z</dc:date>
    </item>
  </channel>
</rss>

