06-25-2017
Thank you both for reply! Unfortunately, I am not quite sure how to use the exec command. It seems like that the tother method (<>) is quite useful, but I have no idea how can I write to the log continuously.
Quote:
I can't help but wonder why in this increasingly connected world someone would
want to do anything with a modem. What can you do using a modem that you can't
do using the internet?
The reason is simple – I am interested in these old devices, because it is not that hard to make them work and it is quite fun to explore the old times' networking.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone
I am having some real difficulties getting a dial in modem to work on one of my HP boxes. It's a mux modem on port 7 which I have set up at 9600 baud.
I can dial in, the handshakes are completed, but then it returns incoherent characters on the emulation screen. I think my dial in... (1 Reply)
Discussion started by: alwayslearningunix
1 Replies
2. UNIX for Advanced & Expert Users
I've spent enough time trying to put on work Lucent Winmodem in my armada M300 (compaq laptop) I use Mandrake 8.0 but as soon as i get connected
and prompmts appears modem shutsdown.
Does any one had a similar situation, solved it?
cheers (2 Replies)
Discussion started by: alex blanco
2 Replies
3. UNIX for Dummies Questions & Answers
Hi!
I have a little prob with dialing up to the internet... When I try connect, it says "Sorry, modem is busy"...
Specs:
Laptop
56K modem
Slackware 8.0
Kernel 2.4.5
Cheers;) (4 Replies)
Discussion started by: satan404
4 Replies
4. UNIX for Dummies Questions & Answers
Specs:
Dlink DFE-560EL external modem.
RedHat 7.1
How do you turn off the modem volume? I am getting annoyed of it beeping everytime I use it but there is no switch on the hardware to tune down the volume.
I have tried using minicom and use the following commands:
ATL0
ATM0
Next, I... (2 Replies)
Discussion started by: arz
2 Replies
5. UNIX for Dummies Questions & Answers
Pleaseee... Helpppp.... !!!
I am using SCO Open Server 5.05. Recently, i have upgraded the system which means transfer all apps and data to the new system. Everything work well except one thing. On my old system i have an external modem which to dial out. Now that i use the same modem on... (4 Replies)
Discussion started by: jackpotp
4 Replies
6. UNIX for Dummies Questions & Answers
I have got Suse 8.0 by using a modem (US Robotics 56K Faxmodem Ext).
During connection i got the error 16. I tried it under RedHat and Mandrake too.....same problem. What can i do ?
Thanx...a lot...
Logfile:
SuSE Meta pppd (smpppd), Version 0.73 on zuhause.
wwwoffle not is running ... (1 Reply)
Discussion started by: Pennywize
1 Replies
7. UNIX for Dummies Questions & Answers
Ok. I tried following the directions from some of the other threads, but I've hit a road block.
I have red hat 7.3 and I installed the hcf package:
hcfpcimodem-0.99lnxtbeta03042700k2.4.18_3-1rh.i386.rpm
It installed ok, no errors, but I still can't get linux to find my modem. I've tried... (2 Replies)
Discussion started by: lawadm1
2 Replies
8. Solaris
Hi all,
Is there any difference between a null modem cable or a modem cable ?
i assume that a null modem cable is a normal cable that i used from cpu serial ports to a modem for dialup.
please correct if i am wrong,
thks (2 Replies)
Discussion started by: waterbear
2 Replies
9. SCO
Hi, my first Sco question so go easy!
We have a customer who is on Sco v5.0.2. We are attempting to talk a consultant on site through how to configure the MODEM in scoadmin. Unfortunately the MODEM install instructions that we work from only work for v5.0.4 and assume that scoadmin has an option... (1 Reply)
Discussion started by: Ric.Hemsley
1 Replies
10. Solaris
hi folks,
i am looking for a analog modem to use it with a solaris9 sparc mashine. as far as i know, solaris communicates with the modem using AT-commands. so do i need a special modem for solaris or just a modem? i am open for everything. PCI-modem, seriell modem, usb modem. what are you using? i... (1 Reply)
Discussion started by: pressy
1 Replies
LEARN ABOUT DEBIAN
callback
callback(8) mgetty+callback manual callback(8)
NAME
callback - call a user back, presenting a login prompt
SYNOPSIS
callback [-x<debuglevel>] [-V] [-l<modemlines>] [-m<initstring>] [-s<speed>] [-d] [-S] [phone-number]
DESCRIPTION
Call the given phone number (if none is given on the command line, ask user for one), and if a CONNECT is established, hand over control to
mgetty(8) to present user with a login name prompt.
callback is used for various purposes:
* security: make sure your users are who they pretend to be by calling a well-known phone number.
* cost savings: make your company call you back.
callback can be called directly from the command line (but you must be "root" to do this, otherwise callback can't signal mgetty), or from
mgetty's "login.config". See the login.config file shipped with mgetty for an example.
OPTIONS
-x <debug level>
Use the given level of verbosity for logging - 0 means no logging, 5 is really noisy.
-V Print version number and quit.
-d Do not go into the background. This is helpful for debugging.
-l <modem lines>
Use the given modem lines. Multiple lines can be separated by ":", as with sendfax(8). Example: callback -l tty1a:tty2a
-m <init sequence>
Set the modem initialization sequence (as usual: expect send expect ...). This can do nearly everything, as long as it leaves the
modem command responses on (that is, no ATQ1 here!) and switches the modem to data mode (AT+FCLASS=0) if it is used in data/fax
mode.
-s <speed>
This is the bit rate that should be used for the machine-modem connection. Usually you'll set this via the "speed <nnnn>" option in
"callback.config".
-S Use the line where callback is started from for dialing out. Callback can make use of multiple modem lines, and with this options,
you can force it to use just one modem, the one where a call comes in.
CONFIG FILE
callback will read all its configuration at run-time from a file, usually called /etc/mgetty/callback.config. See the documentation in the
mgetty.info manual for details.
DIAGNOSTICS
In most cases, callback can't print any error messages to the console, because it must detach itself immediately from the terminal, in case
someone wants to be called back on the modem line he called in. So, nothing to print messages to...
Because of this, all callback errors are logged to a protocol file (the extent of the data written is controlled by the "-x" option), espe-
cially including the reason why a call was not made, or what exactly failed.
Just two messages are printed on stdout, and those are self-explaining, a call from a non-root user, and an invalid option.
INTERNALS
How does it work?
This is a bit tricky, because of the way init(8) handles the utmp(5) file. You can't just have any program ask the user for a login name,
and then start a "login shell", it won't work (this is for the same reason mgetty(8) has to be started from /etc/inittab).
So, mgetty has to do the "asking for login name". But I do not want to have all that dialout code in mgetty, bloating it even more.
The way it works is this: callback dials out on a modem device. It will only take a modem device that has a mgetty watching over it (!).
When the connection is established (CONNECT), callback will send a signal SIGUSR1 to mgetty, which, in turn, will send the same signal back
to signal "I got your signal". callback then exits, and mgetty takes over the existing connection, prompts the user for a login name, and
forks off /bin/login.
Conclusion: this will not work with mgetty versions before February 04, 1996 (no support for this signalling), and if it doesn't work for
you, please send me BOTH the mgetty and the callback log file, otherwise it's very hard to find the bugs.
BUGS
callback is "alpha" code, not very stable right now.
callback is fairly dumb concerning retries.
callback must be run as root.
Most of the documentation consists of "reading the source".
SEE ALSO
mgetty(8), ct(1)
AUTHOR
callback is Copyright (C) 1993-1996 by Gert Doering, <gert@greenie.muc.de>.
greenie 27 Oct 93 callback(8)