Operating System - HP-UX
1838334 Members
3063 Online
110125 Solutions
New Discussion

attach a console to a regular serial port?

 
Mark Henry_1
Frequent Advisor

attach a console to a regular serial port?

Hi All,

I want to console into a visualize workstation, however since it is a graphics machine, it doesn't have a dedicated console port.
Is there a way I can attach a console process to one of the (2) built in serial ports?

Thx,

Mark
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: attach a console to a regular serial port?

Hi Mark:

If by 'console process' you mean a login then all you have to do is run getty spawned by an inittab entry. SAM will do all this for you:

SAM->Peripherel Devices->Terminals & Modems->Actions->Add Terminal.

Attach a proper cable, set the terminal baudrate/wordlength/stopbits as you configured them in SAM and /etc/gettydefs and you are set.

Clay

If it ain't broke, I can fix that.
Mark Henry_1
Frequent Advisor

Re: attach a console to a regular serial port?

Clay,

Thanks,

Does putting it into inittab mean that it can only be run at startup? (which is fine).

Can you give me the command line version of that (in the event sam is inaccessible..)

Thx,

Mark
Craig Rants
Honored Contributor

Re: attach a console to a regular serial port?

There should be no problem, find out your HW Address of the serial port and create a device file for it through SAM.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Mark Henry_1
Frequent Advisor

Re: attach a console to a regular serial port?

Craig,

With your approach, what then after creating the device file?

Thx,

M
Sanjay_6
Honored Contributor

Re: attach a console to a regular serial port?

Hi Mark,

Try this link below, Looks like someone else wanted to do the same,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=1f1eb313003980791f/screen=ckiDisplayDocument?docId=200000053303247

hope this helps.

Regds
Craig Rants
Honored Contributor

Re: attach a console to a regular serial port?

If you create it through SAM, SAM should take care of all the getty stuff that Clay was talking about.

All you should have to do then is to hook up the console.

Hope this helps,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut