Sponsored Content
Special Forums Cybersecurity J need help to make callback by Modem (AIX) Post 1035 by Neo on Monday 5th of February 2001 02:40:35 PM
Old 02-05-2001
As I recall, callback features on modems are generally features in the modem and not in the OS. So, if your modem is callback capable, then you set this up using modem commands. This is the only way I have set up call back in modems, BTW. This is also more secure. You don't want the OS involved in callback if you can do it another way. In other words, it is good to make the modem the gate vs. the OS. So, I've only done this with embedded modem commands.

Perhaps others have done this in with platform scripts?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modem - Test /dev/modem

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

2. AIX

Problem MAKE cc: not found on AIX 5.3 please help me...

Hi guys, I am trying to install Big Brother monitoring on my box p570 AIX5.3ML2. But the after the installation you must run a make and it is failed see below the message: /home/bb/bb1.9h-btf/src/ # make Making aix makefile BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC... (1 Reply)
Discussion started by: touny
1 Replies

3. AIX

GSM Modem (Wavecom M1306B) on AIX 5.3

Hi, I'm developing a Java Application which is able send out SMS Right now, this application needs to be deployed into AIX 5.3 Previously I was using RXTX Serial Comm for Sun Solaris, RH Linux and Win2k When it comes to AIX, I'd discovered not much info can be found in the web Anyhow,... (2 Replies)
Discussion started by: darontan
2 Replies

4. UNIX for Advanced & Expert Users

GSM Modem (Wavecom M1306B) on AIX 5.3

Hi, I'm developing a Java Application which is able send out SMS Right now, this application needs to be deployed into AIX 5.3 Previously I was using RXTX Serial Comm for Sun Solaris, RH Linux and Win2k When it comes to AIX, I'd discovered not much info can be found in the web Anyhow,... (2 Replies)
Discussion started by: darontan
2 Replies

5. IP Networking

Connect to RAS callback server: route problem

I'm trying to use my Gentoo Linux home workstation for connecting to a Windows RAS callback server through analogic telephone line (PSTN). I'm using pppd and successfully configured pppd's options and chat files, both for the outgoing call and for receiving the incoming callback. All seems going... (20 Replies)
Discussion started by: robotronic
20 Replies

6. UNIX for Advanced & Expert Users

Looking for resource on setting up history callback for shells

CSH, BASH, KSH, TCSH... They're all different, and I want to know how to setup automatic history for each of them? I always use KSH myself and use ctrl-k to bringup my history. It also allows me to search my history and has vi editing. I want to be able to do the same with other shells. I... (0 Replies)
Discussion started by: srhadden
0 Replies

7. AIX

Does anyone know the version of make on AIX 5.1 & 5.3?

Could you tell me the version of default make on AIX 5.1 & 5.3? (2 Replies)
Discussion started by: redraiment
2 Replies

8. AIX

gnu make fir AIX 5.3 and gcc 3.3.2

Hi all i had installed gcc version 3.3.2 on my AIX 5.3 machine. which make utility i have to instal so it will fit the gcc version tnx skfn (2 Replies)
Discussion started by: skfn1203
2 Replies

9. UNIX for Dummies Questions & Answers

In AIX, what is the difference between installp and make install?

I've used installp to install packages but when is it ideal to use make install? Havent had the opportunity to use this yet. (2 Replies)
Discussion started by: NycUnxer
2 Replies

10. AIX

What is the purpose of /aha fs in AIX. how we can make use of this feature ?

Hi, We've upgraded the AIX few weeks ago. Now i see a new filesystem. Can you please give some info about this? How we can make use of this fs? Please provide me any appropriate links. />df -g /aha Filesystem GB blocks Free %Used Iused %Iused Mounted on /aha -... (3 Replies)
Discussion started by: System Admin 77
3 Replies
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)
All times are GMT -4. The time now is 09:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy