08-01-2008
How to send AT commands after getting into Kermit window?
We're using Kermit 8.0.209 in Linux environment. We're trying to invoke kermit from an application, send some AT commands and receive the responses from the End terminals like mobiles/modems. We access these deivces through serial ports.
For eg., to send a file we use command-line options like
/usr/bin/kermit -l ttyS0 -s filename
1) Is it possible to send AT commands in similar way? or
2) Is there any wat to send AT commands from the application to the device after giving /usr/bin/kermit -cl ttyS0 ? or
3) Should we use a completely different approach, (e.g.,shell scripts) ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Before I re-invent the wheel...
I have written an on-screen keyboard & handwriting input client in Java (spare me please, I get paid to write Java and it will take some time to get back up to speed in C & X11).
In order to concentrate on the other bits, I took advantage of a hack... (0 Replies)
Discussion started by: bcw
0 Replies
2. Shell Programming and Scripting
Hi,
I am an absolute beginner in Unix and I need to send a commands to a program
I have created a script that will let me login to the program, however, i cannot get the script to send commands to this program.
When the cript logs into the program, the display/ prompt is as follows:
1>... (1 Reply)
Discussion started by: the_m4ch1ne
1 Replies
3. Shell Programming and Scripting
Hi,
i want to create a script which should do the following:
1) ping the remote servers and email the hosts which are down
2) netstat on port x on 2 server and email the result too.
I want both results to be sent in the same email.
I have few ideas but i can't finish it.
Here... (4 Replies)
Discussion started by: varu0612
4 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to make an SSH into a SGSN node and collect some commands printouts.:confused:
I really don't know how this can be done.
I think it must be like this:
#!/bin/bash
ssh user@192.168.88.10
Then I must enter the password, but I don't know how to do it, I tried with:
echo... (3 Replies)
Discussion started by: nagomes
3 Replies
5. Cybersecurity
Dear friends
I'm looking for a solution to log all commands that users do in my RedHat box, and send it out to other remote server,
Is there any guide for that
Thanks
---------- Post updated at 04:20 AM ---------- Previous update was at 03:47 AM ----------
I can think of something else
I... (7 Replies)
Discussion started by: reaky
7 Replies
6. Shell Programming and Scripting
Hi there
I found the Command to send commands to other servers like:
sv01> ssh user@sv02 'ps -ef'
But I cant use Variables from a script i want to execute on another server like:
sv01> ssh user@sv02 'cd $SCRIPTHOME'
although the variable is set on sv01.
How can I run commands on sv02 with... (2 Replies)
Discussion started by: DarkSwiss
2 Replies
7. Shell Programming and Scripting
i want to write a script that automatically fills in a form and pushes a few buttons. can i do that with bash or something similar? (1 Reply)
Discussion started by: magiling
1 Replies
8. Linux
hey guys,
I've done some searching and other than winexe I haven't been able to find a way to send remote commands to a windows machine. The problem I get is with winexe whenever you send the process to the background in a script, I get the following error. :wall: Any help is appreciated!
... (0 Replies)
Discussion started by: terrell
0 Replies
9. Shell Programming and Scripting
Hi there,
I have a Debian server (192.168.1.1) connected through ethernet to a RS232 device servers (192.168.1.5) that is then connected through RS232 to a Video Projector.
The idea is that I want to send commands to the video projector (eg. turn on/off) via the device server.
According to... (4 Replies)
Discussion started by: chebarbudo
4 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
I've been working on something which requires a dialup USB Modem. I have been using minicom with success entering "AT Commands" directly into
the terminal window that shows after running the minicom command. I had already configured the modem through minicom and was able to... (2 Replies)
Discussion started by: mrm5102
2 Replies
This is a slightly lobotomized kermit. The help command, the
script facility, and the automatic dial support have been re-
moved. The ? and ESC commands still work, so there is still rea-
sonable built-in help. The only V7 kermit feature that does not
work is the ability to see whether there are input characters
waiting. This means that you will not be able to ask for status
during a file transfer (though this is not critical, because ker-
mit prints a dot every so often and other special characters
whenever there is an error or timeout). Start kermit, and then
type the following to open a 2400 baud session, for example:
(It is more convenient if you put these commands in .kermrc in
your home directory, so that they get done automatically whenever
you run kermit.) This will connect you to the modem or whatever
on the serial port. Now log into the other system. When you
want to transfer files, run kermit on the other system. To it,
type This puts its kermit into a sort of slave mode where it ex-
pects commands from the kermit running on your MINIX system. Now
come back to the command level on MINIX kermit, by typing the es-
cape character followed by c. (Kermit will tell you the current
escape character when you do the connect command.) At this point
you can issue various commands. Your kermit will coordinate
things with kermit on the other machine so that you only have to
type commands at one end. Common commands are
Filenames can include wildcards. By default, kermit works in a
system-independent, text mode. (In effect it assumes that the
whole world is MS-DOS and converts end of line and file names ac-
cordingly.) To send binary files, you will want to type on both
ends before starting any transfers. This disables CR LF to new-
line conversion. If both of your systems are some flavor of
UNIX, you might as well put this in .kermrc on both ends and run
in binary mode all the time. Also, if both systems are UNIX it
is recommended that you use on both ends. This causes it to keep
file names unchanged, rather than mapping to legal MS-DOS names.
Here is a typical .kermrc for use on
On the other end of the line, for example, the host at your local
computer center to which you want to transfer files, a typical
profile might be:
Kermit has many other options and features. For a pleasant and
highly readable description of it, see the following book:
Title: Kermit: A File Transfer Protocol
Author: Frank da Cruz
Publisher: Digital Press
Date: 1987
ISBN: 0-932376-88
For information about recent kermit developments, versions for
other systems, and so forth, please contact:
Christine M. Gianone
Manager, Kermit Development and Distribution
University Center for Computing Activities
Columbia University
612 West 115th Street
New York, N.Y. 10025
Over 400 versions of kermit are available, so it is likely there
is one for any computer your system might want to talk to. Co-
lumbia University also publishes a newsletter about kermit that
can be requested from the above address.