![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change wc -l | francis_tom | Shell Programming and Scripting | 1 | 04-14-2008 10:02 AM |
| change 43% to 43.5 | nortypig | Shell Programming and Scripting | 2 | 08-20-2006 12:55 AM |
| UID Change | mcateriny | AIX | 4 | 10-06-2003 09:02 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Have to change the IP of Solaris 8 on a Sun Enterprise 450 tomorrow.
Do know the ifconfig, but have to change some files as well to consolidate this. Can't find/remember which files that are. Anybody? Kuultak |
| Forum Sponsor | ||
|
|
|
#3
|
||||
|
||||
|
After you've ifconfig'd.....
/etc/hosts (the line corresponding to the appropriate hostname.interface file) /etc/netmasks (this is a softlink to /etc/inet/netmasks) Obviously this'll all need to be done from the console.... There are other files that'll need changing depending on your needs and the scale of changes made. There's a script here for a hostname change if you need to do that also. It is always worth doing a find /etc -type f -exec grep "old.ip.address.here" {} /dev/null \; to see if the IP address appears anywhere else (hard coded into badly written start scripts, or whatever).... Also; there may be application specific changes to be made, for example, Sybase would need changes to its interface file, etc, etc, etc.... Cheers ZB |
||||
| Google The UNIX and Linux Forums |