This shows you the differences between two versions of the page.
aix [2012/08/20 13:20] 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 ====== | ====== Permanently add an alias to an interface ====== | ||
Line 15: | Line 17: | ||
chdev -l en0 -a delalias=192.168.1.1,255.255.255.0 | 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 |