Re: How to connects to Linux machine via null-modem cable and cu command?

2006-10-11 Thread Daniel O'Connor
On Wednesday 11 October 2006 17:20, Oleg Dambaev wrote:
> > Two questions
> > 1) Is cuad0 the correct port? Have you tried cuad1?
> > 2) What baud rate are you using? (the -s flag)
>
> Good way to try *first*:
> 0. man stty
> 1. use tip instead cu

 I prefer cu - you just specify the baud rate and tty and connect :)
Of course if you aren't doing 8N1 it's a PITA but there you go.

If I need "fancy" stuff (eg local echo) then I just use minicom (as 
un-unixlike as it is)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpJwP8d6trq7.pgp
Description: PGP signature


Re: How to connects to Linux machine via null-modem cable and cu command?

2006-10-11 Thread Oleg Dambaev

Daniel O'Connor wrote:

On Wednesday 11 October 2006 13:15, Sun Zongjun-E5739C wrote:
 
  

I run the command on device running FreeBSD 6.1

Test# cu -l /dev/cuad0
Connected

There is no response on the FreeBSD except the "Connected" string.  Such
string can occur even there is no cable available.

What happens to cu command on FreeBSD?



Two questions
1) Is cuad0 the correct port? Have you tried cuad1?
2) What baud rate are you using? (the -s flag)

  


Good way to try *first*:
0. man stty
1. use tip instead cu


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


Re: How to connects to Linux machine via null-modem cable and cu command?

2006-10-11 Thread Daniel O'Connor
On Wednesday 11 October 2006 13:15, Sun Zongjun-E5739C wrote:
 
> I run the command on device running FreeBSD 6.1
>
> Test# cu -l /dev/cuad0
> Connected
>
> There is no response on the FreeBSD except the "Connected" string.  Such
> string can occur even there is no cable available.
>
> What happens to cu command on FreeBSD?

Two questions
1) Is cuad0 the correct port? Have you tried cuad1?
2) What baud rate are you using? (the -s flag)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpduxvEORjkC.pgp
Description: PGP signature


RE: How to connects to Linux machine via null-modem cable and cu command?

2006-10-10 Thread Sun Zongjun-E5739C
 
Hi, Koshy

Thanks for your timely reply. It is my fault configuration on the linux 
machine. 

I use linux instead of vt100 (vt102). 
S1:23:respawn: /sbin/agetty -L ttyS0 115200, 9600 linux

Windows can work with this configuration, but cu and FreeBSD can't.

I replaced it with vt100
S1:23:respawn:/sbin/agetty -L ttyS0 115200, 9600 vt100

That is OK.


Thanks a lot


Best Regards
Sun Zongjun

-Original Message-
From: Joseph Koshy [mailto:[EMAIL PROTECTED] 
Sent: 2006年10月11日 12:02
To: Sun Zongjun-E5739C
Subject: Re: How to connects to Linux machine via null-modem cable and cu 
command?

On 10/11/06, Sun Zongjun-E5739C <[EMAIL PROTECTED]> wrote:
> HI, all
>
> I am a newbie to FreeBSD. I want to connect one my pc running FreeBSD
> 6.1 to another PC running Fedora core 5 via a null modem cable.
>
> I can login the PC running the Fedora Core 5 from PC running Windows 
> via one NULL modem cable.
>
> When I connect the two serial ports of two pc, one running FreeBSD6.1 
> and the other is FC5 which acts a server.
>
> I run the command on device running FreeBSD 6.1
>
> Test# cu -l /dev/cuad0
> Connected
>
> There is no response on the FreeBSD except the "Connected" string.  
> Such string can occur even there is no cable available.

What happens when you hit 'Enter' a few times?

> What happens to cu command on FreeBSD?

One thing you could check is the expected baud-rate/parity/stop-bit settings at 
the server.

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"