Connecting to serial port using HyperTerminal

2004-10-19 Thread Robert Fitzpatrick
I see the Terminals docs in the handbook for connecting to the serial port.
It looks as if maybe my FreeBSD 5.2 has getty up and running with several
instances:

64553  v0  Is+0:00.00 /usr/libexec/getty Pc ttyv0
  808  v1  Is+0:00.00 /usr/libexec/getty Pc ttyv1
  809  v2  Is+0:00.00 /usr/libexec/getty Pc ttyv2
  810  v3  Is+0:00.00 /usr/libexec/getty Pc ttyv3
  811  v4  Is+0:00.00 /usr/libexec/getty Pc ttyv4
  812  v5  Is+0:00.00 /usr/libexec/getty Pc ttyv5
  813  v6  Is+0:00.00 /usr/libexec/getty Pc ttyv6
  814  v7  Is+0:00.00 /usr/libexec/getty Pc ttyv7

What do I need to do more to allow the connection from my Windows machine in
HyperTerminal? I've tried various settings, can someone suggest the correct
settings?

--
Robert

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to serial port using HyperTerminal

2004-10-19 Thread Eric Crist
On Oct 19, 2004, at 9:46 PM, Robert Fitzpatrick wrote:
I see the Terminals docs in the handbook for connecting to the serial 
port.
It looks as if maybe my FreeBSD 5.2 has getty up and running with 
several
instances:

64553  v0  Is+0:00.00 /usr/libexec/getty Pc ttyv0
  808  v1  Is+0:00.00 /usr/libexec/getty Pc ttyv1
  809  v2  Is+0:00.00 /usr/libexec/getty Pc ttyv2
  810  v3  Is+0:00.00 /usr/libexec/getty Pc ttyv3
  811  v4  Is+0:00.00 /usr/libexec/getty Pc ttyv4
  812  v5  Is+0:00.00 /usr/libexec/getty Pc ttyv5
  813  v6  Is+0:00.00 /usr/libexec/getty Pc ttyv6
  814  v7  Is+0:00.00 /usr/libexec/getty Pc ttyv7
What do I need to do more to allow the connection from my Windows 
machine in
HyperTerminal? I've tried various settings, can someone suggest the 
correct
settings?

--
Robert
The tty*v* means they're virtual terminals.  You need to enable the 
serial console in /etc/ttys.  The line you need (which needs to be 
uncommented) should look like this:

ttyd0   /usr/libexec/getty std.9600   vt100   on secure
Then you need to reHUP your getty process.
HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: Connecting to serial port using HyperTerminal

2004-10-19 Thread Robert Fitzpatrick

ttyd0   /usr/libexec/getty std.9600   vt100   on secure

I found an existing line for ttyd0 set for dailup and off, I replaced it
with the one you suggested. Now, the ttyd0 shows up in the processes
running, but still no luck connecting. I have things set to 9600 baud with
8|None|1|Hardware and VT100 emulation. But no response.

--
Robert

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to serial port using HyperTerminal

2004-10-19 Thread Eric Crist
On Oct 19, 2004, at 10:08 PM, Robert Fitzpatrick wrote:
ttyd0   /usr/libexec/getty std.9600   vt100   on secure
I found an existing line for ttyd0 set for dailup and off, I replaced 
it
with the one you suggested. Now, the ttyd0 shows up in the processes
running, but still no luck connecting. I have things set to 9600 baud 
with
8|None|1|Hardware and VT100 emulation. But no response.

--
Robert
Maybe something trivial, but are you sure you're using a null modem 
cable?  this is necessary...
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: Connecting to serial port using HyperTerminal

2004-10-19 Thread Robert Fitzpatrick
 ttyd0   /usr/libexec/getty std.9600   vt100   on secure

 I found an existing line for ttyd0 set for dailup and off, I replaced 
 it
 with the one you suggested. Now, the ttyd0 shows up in the processes
 running, but still no luck connecting. I have things set to 9600 baud 
 with
 8|None|1|Hardware and VT100 emulation. But no response.

 --
 Robert

Maybe something trivial, but are you sure you're using a null modem 
cable?  this is necessary...

Yeah, the cable works connecting to a Linux box I have...

--
Robert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to serial port using HyperTerminal

2004-10-19 Thread Rob
Robert Fitzpatrick wrote:
ttyd0   /usr/libexec/getty std.9600   vt100   on secure
I found an existing line for ttyd0 set for dailup and off, I replaced 
it
with the one you suggested. Now, the ttyd0 shows up in the processes
running, but still no luck connecting. I have things set to 9600 baud 
with
8|None|1|Hardware and VT100 emulation. But no response.

--
Robert
Maybe something trivial, but are you sure you're using a null modem 
cable?  this is necessary...

Yeah, the cable works connecting to a Linux box I have...
Is the serial port enabled (BIOS  kernel)?
Do you get positive output when you do
  $ cat /var/run/dmesg.boot | grep sio[[:digit:]]
f.ex:
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
In /etc/ttys
  ttyd0 /usr/libexec/getty std.9600   dialup  off secure
means first serial port; cable is connected to that port?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using hyperterminal

2004-03-08 Thread Wayne Sierke
On Mon, 2004-03-08 at 10:56, Ryan Merrick wrote:
 Kyryll A Mirnenko wrote:
How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
  hyperterm-to-tip style connection? If they're using different protocols, is 
  there a BSD hyperterminal version?
  
 Hi,
 
 Tip is the freebsd built in terminal emulator (ie) the same as hyperterm. I 
 am not sure what you are asking on the second question. The close port to 
 hyperterminal is #/usr/ports/comms/minicom

Is it tip or cu?

I've used tip on an embedded linux system as a basic serial comms
utility, but tip on FreeBSD appears to be a login-style connection
program only? In any case, the following worked for me:

# cu -l cuaa0
Connected
~
[EOT]
#

Disconnect is either ~^D or ~. (tilde + ctrl-d or tilde + period).


Wayne


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using hyperterminal

2004-03-07 Thread Kyryll A Mirnenko
  How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
hyperterm-to-tip style connection? If they're using different protocols, is 
there a BSD hyperterminal version?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using hyperterminal

2004-03-07 Thread Andrew L. Gould
On Sunday 07 March 2004 04:06 pm, Kyryll A Mirnenko wrote:
   How is `tip` related to well-known windows' hyperterminal? E.g. can I use
 hyperterm-to-tip style connection? If they're using different protocols, is
 there a BSD hyperterminal version?


My understanding of terminal emulation and remote access is very limited.  
Also, I know next to nothing about tip.

However, I've had a certain amount of success using kermit in FreeBSD to dial 
into a vendor's server when I was supposed to be using hyperterminal in 
Windows .  I use kermit to dial the modem, use the vendor's command line menu 
interface and to transfer files.

Here's the contents of a kermit script I use to dial a certain vendor:

-start script file
#!/usr/local/bin/kermit

set line /dev/modem
set speed 57600
set dial connect on
dial phone number
-end of script file

Have fun,

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using hyperterminal

2004-03-07 Thread Ryan Merrick
Kyryll A Mirnenko wrote:
  How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
hyperterm-to-tip style connection? If they're using different protocols, is 
there a BSD hyperterminal version?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

Tip is the freebsd built in terminal emulator (ie) the same as hyperterm. I 
am not sure what you are asking on the second question. The close port to 
hyperterminal is #/usr/ports/comms/minicom

--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install With Serial Console Troubled Using Hyperterminal (FreeBSD 5.2 RC2 I386)

2004-01-07 Thread Sabahattin Gucukoglu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi people,

I am having real problems installing FreeBSd on a (in practice) headless 
box (which is actually a FIC 5200-CD Birch notebook with the lid closed up 
and sealed forming a nice little box with peripherals showing :-) ) using 
M$ HyperTerminal from Windblows 2000 on an accessible machine with screen 
reader (bit of software that talks, basically).  My intent, as I am 
totally blind and so cannot install FreeBSD directly from keyboard and 
screen on the laptop, was to get an install full enough done over the 
serial console that would include means that would allow me to get remote 
access to the box over the network (TelnetD/SSHD, etc) from the Windows 
machine, from whence the full power of FreeBSD could (hopefully) be 
enjoyed (this is to act as my services box), perhaps by installing 
screen/BRLTTY or YASR or other accessibility aid I can free the real 
console.  I had to spend money on a network card (PCMCIA) so Linux would 
work, but my old card is listed as working with FreeBSD (and it certainly 
doesn't work with Linux), plus FreeBSD is just more Me anyway and better 
for the job ... so I'd *really* like to run it.

Trouble is, if I follow these steps:

1.  Set up HyperTerminal, Com1 at 9600, no parity, 8 data bits, 1 stop 
bit, no hardware control.

2.  Put kern.flp from FreeBSD 5.2 RC2 in floppy drive.  Boot up until I 
hear the initial bootstrap start (what gets displayed there, BTW, and what 
is this prompt asking me for?  What is this bootstrap, the bootloader?), 
then type -h and press enter.

3.  Listen to a whole lot of messages come from the console running 
Hyperterminal.  Insert mfsroot, press enter on terminal, as expected it 
goes on.

4.  Type 1 for ANSI, press enter.  Least graphics/7-bit ASCII which is 
great.  Only thing I can't see is highlighting, but that's alright because 
initial letters work in menus.

5.  Press N, gets me the main menu.

Now, as soon as I press down arrow cursor, the Do you really want to 
exit dialog pops up.  This stopped becoming a problem when Standard Jis 
was selected as input from terminal input translation, but it doesn't look 
like the cursor keys are behaving.  Also in the usage and keymap 
selections, I couldn't use cursors or pageup/down, nothing seemed to move. 
 I don't believe my cursors are working at all, or properly.  I've tried a 
multitude of combinations of terminal types from the initial selection 
(the 1-5 prompt), and selections in Hyperterminal to match.  Nothing. :-(

I'll try testing this on earlier versions, going back to 4.9, where I have 
a nasty suspicion from what I've read somewhere that it will, in fact, 
work there.  It does without saying though that I would like to use the 
5.2 release, because of its nice features (for me the notable GCC 3, for 
starters).

Can *anyone* who might have *any* answer (apart from RTFM), please let me 
know?  (I'm not on list, so if you could CC me when you reply to list or 
vice versa - thanks)

Your help much appreciated!

Cheers,
Sabahattin
- -- 
Thought for the day:
Intuition (n): an uncanny sixth sense which tells people 
that they are right, whether they are or not.

Latest PGP Public key blocks?  Send any mail to:
[EMAIL PROTECTED]

Sabahattin Gucukoglu
Phone: +44 (0)20 7,502-1615
Mobile: +44 (0)7986 053399
http://www.sabahattin-gucukoglu.com/
Email/MSN: [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: PGP 8.0 -- QDPGP 2.70 
Comment: Previous key for [EMAIL PROTECTED] revoked due to invalidated primary 
address.

iQA/AwUBP/wKBSNEOmEWtR2TEQI7OQCgyxj+fDCvtM+VQaj58/+8US0305UAoL8Q
U02RgBf1OoFfl+LcM2IfL5cg
=Qnp3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install With Serial Console Troubled Using Hyperterminal (FreeBSD 5.2 RC2 I386)

2004-01-07 Thread Sabahattin Gucukoglu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7 Jan 2004 at 13:30, I spoke, thus:

[...]
 I'll try testing this on earlier versions, going back to 4.9, where I
 have a nasty suspicion from what I've read somewhere that it will, in
 fact, work there.  It does without saying though that I would like to
 use the 5.2 release, because of its nice features (for me the notable
 GCC 3, for starters). 

I've now done this, and - behold - it all works fine (cursors, delete key 
if you press it as backspace, pageup/pagedn) but *before* sysinstall - 
afterward, inside sysinstall, if I select the ANSI terminal option (1), it 
reverts to its previous behaviour.  It is worth noting, though, that 
hyperTerminal was set up as an ANSI terminal during the hole time!

Does this help?  Any ideas with this extra info?

Cheers,
Sabahattin
- -- 
Thought for the day:
Book (n): a utensil used to pass time while waiting
for the TV repairman.

Latest PGP Public key blocks?  Send any mail to:
[EMAIL PROTECTED]

Sabahattin Gucukoglu
Phone: +44 (0)20 7,502-1615
Mobile: +44 (0)7986 053399
http://www.sabahattin-gucukoglu.com/
Email/MSN: [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: PGP 8.0 -- QDPGP 2.70 
Comment: Previous key for [EMAIL PROTECTED] revoked due to invalidated primary 
address.

iQA/AwUBP/wgFiNEOmEWtR2TEQILEwCgoCT2YqeJ7XlHhga5qaSvVGQq9cMAn2X+
2Q2C/BcKCihsPCVO1bOQUhuT
=YesH
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]