08-15-2003
Ok, what I'm trying to do is to interact with the Orange SMS dialup gateway.
I can get the minicom app to dial the number and use hte expect statement to confirm it sees the welcome page, but here the problem starts.
The script then needs to send an 's' without CR wait for a repsonse then send a mobile number (with CR) and wait and finally send the message (with CR).
Anyone with any minicom scripting got any ideas how to do this ?
Thanx,
I
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello. i'm attempting to use minicom in linux, but i'm having some difficulties. When i type in "minicom", the application opens up. It says 'starting minicom/finding modem'(something like that). However, once it actually starts, I can't do anything. No matter what I type in, it doesn't work. ... (2 Replies)
Discussion started by: kickboxer
2 Replies
2. Linux
I am testing for serial comm..........
I got suggestion of minicom....
but when i fire minicom...
then i get the following error...
minicom
minicom: WARNING: configuration file not found, using defaults
Device /dev/modem access failed: No such file or directory.
I am using fedora 6 ,... (3 Replies)
Discussion started by: arunchaudhary19
3 Replies
3. Shell Programming and Scripting
Hi,
I am new to use minicom. I want script to run on minicom with username and password as automated.(Expect). please could anyone suggest the sample code for it.
Thanks in advance (2 Replies)
Discussion started by: vanid
2 Replies
4. Shell Programming and Scripting
Hi,
I am new to using minicom. I want how to write a expect script for minicom login? I wrote a code but its not acting what iam expecting. here I have my code:
#!/usr/bin/expect
set fd
fconfigure $fd
spawn -open $fd
spawn minicom
expect “enter:”
send "\n"
send "\n"
... (3 Replies)
Discussion started by: vanid
3 Replies
5. Shell Programming and Scripting
Hi all,
I have some trouble getting stty to talk to some serial/usb converter.
Getting minicom to work was however quite simple after I entered the following settings in addition to its standard-setup:
pu port /dev/ttyUSB0
pu baudrate 19200
pu bits 8
pu... (3 Replies)
Discussion started by: pa-trick
3 Replies
6. Shell Programming and Scripting
This is what I've tried:
#!/bin/sh
send sh
send showifs
send exit
! killall minicom
My problem is that for some reason when I do this it doesn't give me the results of the prior commands sent like showifs
So I suspect my syntax is wrong. (1 Reply)
Discussion started by: uradunce
1 Replies
7. Shell Programming and Scripting
Hi all,
i must do a little script that send AT command at ttyUSB3..
for example:
Start Minicom:
Set serial port ttyUSB3
AT+CREG?
if response != OK then do something
...other AT command (open a socket tcp/ip with at comman)
Send a file .txt for example.
exit minicom.
I saw on the... (49 Replies)
Discussion started by: enaud
49 Replies
8. Shell Programming and Scripting
I'm a fairly new user to Linux based systems and am still a little uncomfortable with using the command interface. I'm trying to get my feet wet but have unfortunately hit a wall and am actually not even sure what I am trying to accomplish is at all possible.
Basically, I am trying to use a... (0 Replies)
Discussion started by: nrdk00
0 Replies
9. SCO
hello is there a copy of minicom or equivalent for unixware 7?
thanks (3 Replies)
Discussion started by: deus-programmer
3 Replies
10. UNIX for Dummies Questions & Answers
Hey All,
I am trying to find something similar to minicom, but it needs the ability to be ran during a remote dialup session on the remote
device's side.
If I dial into the remote server (*using minicom) and then try to run minicom on the remote server I get the following:
# minicom... (20 Replies)
Discussion started by: mrm5102
20 Replies
LEARN ABOUT REDHAT
ascii-xfr
ASCII-XFR(1) Linux Users Manual ASCII-XFR(1)
NAME
ascii-xfr - upload/download files using the ASCII protocol
SYNOPSIS
ascii-xfr -s|-r [-ednv] [-l linedelay] [-c characterdelay] filename
DESCRIPTION
Ascii-xfr Transfers files in ASCII mode. This means no flow control, no checksumming and no file-name negotiation. It should only be used
if the remote system doesn't understand anything else.
The ASCII protocol transfers files line-by-line. The EOL (End-Of-Line) character is transmitted as CRLF. When receiving, the CR character
is stripped from the incoming file. The Control-Z (ASCII 26) character signals End-Of-File, if option -e is specified (unless you change
it to Cotrol-D (ASCII 4) with -d).
Ascii-xfr reads from stdin when receiving, and sends data on stdout when sending. Some form of input or output redirection to the the modem
device is thus needed when downloading or uploading, respectively.
OPTIONS
-s Send a file.
-r Receive a file. One of -s or -r must be present.
-e Send the End-Of-File character (Control-Z, ASCII 26 by default) when uploading has finished.
-d Use the Control-D (ASCII 4) as End-Of-File character.
-n Do not translate CR to CRLF and vice versa.
-v Verbose: show tranfer statistics on the stderr output.
-l milliseconds
When transmitting, pause for this delay after each line.
-c milliseconds
When transmitting, pause for this delay after each character.
file Name of the file to send or receive. When receiving, any existing file by this name will be truncated.
USAGE WITH MINICOM
If you want to call this program from minicom(1), start minicom and go to the Options menu. Select File transfer protocols. Add the fol-
lowing lines, for example as protocols I and J.
I Ascii /usr/bin/ascii-xfr -sv Y U N Y
J Ascii /usr/bin/ascii-xfr -rv Y D N Y
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
Jukka Lahtinen, walker@clinet.fi
SEE ALSO
minicom(1)
$Date: 2000/11/17 15:20:28 $ ASCII-XFR(1)