1834710 Members
2628 Online
110069 Solutions
New Discussion

Card lan ??

 
SOLVED
Go to solution
castro_2
Regular Advisor

Card lan ??

I need to take the card on hp-ux, this card is not in use. I need to do something before or after to take the card?
Thanks
14 REPLIES 14
Domenico_5
Respected Contributor
Solution

Re: Card lan ??

nothing, you can only remove ( rmsf specialfile ) the specialfile "ioscan -fnkClan" for determine witch is the file.
Pete Randall
Outstanding Contributor

Re: Card lan ??

Assuming this is a lan card and you're absolutely sure it's not in use - just shut the machine down and remove it.

Pete

Pete
S.K. Chan
Honored Contributor

Re: Card lan ??

If it's not in use. You do not need to do or run anything before you take it out. Double check to make sure the LAN card is really not in use by running ..
# lanscan
If you have more than 1 LAN card installed it'll show you which one is "UP" and which one is "DOWN" (in the "Interface State") column. Once you know which one for sure, shutdown your system according to your local procedure and proceed.
Eric Hess
Advisor

Re: Card lan ??

Make sure the /etc/rc.config.d/netconf does not point to this card:
INTERFACE_NAME[0]=lan1

Netstat -ir has no packets inbound/outbound. If thats the case you can remove that card with no adverse affect.
I didn't do it. He did!
MANOJ SRIVASTAVA
Honored Contributor

Re: Card lan ??

Hi Castro


I would suggest you do like this :


1. Identify the Lan Interface using lanscan

2. Disable teh same by editing /etc/rc.config.d/netconf

3.stop and restart the netwrok services

4. check whether the card has been diabled .

5. remove the device files.

5. Switch off the system

6. remove the card

7. boot the system

8. Check for the device files , run a ioscan again if ib doubt , re check using lanscan



Manoj Srivastava
castro_2
Regular Advisor

Re: Card lan ??

ioscan -fnC lan
lan 7 0/6/0/0/4/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100
Base-TX 4 port
/dev/diag/lan7 /dev/ether7 /dev/lan7
lan 8 0/6/0/0/5/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100
Base-TX 4 port
/dev/diag/lan8 /dev/ether8 /dev/lan8
lan 9 0/6/0/0/6/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100
Base-TX 4 port
/dev/diag/lan9 /dev/ether9 /dev/lan9
lan 10 0/6/0/0/7/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100
Base-TX 4 port
/dev/diag/lan10 /dev/ether10 /dev/lan10


The card is a Base-TX 4 port
For exmaple
ifconfig lan10
ifconfig: no such interface

Thanks
Domenico_5
Respected Contributor

Re: Card lan ??

it's correct if you don't use this card and it isin't configured.

So you can remove it and remove /dev/diag/lan10 /dev/ether10 /dev/lan10

with rmsf

castro_2
Regular Advisor

Re: Card lan ??

Sorry I forget
0/6/0/0/4/0 0x00306E047E60 7 UP lan7 snap7 8 ETHER Yes 119
0/6/0/0/5/0 0x00306E047E61 8 UP lan8 snap8 9 ETHER Yes 119
0/6/0/0/6/0 0x00306E047E62 9 UP lan9 snap9 10 ETHER Yes 119
0/6/0/0/7/0 0x00306E047E63 10 UP lan10 snap10 11 ETHER Yes 119

In the file /etc/rc.config.d/netconf no exist the entrance.
Domenico_5
Respected Contributor

Re: Card lan ??

hei castro you want to remove this card or you want to send message all day??

heheheh

you have all instruction in all previous post

p.s. (remenber to assign point, all people are working for you)
Pete Randall
Outstanding Contributor

Re: Card lan ??

Castro,

The A5506B is a 4port ethernet adapter - you have to be sure that all 4ports are unused before you can pull it out. Does this machine have another lan card that is being used? Are you not even connected to a network? If this is the only lan card, you can't pull it.

Pete

Pete
castro_2
Regular Advisor

Re: Card lan ??

The last one.
Yes I have another lan card.
To remove the card usr
rmsf -H 0/6/0/0/7/0

This commnad I have to use for the 4 cards??
0/6/0/0/4/0
0/6/0/0/5/0
0/6/0/0/6/0
0/6/0/0/7/0


Thanks
Pete Randall
Outstanding Contributor

Re: Card lan ??

Yes, all four ports are on that one card, so you would have to rmsf all four.

Pete

Pete
Domenico_5
Respected Contributor

Re: Card lan ??

castro rmsf is NOT NECESSARY, you can do only for a clean uninstall
castro_2
Regular Advisor

Re: Card lan ??

I remove the card
rmsf -H 0/6/0/0/4/0
rmsf -H 0/6/0/0/5/0
rmsf -H 0/6/0/0/6/0
rmsf -H 0/6/0/0/7/0

The special files dosen??t exit but when I do lanscan I still have been.
Thanks