- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- On board ethernet card - how to disable and change...
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-30-2003 05:39 AM
05-30-2003 05:39 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:42 AM
05-30-2003 05:42 AM
SolutionIf you can see the 10/100 card when you do a 'lanscan', you should be able to use it. Just edit the /etc/rc.config.d/netconf file and specify the IP address and other settings using that lan card [lan1, lan2, something like that probably].
The built-in lan card won't 'go away', but if you assign an IP address to the other card you shouldn't care, as the other card will be used.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:44 AM
05-30-2003 05:44 AM
Re: On board ethernet card - how to disable and change speeds
Use lanadmin command to change the speed. You will need to use nmid (for 10.20) or ppa|card instance# (for 11.x) as an argument to lanadmin command. Use "lanscan" to find them out.
#lanadmin -x 2
Will display the speed of the lan card associated with nmid|ppa 2.
#lanadmin -X 100FD 2
Will change the speed and duplex of the lancard associated with nmid|ppa 2 to 100 Full Duplex.
To survice these setting on reboot, you will need to hard code these values into /etc/rc.config.d/hp*conf files. In your case, it will be hp100baseconf file. Example entries are given in that file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:44 AM
05-30-2003 05:44 AM
Re: On board ethernet card - how to disable and change speeds
HPUX uses only the card you configure, so if you configure, let's say, lan4 on the PCI slot, that one will be used.
To change the speed: use lanadmin !
lanadmin -x query for the opeiotn
lanadmin -X set the option.
to set them at every reboot, there are the files in the /etc/rc.config.d/etherconf* or such files (i never remember the exact files)
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:49 AM
05-30-2003 05:49 AM
Re: On board ethernet card - how to disable and change speeds
you can go and edit the /etc/rc.config.d/netconf and specify only the lan card that you want to have configured along with the IP address you want. This will apply every time you boot. Depending on the driver that the lan card is using, you have several files in /etc/rc.config.d all starting with hp (hpbtlanconf, hp100baseconf, etc.. ), one of them will allow you to configure the speed for the card.
If you want to do all of this manually. Assuming that lan0 is the built-in lan and the lan1 is the one you want to use.
ifconfig lan0 inet 0.0.0.0 down
ifconfig lan1 inet 192.168.33.15 netmask 255.255.255.0 up
lanadmin -X 100BT 1 {will set port 1 to 100BT)
this being said, next time you reboot you'll have to do this again unless you have edited the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:52 AM
05-30-2003 05:52 AM
Re: On board ethernet card - how to disable and change speeds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 06:03 AM
05-30-2003 06:03 AM
Re: On board ethernet card - how to disable and change speeds
Check this out:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5b03a1c04ffd61190050090279cd0f9,00.html
Regards,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 10:42 AM
05-30-2003 10:42 AM
Re: On board ethernet card - how to disable and change speeds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 10:45 AM
05-30-2003 10:45 AM
Re: On board ethernet card - how to disable and change speeds
# ioscan -fnC lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 10:46 AM
05-30-2003 10:46 AM
Re: On board ethernet card - how to disable and change speeds
Can you post your "lanscan" and "netstat -i" outputs?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 10:47 AM
05-30-2003 10:47 AM
Re: On board ethernet card - how to disable and change speeds
What version of HP-UX are you running? What happens if you do "lanadmin -x 0", where 0 is the instance number of your card? You should see the current settings.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 10:48 AM
05-30-2003 10:48 AM
Re: On board ethernet card - how to disable and change speeds
One other trick you can try is the 'linkloop' command. It will help you verify the physical connection to a card using the MAC address. It is handy for helping to make sure that your cable connection to the card is ok.
Also, you could post the output of 'lanscan' and the contents of your /etc/rc.config.d/netconf file. Are you running 10.20?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 12:00 PM
05-30-2003 12:00 PM
Re: On board ethernet card - how to disable and change speeds
then run lanadmin
run lanadmin -s NMID to see speed
lanadmin -S NMID to set speed
ifconfig lan# (taken from NameUnit column on lanscan) to configure IP/netmask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 12:23 PM
05-30-2003 12:23 PM
Re: On board ethernet card - how to disable and change speeds
What version of HP-UX are you running? Is it 10.20??
Regards,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 08:00 AM
06-02-2003 08:00 AM
Re: On board ethernet card - how to disable and change speeds
iocan -fnC is
Class I H/W Path driver S/W state H/W type
lan 0 8/16/6 lan2 CLaimed Interface
description
built-in lan
/dev/diag/lan0 /dev/ether0 /dev/lan0
lan 1 10/12/1/0 btlan0 Claimed Interface
PCI 10110009
--built-in#1
netstat -i yields
Name MTU Network Address IpktsIerrOpktsOerr Col
ni0 0 none none 0 0 0 0 0
ni1 0 none none 0 0 0 0 0
lo0 4600 loopback localhost 216 0 216 0 0
lan0 1500 none none 0 0 0 0 0
lan1 1500 10.88.193 usgnisp 496 0 13 2 32
I am trying to configure out lan0 and use lan1
Thanks