Alguien ha podido llegar a configurar el callback, utilize este tutorial
http://stilius.net/callback_en.php para el callback emplee esto...
sacado de un tutorial parecido..
(El Server corre sobre Debian Etch yo uso Ubuntu 8.10)
Configuring callback
Once the dialin server is ready, configuring callback is quite easy
Here is what I did.
1) Create a new user named back.
2) Create an empty file named callback.conf in /ete/mgetty/ . (You can
add init strings for your modem in this file if needed. But generally an
empty file will do)
3) Add the following line to /ete/mgetty/login.config.
back - - /usr/sbin/callback -S 2561
The number on the above line after -S is the number to be called back.
Change it to the phone number attached to your client.
Linux
Configuring Linux client is little more trickier. Here is what I did on
my Debian machine running kernel 2.4.17
1) Create /etc/options file with following content
lock
defaultroute
noipdefault
modem
115200
crtscts
debug
passive
asyncmap 0
2) Create a file called pppcalback in /etc/ppp/peers/ with following
content
ttyS1 19200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat-callback'
noauth
3) Create a file called /etc/ppp/chat-callback with following content
ABORT BUSY
ABORT VOICE
ABORT "NO DIALTONE"
ABORT "NO ANSWER"
"" ATZ
OK ATDT2562 # Telephone number of server
CONNECT \d\d
ogin: \q\dback
TIMEOUT 90
RING AT&C0S0=1
ogin: \q\dpppuser
assword: \q\dpasswordforppuser
Properly change the lines above to reflect login names and passwords for
the accounts you have created.(Also refer to your modem's documentation
for necessary init strings. May be you will have to replace ATZ with
some thing like AT&FX2)
4) Create a script called /usr/bin/pppcall with following contents
#!/bin/bash
/usr/sbin/pppd -detach call pppcall &
Make this script executable
Now you can dial the server by calling the script pppcall
Al final me da este error y no me logro conectar
Mar 15 14:14:30 desktop pppd[7203]: pppd 2.4.4 started by root, uid 0
Mar 15 14:14:31 desktop chat[7205]: abort on (BUSY)
Mar 15 14:14:31 desktop chat[7205]: abort on (VOICE)
Mar 15 14:14:31 desktop chat[7205]: abort on (NO DIALTONE)
Mar 15 14:14:31 desktop chat[7205]: abort on (NO ANSWER)
Mar 15 14:14:31 desktop chat[7205]: send (ATZ^M)
Mar 15 14:14:31 desktop chat[7205]: expect (OK)
Mar 15 14:14:31 desktop chat[7205]: ATZ^M^M
Mar 15 14:14:31 desktop chat[7205]: OK
Mar 15 14:14:31 desktop chat[7205]: -- got it
Mar 15 14:14:31 desktop chat[7205]: send (ATDT204922^M)
Mar 15 14:14:31 desktop chat[7205]: expect (CONNECT)
Mar 15 14:14:31 desktop chat[7205]: ^M
Mar 15 14:14:31 desktop chat[7205]: ATDT204922^M^M
Mar 15 14:14:57 desktop chat[7205]: CONNECT
Mar 15 14:14:57 desktop chat[7205]: -- got it
Mar 15 14:14:57 desktop chat[7205]: send (\d\d^M)
Mar 15 14:14:59 desktop chat[7205]: expect (ogin:)
Mar 15 14:14:59 desktop chat[7205]: 33600^M
Mar 15 14:14:59 desktop chat[7205]: ^MDebian GNU/Linux ttyS0 38400 ()
Mar 15 14:14:59 desktop chat[7205]: ^M**EMSI_REQA77E^M^Q
^M^M
Mar 15 14:14:59 desktop chat[7205]: mail login:
Mar 15 14:14:59 desktop chat[7205]: -- got it
Mar 15 14:14:59 desktop chat[7205]: send (??????)
Mar 15 14:15:00 desktop chat[7205]: timeout set to 90 seconds
Mar 15 14:15:00 desktop chat[7205]: expect (RING)
Mar 15 14:15:00 desktop chat[7205]: ^M
Mar 15 14:15:00 desktop chat[7205]: ^MDebian GNU/Linux ttyS0 38400 ()
Mar 15 14:15:00 desktop chat[7205]: ^M**EMSI_REQA77E^M^Q
^M^M
Mar 15 14:15:01 desktop chat[7205]: mail login: back^M
Mar 15 14:16:01 desktop chat[7205]: Password: ^M
Mar 15 14:16:01 desktop chat[7205]: Login timed out after 60 seconds.^M
Mar 15 14:16:01 desktop chat[7205]: NO CARRIER^M
Mar 15 14:16:30 desktop chat[7205]: alarm
Mar 15 14:16:30 desktop chat[7205]: Failed
Mar 15 14:16:31 desktop pppd[7203]: Exit.
Que estara mal... he pasado el domingo ropiendome la cabeza...
agradeceria su ayuda...
gracias de antemano a todos
--
#######################################
Ing. Aliens Capote Zumaquero
Especialista Control Interno
EMAE - División Villa Clara
---------------------------------------
nac: [email protected]
gmail: [email protected]
#######################################
_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l