Serial: 19200, N, 8 1 If you're using Minicom on linux to configure the serial, use: dmesg (to figure out where your serial port is) and then minicom (figure out if it's ttyS0 or ttyS1) Save minicom configuration, restart it to make sure it works. (OFFLINE means nothing in status) AIX 5.2 Tips ------------ SMITten? SMIT Notes ------------------- SMIT fills up / so make sure you go and clean that up of smit log files. smit.log smit.script smit.transcription ----------------------------------------------------------------------------- Figuring out how much space you partitoned # lspv hdisk0 Should give you a readout ----------------------------------------------------------------------------- * errpt -a | more To see error reports, AIX will stick something into the crontab to warn you upon boot as well so you have to clear that as well. ----------------------------------------------------------------------------- Repartitioning The Drive ------------------------ % su # smit System Storage Management (Physical & Logical Storage) File Systems Add / Change / Show / Delete File Systems Journaled File System Change / Show Characteristics of a Journaled File System Select partition /usr * Select "Unit Size". And twiddle. Press Enter when you're donea ----------------------------------------------------------------------------- Packages ======== Installing ---------- % installp -acX List installed -------------- % lslpp -l all List Contents -------------- % lslpp -f List Prerequisites ------------------ % lslpp -p Show Original Package --------------------- % lslpp -w List Available on media ----------------------- % installp -l -d device Preview ------- % installp -p Verify Package -------------- % installp -a -v Uninstall / Remove / Delete ---------------------------- % installp -u ----------------------------------------------------------------------------- System Shutdown: 2.1.3 System Shutdown The following examples must be done while logged in as root. To shut down the system in 10 minutes: # shutdown +10 To do a fast shutdown now with no warnings: # # # shutdown -F # # halt # To shut down with a warning for users to log off: # # # shutdown now # To shut down with a one-minute warning and then reboot: # # # shutdown -r # To reboot immediately: # # # shutdown -Fr # # reboot # To shut down AIX to single-user mode: # # # telinit S # # init s # # shutdown -m # # ----------------------------------------------------------------------------- SSH Startup Script /etc/rc.d/rc2.d/Ssshd ----------------------------------------------------------------------------- Arg list too long: http://gcc.gnu.org/ml/gcc-help/2004-08/msg00261.html David Kramer writes: > I am bootstrapping gcc 3.4.0 on AIX 5.2 from a binary 3.3.3 I downloaded > (compiled for 5.1: I could not find a 5.2 one). > ... > xgcc: installation problem, cannot exec > `/dkramer/bldgcc340wa/gcc/collect2': Arg list too long > > This is the second time I saw this. After the first time, I STWF and found > that it could mean the commands were too long (due to paths), so I moved > everything to my home directory so all the paths are shorter... > > Is there anything else that can cause this, or a way around it? Generally it is the number of arguments that is the issue. There is usually a way to increase the limit with a kernel parameter (via smitty chgsys on AIX, I think). (Change the ARG from 9 -> 24) ----------------------------------------------------------------------------- Setting Date/Time # smitty date # date MMDDHHmmYY # chtz PDT Timezone is in /etc/environment -> you seem to have to reboot for this to stick. # chtz PST8PDT # reboot # /usr/bin/ntpdate time.apple.com Setting Network http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/aixbman/commadmn/tcp_interfaces.htm # smitty mktcpip # smitty route ----------------------------------------------------------------------------- AIX Public Domain Software Library http://aixpdslib.seas.ucla.edu/ http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/genprogctfrm.htm (Packaging Stuff) http://www.redbooks.ibm.com/abstracts/sg245674.html?Open (Developing and Porting C/C++ to AIX) SG24-5674-01 Which references the packaging stuff above. --- BFF Packaging: You can perform all the steps done by mkinstallp manually, including creating the final BFF file using the "backup" command. These steps are detailed here: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.genprogc/doc/genprogc/pkging_sw4_install.htma Alternatively, you can run mkinstallp from the build script using sudo (included in the AIX Toolbox for Linux CD-ROM).