Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change N/W card speed? 1

Status
Not open for further replies.

KOG

MIS
Jan 31, 2002
303
0
0
GB
Hi Folks,

We have an old J40 box and there are two network cards on it, one is IBM 10-100 mbps card and it is now set for 10 mbps and I am having a lot of probs trying to change it's settings.

How do I change the settings?

It is important that it is set up as 100 mbps esp for standby database creation.

Cheers

K
 
Hi

Go smitty devices
- Communication
- Ethernet Adapter
- Adapter
- Change / Show Characteristics of an Ethernet Adapter

Then select your card (ent0 or ent1)

Select Media Speed & choose the speed from the drop down list

Or try
chdev -l 'entX' -a media_speed='100_Full_Duplex'



 
Hi

Followed your steps and got this error message,



Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

Method error (/usr/lib/methods/chgent):
0514-062 Cannot perform the requested function because the
specified device is busy.

Is there anything I should do before running the above command?

Regards

K
 
You cannot change the device state whilst it is up.

chdev -l en0 -a state=down
chdev -l en0 -a state=detach

You should then be able to make the change as above. Finally

chdev -l en0 -a state=up

replace en0 with the appropriate network interface which you wish to change

Dave
 
That's correct. I forgot that the card was still up.
Thanks DSN1.
 
Hi

MAny thanks for your immediate response but I am still receiving error messages even after I have stopped and detached the network interface.

# chdev -l 'ent1' -a media_speed='100_Full_Duplex'
Method error (/usr/lib/methods/chgent):
0514-062 Cannot perform the requested function because the
specified device is busy.

#

 
Strange...
It should have worked.

Any errors while running chdev -l ent1 -a state=down
& chdev -l ent1 state=detach ?

If you're using DHCP, the card should no longer have an IP address. (ifconfig en1)
 
Hi !
Try ifconfig enx detach before changing the media speed.
 
One definite solution is to have AIX reconfigure the adapter media speed at next adapter initialisation (i.e. probably next reboot). Instead of:
chdev -l 'ent1' -a media_speed='100_Full_Duplex'
try using:
chdev -l 'ent1' -a media_speed='100_Full_Duplex' -P

This is the same as the smitty option to "Apply change to DATABASE only" (yes).

Hope this helps.
 
I am not too sure what to do, I am no expert when it comes to hardware but I do recall that the NT Manager was telling me that this was a doggy card and it had given him a lot of headaches in the past !

Can u pls provide me step by step actions of what I should do?

Many thanks

Cheers

K
 
I tested this and it works on my box.


chdev -l en1 -a state=down
chdev -l en1 -a state=detach

chdev -l 'ent1' -a media_speed='100_Full_Duplex'

chdev -l en1 -a state=up

What errors are you getting?
 
Hi rzs0502,

I ran the steps you gave to me yesterday and again this morning and all seems fine but when I telnet to the server it just would not respond at all.

I think the network card is dodgy?

Anyone experience this kind of problem before?

Cheers

K
 
The best step is

ifconfig en1 down
ifconfig en1 detach
chdev -l ent1 -a media_speed=100_Full_Duplex
then
ifconfig en1 inet ip_address netmask net_mask up
Then add the default route
route add 0 deafult_route

Then it will surely work
 
Anshudad is quite right

After adding the default route you should be able to ping your PC and be able to telnet from your PC to the server.

If all this fails, check your error logs (errpt)
And run diagnostics on your network card (diag)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top