Unix Technical Forum

Network Interface

This is a discussion on Network Interface within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello all, The network interface for my AIX5.2 is 10Mbps Half Duplex (please dont ask me why!). I want ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 10:29 PM
Vitor Flausino
 
Posts: n/a
Default Network Interface

Hello all,
The network interface for my AIX5.2 is 10Mbps Half Duplex (please dont ask me why!). I want to change to auto-negotioation. When I try to change, it says that the device is in use.
Do I have to kill all the processes that use the network interface? How do I know which are?

Thankx,
-vcf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 10:29 PM
Dan Foster
 
Posts: n/a
Default Re: Network Interface

In article <409a57b7$0$24311$4d4efb8e@read.news.pt.uu.net>, Vitor
Flausino <vflausino@dti.pga.pt> wrote:
> The network interface for my AIX5.2 is 10Mbps Half Duplex (please dont
> ask me why!). I want to change to auto-negotioation. When I try to
> change, it says that the device is in use. Do I have to kill all the
> processes that use the network interface? How do I know which are?


You have two choices:

1. Login to machine via console and do (IF it is for en0; if not, adjust):

# ifconfig en0 down
# ifconfig en0 detach
# chdev -l ent0 -a media_speed=Auto_Negotiation
# ifconfig en0 -a state=up
# route add default <default gw>
(above step may be required but not sure)

That takes a few seconds -- how fast can you type (or paste)?

or

2. # chdev -l ent0 -a media_speed=Auto_Negotiation -P
# shutdown -Fr now
(that reboots the machine)

That takes however long it takes to reboot a machine... probably
anywhere between 5 to 15 minutes.

The downtime will be far shorter with option #1, so try to do that if
possible.

-Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 10:29 PM
Holger van Koll
 
Posts: n/a
Default Re: Network Interface

Dan Foster wrote:
>
> 1. Login to machine via console and do (IF it is for en0; if not, adjust):
>
> # ifconfig en0 down
> # ifconfig en0 detach
> # chdev -l ent0 -a media_speed=Auto_Negotiation
> # ifconfig en0 -a state=up
> # route add default <default gw>
> (above step may be required but not sure)
>
> That takes a few seconds -- how fast can you type (or paste)?


I prefer to do this via the at command --> no tcp-connection that can
crash while executing those commands.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com