How do I change SMTP server hostname or IP address in AIX?

Make a backup and edit the Sendmail Configuration File (/etc/ to point to the correct SMTP host.

cp /etc/ /etc/sendmail.`date +%Y%m%d.%H%M%S`
vi /etc/

In VI search for the “DSsmtp” string and make the change according to your system configuration.

Sample By Hostname:

### Example SMTP Hostname:

Sample By IP Address:

### Example SMTP IP Address:

Sample by DNS Name:

### Example Hosted SMTP Server:

Restart Sendmail

refresh –s sendmail

Test Email.

sendmail -v -t < /etc/motd

How do I configure/Change IP address on AIX System

To configure/change the IP address you must be logged as a root user.

Gather your network configuration information:
– IP address
– Host name
– Domain Name
– Subnetmask (optional)
– Name server (optional)
– Gateway address (optional)

On the command line,type the command:

smitty mktcpip

When prompted chose the Network interface you plan to use.

Available Network Interfaces                  
Move cursor to desired item and press Enter.                        
en0   03-08   Standard Ethernet Network Interface                 
en1   03-09   Standard Ethernet Network Interface                 
et0   03-08   IEEE 802.3 Ethernet Network Interface               
et1   03-09   IEEE 802.3 Ethernet Network Interface               

F1=Help                 F2=Refresh              F3=Cancel           
Esc+8=Image             Esc+0=Exit              Enter=Do            
/=Find                  n=Find Next

After you fill in the fields with the network information that you have collected, hit ENTER.

                        Minimum Configuration & Startup                       
 To Delete existing configuration data, please use Further Configuration menus
Type or select values in entry fields.                                        
Press Enter AFTER making all desired changes.                                 

[TOP]                                                   [Entry Fields]
* HOSTNAME                                        [eclipse]
* Internet ADDRESS (dotted decimal)     []
   Network MASK (dotted decimal)          []
* Network INTERFACE                              en0 
           Internet ADDRESS (dotted decimal) []                       
           DOMAIN Name                               []                       
 Default Gateway                                                             
  Address (dotted decimal or symbolic name) []            
       Cost                                          [0]                      
       Do Active Dead Gateway Detection?     no

The tool runs the mktcpip command in the background and makes the network available. Done!

How do I set the IP address on my DIGI LAN server?

NOTE: these steps must be performed on the same LAN as the device.

  • Record the MAC address of the Digi device (located on the label side (bottom) of the unit)
  • Manually update the workstation’s ARP table using the Digi device’s MAC using one of the commands below, substituting the new Digi’s IP address and MAC address:
arp -s 00-00-9d-22-23-60
arp -s 00009d222360
  • Ping the Digi device using the IP address just assigned:
  • When the Digi begins responding to pings, enter the IP into a web browser and login (user/pass root/dbps) to set the default gateway and subnet mask
  • Add to the digi device IP address to the /etc/hosts file
    vi /etc/hosts digi
  • Notify Eclipse that the Digi is online by updating your service request online with the Digi IP address
  • Eclipse will verify connectivity to the Dig and continue the VSIFAX configuration process

How do I create a mksysb tape backup on AIX?

These instructions are for AIX 7.1. If you are on AIX 6.1, the steps will be similar. If you are on a previous version of AIX, you should upgrade as soon as possible.

Use Eterm, the local console or HMC to log into the server as root.

At the root command prompt (#), run:

smit mksysb

At the “Back Up This System” screen, press ESC-4 or F4 to change the highlighted fields:

* Backup DEVICE or FILE                              [/dev/rmt0]
  Create MAP files?                                   no
  EXCLUDE files?                                      yes
  List files as they are backed up?                   no 
  Verify readability if tape device?                  no 
  Generate new / file?                      yes
  EXPAND /tmp if needed?                              yes
  Disable software packing of backup?                 yes
  Backup extended attributes?                         yes
  Number of BLOCKS to write in a single output       []  
     (Leave blank to use a system default)
  Location of existing mksysb image                  []
  File system to use for temporary work space        []  
     (If blank, /tmp will be used.)
  Back up encrypted files?                            yes
  Back up DMAPI filesystem files?                     yes

When the fields have been correctly set, press Enter to begin the backup.

A progress indicator will indicate when the backup is running, and when it has completed, you will receive either an OK or Failed completion status message.

After creating the mksysb, you should verify the tape. The verification consists of reading the information stored on the tape back into the system.