I apologize. My problem is actually for a Sun station (running Solaris
7), but I was hoping someone could help. I have a network camera that I
am trying to transfer pictures from. Here is a screen shot of the
negotiation.
--------- snip -------
(/home/u4ri9jjg/test/) C-Kermit>dial 4728
Trying: 4728...
Device: /dev/ttya, modem: usrobotics, speed: 19200
Dial timeout: 70 seconds
To cancel: type your interrupt character (normally Ctrl-C).
Call complete: "CONNECT 19200/ARQ/V34/LAPM/V42BIS".
Connecting to /dev/ttya, speed 19200.
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.
----------------------------------------------------
Welcome!
You are connected to the host shell of your Axis Camera Server.
Try 'help' for a list of available commands, or
just 'sz fullsize.jpg' to download an image.
login: root
Password: *******
Root access granted.
$ sz fullsize.jpg
Zmodem sending, control-x to abort.
**B0
----------------------------------------------------
rz ready. Type "sz file ..." to your modem program
**B010000012f4ced
---------------------snip-------------------
If you follow what is happening above you see that I am able to connect
to the camera interactivley. But as you can see the xterm locks up at
this point!!!
I have a .kermrc file that looks like:
define rz !rz < /dev/ttyS3 > /dev/ttyS3
define sz !sz \%0 > /dev/ttyS3 < /dev/ttyS3
set line /dev/ttya
set speed 19200
set modem type usrobotics
set protocol zmodem
conn
My first crack at a kermit script gives this for results:
102 camsun(u4ri9jjg):/home/u4ri9jjg/test > kermit <ker1.src
Connecting to /dev/ttya, speed 19200.
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.
?Carrier required but not detected.
***********************************
Hint: To CONNECT to a serial device that
is not presenting the Carrier Detect signal,
first tell C-Kermit to:
SET CARRIER-WATCH OFF
***********************************
?No keywords match - transact.log
Kermit command error in background execution
Closing /dev/ttya...OK
The script looks like:
log transactions
log session
write transact.log \v(date) Run from \v(dir) at \v(time)\13\10
write session.log \v(date) Run from \v(dir) at \v(time)\13\10
:start
;set take echo on ; enable trace output of this script
set line /dev/ttya
set speed 19200
set modem type usrobotics
set protocol zmodem
dial 4728
if failure goto quit
set count 7
output {root}
pause 1
output {kelseym}
pause 2
rz
output {sz fullsize.jpg}
:quit
hangup ; hang up the modem link
close all
exit
Any Help ideas? Thanks all.
------------
R. Haehnel
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs