![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change tape device name. | fraydey | UNIX for Dummies Questions & Answers | 2 | 05-12-2008 06:11 AM |
| NIC and Device NO to Change | Ilias Kappatos | UNIX for Dummies Questions & Answers | 1 | 12-24-2007 03:49 AM |
| %device line change | sighbrrguy | UNIX for Advanced & Expert Users | 1 | 09-20-2007 08:11 AM |
| My device files change!!!! | lenux78 | Linux | 2 | 07-13-2006 06:07 AM |
| cd rom device | rkap | UNIX for Dummies Questions & Answers | 1 | 06-23-2005 10:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Change device name
Hi,
i would to know if is possible to change name of my ethernet device (en0) on AIX. Help Me! thanks in advance. Zio |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Stupid question I know but why do you want to?
|
|
#3
|
|||
|
|||
|
ehhehe you're right!
it's not easy... i have a p595 partition with boot in SAN ok? I have another partition with NIM that remake the system if the boot is FAILED. Usually the system have three ethernet device (ent0 - ent1 - ent2) with en0, en1, en2 ok? If i remove the ethernet device ent1, and the system (in Disaster Situation) fail the boot in SAN, the NIM remake System on onboard disk. The remaked configuration is with three ethernet device, but now there are only two device and system change ent2 to ent1 ok? I need to rename ent1 to en2 because there are configuration that need a device with name ent2. SORRY FOR MY BAD BAD ENGLISH! I hope that you have understand... Thanks Zio |
|
#4
|
|||
|
|||
|
I think that i change it by odmget and odmchange but i don't know how use these commands.
|
|
#5
|
|||
|
|||
|
Please do not apologise for your English, no need!
Ok try the following. It should work. ifconfig en# down detach. smit mktcpip > configure ent2 reboot If it flips back to ent0 after reboot, I would do this. ifconfig en# down detach rmdev –dl en# mkdev –l ent# ( if this is the etherchannel devices ) chdev –l en# –a state=up mkdev –l inet0 I would then run "netstat -in" to see all my configured devices. Good luck. |
|
#6
|
|||
|
|||
|
Ok, i have found the solution... i Hope
odmget -q "name=en0" CuDv > /tmp/en0.CuDv odmget -q "name=en0" CuAt > /tmp/en0.CuAt now i change the name value and after i put the new configuration... odmadd /tmp/en0.CuAt odmadd /tmp/en0.CuDv If you think that it's wrong pls tell me! i try this tomorrow... hope well! |
|
#7
|
|||
|
|||
|
Thanks so much JOHN!
i think that your solution is much easy i try and i say you the responce Thanks P.S. My method, for your opinion, is right? |
|||
| Google The UNIX and Linux Forums |