Serial Out cu

IBM workstations/servers/mainframes and operating systems (AIX, OS/2, etc.)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
uunix
Donor
Donor
Posts: 1808
Joined: Sun Mar 27, 2011 12:48 pm
Location: Stourbridge / England / UK

Serial Out cu

Unread postby uunix » Fri Jan 23, 2015 3:56 pm

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: :O2: :Indigo: :Indy:
-----------------------------------------------------------------------

User avatar
ClassicHasClass
Donor
Donor
Posts: 2107
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: Serial Out cu

Unread postby ClassicHasClass » Fri Jan 23, 2015 9:41 pm

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, 175MHz 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 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

User avatar
foetz
Moderator
Moderator
Posts: 6591
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Serial Out cu

Unread postby foetz » Fri Jan 23, 2015 10:18 pm

so the ibm boxes don't come with even one proper serial port by default? :shock:

User avatar
ClassicHasClass
Donor
Donor
Posts: 2107
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: Serial Out cu

Unread postby ClassicHasClass » Sat Jan 24, 2015 8:41 am

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, 175MHz 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 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

User avatar
foetz
Moderator
Moderator
Posts: 6591
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Serial Out cu

Unread postby foetz » Sat Jan 24, 2015 9:04 pm

ClassicHasClass wrote:they won't work for, say, modems

yeah what i meant, no proper ports then :P


Return to “IBM”

Who is online

Users browsing this forum: No registered users and 1 guest