- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: checking full duplex with lanadmin
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
08-31-2004 12:38 AM
08-31-2004 12:38 AM
checking full duplex with lanadmin
how do you check for half/full duplex with lanadmin.
how do you set 100base T with lanadmin?
permanently hardcode?
thanks,
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 12:45 AM
08-31-2004 12:45 AM
Re: checking full duplex with lanadmin
Use "lanadmin -x 0" where 0 is the PPA number of the card from lanscan.
You can set the speed/duplex with "lanadmin -X 100FD 0". To make this permanent, you'll need to edit the appropriate conf file, based on the driver for your card:
btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf
btlan4 hpgsc100conf
btlan5 hppci100conf
btlan6 hpsppci100conf
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 12:46 AM
08-31-2004 12:46 AM
Re: checking full duplex with lanadmin
#lanadmin -x
You can get nmid using lanscan command.
You can set speed using
#lanadmin -X 100FD
100FD is for 100Mbps Full Duplex
100HD
10FD
10HD and auto_neg is value can be set
For permanent setting you have to modify NIC config file in /etc/rc.config.d directory name of file depends on NIC.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 12:56 AM
08-31-2004 12:56 AM
Re: checking full duplex with lanadmin
for i in `/usr/sbin/lanscan | awk '/ETHER/ {print $3}'`; do
x=`/usr/sbin/lanadmin -x $i 2>&1 | awk -F= '{print $2}' | sed -e 's/^ *//' -e 's/ *$//'`
echo echo "ppa $i " $x
done
To set:
lanadmin -X 100FD 1
Also, vi the appropiate drive file in /etc/rc.config.d
Example:
hpbtlanconf
HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 01:39 AM
08-31-2004 01:39 AM
Re: checking full duplex with lanadmin
you can type "lanscan" to see the available NIC's
Then select the In# Number
lanadmin -x
lanadmin -X
and edit /etc/rc.config.d/hp
to permanently change the settings
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 12:30 PM
08-31-2004 12:30 PM
Re: checking full duplex with lanadmin
lanadmin -g mibstats
keep in mind that both ends of a link must be at the same setting - both must be half, or both full or both auto, you cannot mix, even with auto on one side.