Hi to all, I am trying to communicate with my Nokia mobile phone with the kermit command and placed the following commands: linux# kermit C-Kermit 6.0.192, 6 Sep 96, for Linux Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New York. Default file-transfer mode is BINARY Type ? or HELP for help. C-Kermit>set line /dev/ttyS3 C-Kermit>set carrier-watch off C-Kermit>set speed 115200 /dev/ttyS3, 115200 bps C-Kermit>c Connecting to /dev/ttyS3, speed 115200. The escape character is Ctrl-\ (ASCII 28, FS) Type the escape character followed by C to get back, or followed by ? to see other options. And it hang . I could not put any command after and no response was seen. The only way to leave the process was killing it! What that means? The cable line is not well? The mobile phone does not responds ? Or there is something with the linux configuration? Thanks to all in advance Joao Reis
On Wed, 2004-01-28 at 07:59, João Reis wrote:
Hi to all,
I am trying to communicate with my Nokia mobile phone with the kermit command and placed the following commands:
linux# kermit C-Kermit 6.0.192, 6 Sep 96, for Linux Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New York. Default file-transfer mode is BINARY Type ? or HELP for help. C-Kermit>set line /dev/ttyS3 C-Kermit>set carrier-watch off C-Kermit>set speed 115200 /dev/ttyS3, 115200 bps C-Kermit>c Connecting to /dev/ttyS3, speed 115200. The escape character is Ctrl-\ (ASCII 28, FS) Type the escape character followed by C to get back, or followed by ? to see other options.
And it hang . I could not put any command after and no response was seen. The only way to leave the process was killing it!
What that means? The cable line is not well? The mobile phone does not responds ? Or there is something with the linux configuration?
Thanks to all in advance
Joao Reis
Are you sure in is on /dev/ttyS3, that would be the forth serial port. Have you tried the other serial ports ttyS2, ttyS1, ttyS0? -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
Sorry about my debug. set line /dev/ttyS3 is not right. It is set line /dev/ttyS0 Kenneth Schneider wrote:
On Wed, 2004-01-28 at 07:59, João Reis wrote:
Hi to all,
I am trying to communicate with my Nokia mobile phone with the kermit command and placed the following commands:
linux# kermit C-Kermit 6.0.192, 6 Sep 96, for Linux Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New York. Default file-transfer mode is BINARY Type ? or HELP for help. C-Kermit>set line /dev/ttyS3 C-Kermit>set carrier-watch off C-Kermit>set speed 115200 /dev/ttyS3, 115200 bps C-Kermit>c Connecting to /dev/ttyS3, speed 115200. The escape character is Ctrl-\ (ASCII 28, FS) Type the escape character followed by C to get back, or followed by ? to see other options.
And it hang . I could not put any command after and no response was seen. The only way to leave the process was killing it!
What that means? The cable line is not well? The mobile phone does not responds ? Or there is something with the linux configuration?
Thanks to all in advance
Joao Reis
Are you sure in is on /dev/ttyS3, that would be the forth serial port. Have you tried the other serial ports ttyS2, ttyS1, ttyS0?
-- \|/ "Do or do not. There is no try" - Yoda \|/ |==============================================| | 2000Comp - Consultoria e Informática, Lda | | Tel: +351 22 941 99 32 | \|/ | Fax: +351 22 941 99 34 | \|/ O | www: http://www.2000comp.pt | O -|--| |--|- \| | João Reis | |/ / \ |==============================================| / \ ==========================================================
João Reis <joao.reis@2000comp.pt> writes:
linux# kermit C-Kermit 6.0.192, 6 Sep 96, for Linux Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New York. Default file-transfer mode is BINARY Type ? or HELP for help. C-Kermit>set line /dev/ttyS3 C-Kermit>set carrier-watch off C-Kermit>set speed 115200 /dev/ttyS3, 115200 bps C-Kermit>c
I haven't used a serial line for a long time but if I remember it right, there are more parameters to be set, e.g. the parity, the number of stopbits, ... (/root/) C-Kermit>show communications Communications Parameters: Line: /dev/ttyS0, speed: 9600, mode: local, modem: generic Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: rts/cts, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off Dataset Ready (DSR): Off Clear To Send (CTS): Off Ring Indicator (RI): Off Data Terminal Ready (DTR): On Request To Send (RTS): On
Connecting to /dev/ttyS3, speed 115200. The escape character is Ctrl-\ (ASCII 28, FS) Type the escape character followed by C to get back, or followed by ? to see other options.
And it hang . I could not put any command after and no response was seen.
Did you use "Ctrl-\ C" as suggested above?
What that means? The cable line is not well? The mobile phone does not responds ?
Communication parameters had to be right in the past and it usually took some time to set them correctly. -- A.M.
participants (3)
-
Alexandr Malusek
-
João Reis
-
Kenneth Schneider