IBM

Serial Out cu

Evening folks.

I want to connect to [something] from Power5 911 285 running AIX 7.1 that has no HMC.

Serial cable is connected to Port1 (as identified on back - so Port0?)

So, in /etc/uucp/devices I have added the following line:
Direct tty0 - 9600 direct

cu -l /dev/tty0 fails NO DEVICES AVAILABLE (plus lots of other combinations.. tty1, vty0..)

So a few things are throwing me:
1/ Virtual ports vty0 etc
2/ I read that the ports are hardcoded for 19200 [????]
3/ Do I have to remove the device first via smit?

The device I'm connecting to has standard type settings 9600 8 1 etc..

Many thanks in advance.
-----------------------------------------------------------------------
Hey Ho! Pip & Dandy!
:Octane2: :Octane2: :O2: :Indy: loft => :Indigo: :540: :Octane: :Octane: :Indy:
Don't use /dev/vty0; those are the ASMI-managed serial ports. It will work with getty as a serial console but it doesn't work as a general purpose serial port. For my AIX POWER6, I installed a "2-Port Asynchronous EIA-232 PCI Adapter" (FC 5723). These are very easy to find used; mine was $25. The card supports the smit PCI Hot Swap Manager assuming your hardware does.

Once installed, detected and configured, you should now have /dev/tty0 and /dev/tty1. In /etc/uucp/Devices, I have

Code: Select all

Direct tty0 - 2400 direct
Direct tty0 - 4800 direct
Direct tty0 - 9600 direct
Direct tty0 - 14400 direct
Direct tty0 - 19200 direct
Direct tty0 - 38400 direct
Direct tty0 - 57600 direct
Direct tty0 - 115200 direct


And the command line to talk to it would be

Code: Select all

/usr/bin/cu -m -l/dev/tty0 -s115200
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
so the ibm boxes don't come with even one proper serial port by default? :shock:
r-a-c.de
Nope. Like I say, the VTYs suffice as serial consoles, but they won't work for, say, modems. That was the problem I had connecting my POWER6 to my GSM terminal.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ClassicHasClass wrote: they won't work for, say, modems

yeah what i meant, no proper ports then :P
r-a-c.de