- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting 100 Full Duplex
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 09:34 AM
10-23-2006 09:34 AM
# ioscan -kfnC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/0/0/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
lan 1 0/1/0/0 gelan CLAIMED INTERFACE HP A4926A PCI 1000Base-SX Adapter
lan 2 0/3/0/0/4/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 3 0/3/0/0/5/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 4 0/3/0/0/6/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 5 0/3/0/0/7/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 6 0/6/0/0/4/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 7 0/6/0/0/5/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 8 0/6/0/0/6/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
lan 9 0/6/0/0/7/0 btlan CLAIMED INTERFACE HP A5506A PCI 10/100Base-TX 4 Port
# grep -i lanadmin /sbin/init.d/hpbtlan
# configured through lanadmin(1m)
# NOTE : no lanadmin command is executed since defaults are in use
# lanadmin -M 1400 -X 100FD 1
# lanadmin -A 0x0800090fffff 2
# Check for lanadmin, lanscan commands
HPLANADMIN=/usr/sbin/lanadmin
if [ ! -x "$HPLANADMIN" ]; then
echo "ERROR: missing file \"$HPLANADMIN\"" >&2
# Do lanadmin commands for each interface
# the same, skip the lanadmin command. This is required
cur_mac=`lanadmin -a $PPA | awk '{print $4}'`
cur_mtu=$(lanadmin -m $PPA | awk '{ print $4 }' )
cur_spd=`lanadmin -x $PPA | awk '{print $6}'`
cur_spd=`lanadmin -x $PPA | awk '{print $4}'`
cur_dup=`lanadmin -x $PPA | awk '{print $5}'`
cur_dup=`lanadmin -x $PPA | awk '{print $5}'`
emsg=`$HPLANADMIN $ADDRESS $MTU $DUPLEX $SPEED $PPA 2>&1`
emsg=`$HPLANADMIN -X set_param refill $REFILL $ppa 2>&1`
emsg=`$HPLANADMIN -X set_param pbl $PBL $ppa 2>&1`
emsg=`$HPLANADMIN -X set_param cal $CAL $ppa 2>&1`
And here is where I manually set it. Apparently it took it, but how do I modify the above script to make this change permanent?
# lanadmin -X 100FD 0
WARNING: an incorrect setting could cause serious network problems!!!
Driver is attempting to set the new speed
Reset will take approximately 11 seconds
# lanadmin -x 0
Current Config = 100 Full-Duplex MANUAL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 09:42 AM
10-23-2006 09:42 AM
Re: Setting 100 Full Duplex
HP_BTLAN_SPEED[0]=100FD
in /etc/rc.config.d/hpbtlanconf
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 09:53 AM
10-23-2006 09:53 AM
Re: Setting 100 Full Duplex
Driver File to modify
btlan /etc/rc.config.d/hpbtlanconf
btlan0 /etc/rc.config.d/hpeisabtconf
btlan1 /etc/rc.config.d/hpbasetconf
btlan3 /etc/rc.config.d/hpbase100conf
btlan4 /etc/rc.config.d/hpgsc100conf
btlan5 /etc/rc.config.d/hppci100conf
btlan6 /etc/rc.config.d/hpsppci100conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 12:25 PM
10-23-2006 12:25 PM
Re: Setting 100 Full Duplex
I usually use SAM to set it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2006 10:51 PM
10-23-2006 10:51 PM
Re: Setting 100 Full Duplex
HP_BTLAN_INTERFACE_NAME[0]=lan1
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD
HP_BTLAN_INTERFACE_NAME[8]=lan8
HP_BTLAN_STATION_ADDRESS[8]=
HP_BTLAN_SPEED[8]=100FD
HP_BTLAN_INTERFACE_NAME[9]=lan0
HP_BTLAN_STATION_ADDRESS[9]=
HP_BTLAN_SPEED[9]=100FD
HP_BTLAN_INIT_ARGS="HP_BTLAN_STATION_ADDRESS HP_BTLAN_SPEED"
# End of hpbtlanconf configuration file
Configure switching ports in mode
"full-duplex-autonegotiation_off"
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 12:21 AM
10-24-2006 12:21 AM
Re: Setting 100 Full Duplex
Especialy the attention to your port
is auto-negotation off. So it is ficed port to port.
Adapting the script is permanent during each boot.
It seems you have already tested it
successfully and your lancard
supports it. So you can safely
adapt your script as shown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 01:51 AM
10-24-2006 01:51 AM
Re: Setting 100 Full Duplex
This is good info, but where do you get the HP_BTLAN_interface_name[x] from? I know what lan0, lan2 is but that number in the bracket [ ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 07:52 AM
10-24-2006 07:52 AM
Re: Setting 100 Full Duplex
The first triplet would be index [0], the second index [1] and so on. It does not necessarily relate to the lan? interface numbers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 12:52 PM
10-24-2006 12:52 PM
Re: Setting 100 Full Duplex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 07:35 PM
10-24-2006 07:35 PM
Re: Setting 100 Full Duplex
and in most cases it is like that.
However, you are then dependent on your
network hardware, event when it works well,
glitches are not unthinkable.
We had the odd incident once in a while.
The most important nodes in our network
we have hardcoded through the script.
I have had no incident at all since then.
So better the devil you know then you don't.