- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LanConfig setting
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
05-28-2005 06:37 AM
05-28-2005 06:37 AM
LanConfig setting
Interrupt the boot sequence
co
lc 100/Full_duplex
I now need to change all these machines to AUTO_detect. Do I have to go to each machine and change it manually or is there some setting I can change remotly and then do a remote reboot.
I know I can do a lanadmin -X AUTO_ON but this is not kept after a subsequent reboot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 07:06 AM
05-28-2005 07:06 AM
Re: LanConfig setting
If you want to change this setting on your Lan Console ports actually, I do not know any other way that doing it one by one at the boot time. On the other hand if you are talking about the network interface(s) then you are talking about something else.
First determine your driver type by running
# ioscan -fkC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 10/8/1/0 btlan CLAIMED INTERFACE HSC 10/100Base-TX K-Class
here is the driver you are looking for is "btlan"
if you look into the file:
# cat /etc/rc.config.d/hpbtlanconf
...
...
HP_BTLAN_INTERFACE_NAME[0]=lan1
HP_BTLAN_STATION_ADDRESS[0]=0x0060B0598689
HP_BTLAN_SPEED[0]=100FD
...
...
HP_BTLAN_INIT_ARGS="HP_BTLAN_STATION_ADDRESS HP_BTLAN_SPEED"
and in this file, the value that nails the speed and duplex settings is the one below:
HP_BTLAN_SPEED[0]=100FD
if you delete the 100FD directive, it will act as auto sensing. And as a rule of thumb I usually do not put the STATION_ADDRESS, as this may cause complications if you happen to replace this card due to failure or something like that.
After completing this step, you need to stop and restart the network card drivers, which can be done by
/sbin/init.d/hpbtlan stop
/sbin/init.d/hpbtlan start
if your driver is not btlan but something else, just replace the name of your driver in the filenames referenced above, this will do it.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 08:57 AM
05-28-2005 08:57 AM
Re: LanConfig setting
There is some confusion. If you are talking about the command LC then it is given in GSP mode. LC is used to change setting of LanConsole Port parameters. Now that you just want to change the speed then you can telnet to the LAN CONSOLE Port, login with root and Press
This takes youi to GSP and then you go to command mode prompt.
But if you are not able to telnet the LANCONSOLE becuase of this Speed Parameter then i am afraid you will be only able to to do this from Console's which mean you physically have to reach all locations. :)
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:33 AM
05-29-2005 06:33 AM
Re: LanConfig setting
interrupt the boot sequence on the C3700
type co to enter configuration mode
type LanConfig 100/Full_duplex to hardcode the lan card of the workstation (these machines do not have lan consoles)
I have tried changing the /etc/rc.config.d/hpbtlanconf file and it works a treat.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:59 AM
05-29-2005 06:59 AM
Re: LanConfig setting
This era NIC card, 100 BT requires manual switch setting and hard coded speed in order to function correctly.
If you are going to change something, change the switch.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:05 AM
05-31-2005 05:05 AM
Re: LanConfig setting
I would go in and double check on the machines that once they are booted to the OS that they are _still_ in 100FD, and that there is not a hard-coding to 100FD in one of the btlan config files in /etc/ (IIRC) .
As for the lanadmin -X bit, if worst came to worst, you could simply find somewhere in the boot sequence to issue that command by adding a custom startup script.
(See what happens when people start hard-coding NIC settings ?-) :) :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 08:27 AM
05-31-2005 08:27 AM
Re: LanConfig setting
Strange - we just went through an exercise last year - where the network guys hard set the switches - IE - disabled auto-negotiate. So we in turn set our LAN cards via the driver in /etc/rc.config.d
IE: in hpigelanconf
HP_IGELAN_SPEED[0]=100FD
Rgds...Geoff