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!

changing network attributes

Status
Not open for further replies.

Drill

Technical User
May 2, 2001
32
0
0
GB
Hi,

Need to change as setting on the network card on our AIX server but the system just reports the specified device is busy. I have tried ifconfig en0 down and stopping tcp/ip services to no avail. Anybody got any ideas of how i can change the setting ? (want to change duplex setting via smit)

MAny Thanks
 
Bring the server down into single user and then adjust your settings via smitty
 
To change the adapter speed all activity on the adapter must be stopped. Close all sessions to the machine and log on at the console then enter the following commands.

ifconfig -a - to identify the adapter that is being used, ie en0
ifconfig en0 down - to bring down the interface
ifconfig en0 detach - to detach the interface to allow it to be updated.
enter smit devices
select Communication
select Ethernet adapter
select Adapter
select Change / Show Characteristics of an Ethernet Adapter
select required adapter from list ie en0
go to media speed and change the option to 100_full_duplex (or whatever)

Come back out of smit and do the following...
enter smit TCPIP

select Minimum Configuration & Startup
select required adapter from list ie en0
Check that the default Gateway is in place and press enter - this should restart the interface.

Hope this helps.
 
If you don't mind a reboot, or have one scheduled, you can do:

smitty chgenet

Select the adapter, change "Media Speed" as desired, and set "Apply change to DATABASE only" to "yes".

At the next reboot, the adapter should come up at the new speed.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
You mentioned en0. Is that the only interface you have? Are you logged in on that interface?

You can also combine down/detach like:
ifconfig en0 down detach
 

ifconfig en0 detach
rmdev -l ent0

Do any changes you want, e.g. "chdev -l ent0 -a media_speed='100_Full_Duplex'". Then:

mkdev -l ent0
chdev -l en0 -a state=up
mkdev -l inet0

Cheers
 
HI,

Just a thank you for all your responses , i think it was the detatch that i was missing.
Will give it a try today.

Thanks again for your quick and comprehensive responses.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top