User Tools

Site Tools


aix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

aix [2012/08/20 11:05]
root
aix [2013/06/07 11:45] (current)
root
Line 3: Line 3:
   chsec -f /​etc/​security/​lastlog -s <​username>​ -a unsuccessful_login_count=0   chsec -f /​etc/​security/​lastlog -s <​username>​ -a unsuccessful_login_count=0
   ​   ​
-====== Permanently assign an IP to interface ​ ======+====== Permanently assign an IP to an interface ​ ======
  
-  ​chdev -l en1 -a netaddr=192.168.1.1 -a netmask=255.255.255.0+ 
 +  mktcpip -i en2 -h power1 -g 192.168.2.2 -a 192.168.4.6 -m 255.255.255.0 
 +           ​| ​               |              |              | 
 +           ​Interface ​       Gateway ​       Address ​       Netmask 
 +====== Permanently add an alias to an interface ====== 
 + 
 +  ​chdev -l en0 -a alias=192.168.1.1,​255.255.255.0 
 + 
 +====== Remove a permanently added alias from an interface ====== 
 + 
 +  chdev -l en0 -a delalias=192.168.1.1,​255.255.255.0 
 + 
 +====== Download file from remote web-server ====== 
 + 
 +perl -e 'use LWP::​Simple;​ getprint($ARGV[0]);'​http://​myserver.com/​xxxx/​xxx.html > file.iso 
 + 
 +====== Mount iso file ====== 
 + 
 +loopmount -i file.iso -o "-V cdrfs -o ro" -m /mnt
aix.1345460723.txt.gz · Last modified: 2012/08/20 11:05 by root