Thanks to greg and a 2nd question

Thanks to greg and a 2nd question

Post by iwok » Wed, 29 May 2002 04:15:23



Many thanks for your answer about the settings for hyper terminal
to connect my windows box over the serial port with my sun ultra 10.

9600 bps, 8 data bits, No parity, 1 stop bit, XON/XOFF flow control

I also set "diag-switch? = true" but I'm still not able to get the
data transmitted to my hyper terminal session.

Does it debend on which serial port (ttya or ttyb) I connect the
Null Modem Cable on the Sun Ultra 10?
Does it just send the data over the serial line when there is no
keyboard connected?
I still want to have my keyboard connected if possible.
Maybe after all, my cable is not working fine.

But thanks for your help.
iwok

--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

 
 
 

Thanks to greg and a 2nd question

Post by Rich Tee » Wed, 29 May 2002 06:31:42



> Does it debend on which serial port (ttya or ttyb) I connect the
> Null Modem Cable on the Sun Ultra 10?

Yes - you need to connect to TTY A.  (Try no flow control)
BTW, Hyperterm is known to be a bit iffy for this sort of
use (though I can't recall the details).

Quote:> Does it just send the data over the serial line when there is no
> keyboard connected?

Yes.

Quote:> I still want to have my keyboard connected if possible.

If you want a serial console, you have to remove the keyboard.
The OBP uses the presence of a keyboard (or lack thereof) to
determine where the console is.

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

 
 
 

Thanks to greg and a 2nd question

Post by Greg Andre » Wed, 29 May 2002 13:13:28



>Many thanks for your answer about the settings for hyper terminal
>to connect my windows box over the serial port with my sun ultra 10.

>9600 bps, 8 data bits, No parity, 1 stop bit, XON/XOFF flow control

>I also set "diag-switch? = true" but I'm still not able to get the
>data transmitted to my hyper terminal session.

>Does it debend on which serial port (ttya or ttyb) I connect the
>Null Modem Cable on the Sun Ultra 10?
>Does it just send the data over the serial line when there is no
>keyboard connected?

The default configuration of Solaris does not enable a login
service on either serial port.

If the machine is powered on without a keyboard attached, it
will automatically switch the system console to serial port A.
When this happens the console login service runs on serial port A.

So you have a choice.  Power on the machine without the keyboard
plugged in so the console login service is automatically run on
serial port A, or enable a login service on serial port A (or B)
yourself.

To enable a login service using Admintool:

 1. log in as root, run admintool
 2. choose Browse->Serial Ports
 3. click once on the "a" line or the "b" line - whichever one you
    plugged the serial cable into.  Clicking highlights that line
 4. choose Edit->Modify
 5. in the next window, set the Template button to "Modem - Bidirectional",
    then to "Terminal - Hardwired"
 6. make sure the "Baud Rate" button is 9600
 7. type vt100 in the "Terminal" text box
 8. click the "OK" button (not the "Apply" button)

you're done.

  -Greg
--

I have a map of the United States that's actual size
                 -- Steven Wright

 
 
 

Thanks to greg and a 2nd question

Post by Philip Bro » Tue, 04 Jun 2002 10:10:29



>Many thanks for your answer about the settings for hyper terminal
>to connect my windows box over the serial port with my sun ultra 10.

>9600 bps, 8 data bits, No parity, 1 stop bit, XON/XOFF flow control

no, you do NOT want XON/XOFF flow control.

either set flow control to 'none', or 'hardware' if you have a full
null-modem rather than a cheapie one.

You DO have a nullmodem adaptor, I hope.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

http://www.spamlaws.com/state/ca1.html

 
 
 

Thanks to greg and a 2nd question

Post by Greg Andre » Tue, 04 Jun 2002 10:21:26




>>Many thanks for your answer about the settings for hyper terminal
>>to connect my windows box over the serial port with my sun ultra 10.

>>9600 bps, 8 data bits, No parity, 1 stop bit, XON/XOFF flow control

>no, you do NOT want XON/XOFF flow control.

Phil, knee-jerk reactions are how myths propagate.

XON/XOFF is what the Solaris serial console uses by default.
Without ANY indication that totaliwok wants to transfer files,
XON/XOFF is a perfectly fine setting.

  -Greg
--

I have a map of the United States that's actual size
                 -- Steven Wright

 
 
 

Thanks to greg and a 2nd question

Post by Philip Bro » Wed, 05 Jun 2002 01:51:10



>Phil, knee-jerk reactions are how myths propagate.

>XON/XOFF is what the Solaris serial console uses by default.
>Without ANY indication that totaliwok wants to transfer files,
>XON/XOFF is a perfectly fine setting.

do you have any references for this?

All I've found so far is
http://docs.sun.com/?p=/doc/805-0429-10/6j0fk0fvi&a=view
 [and similar pages]

which does not reference flow control at all.
(which to me, implies 'none')

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

http://www.spamlaws.com/state/ca1.html

 
 
 

Thanks to greg and a 2nd question

Post by Greg Andre » Thu, 06 Jun 2002 11:18:38




>>Phil, knee-jerk reactions are how myths propagate.

>>XON/XOFF is what the Solaris serial console uses by default.
>>Without ANY indication that totaliwok wants to transfer files,
>>XON/XOFF is a perfectly fine setting.

>do you have any references for this?

Log into a Sparc through the serial port, type "stty -a" and
notice the ixon parameter.

Or look at the /etc/ioctl.syscon file (it's in stty -g format).

  -Greg
--

I have a map of the United States that's actual size
                 -- Steven Wright