Settings are the following :

inittab :
S0:2345:respawn:/sbin/mgetty ttyS0 -x 6 -D /dev/ttyS0

/etc/mgetty+sendfax/login.config :
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server

/etc/mgetty+sendfax/mgetty.config
speed 38400

/etc/ppp/options.server
refuse-chap
require-pap
lock
modem
crtscts
passive
10.66.14.86:192.168.1.20
debug

/etc/ppp/pap-secrets
wapuser * wappswd 192.168.0.20

for the cell phone I have tried a 7110 with the following params

connection type continuous
connection security off
bearer data
dial up number (your phone number)
ip address (IP of host running bearerbox)
auth type normal
data call type analogue
data call speed 9600
username wapuser
password wappswd






                                                                                       
                                                
                      Ilari Mikkonen                                                   
                                                
                      <ile.mikkonen@iob        To:       [EMAIL PROTECTED]        
                                                
                      ox.com>                  cc:                                     
                                                
                      Sent by:                 Subject:  RE:using kannel with a n 
analog modem                                         
                      users-admin@kanne                                                
                                                
                      l.3glab.org                                                      
                                                
                                                                                       
                                                
                                                                                       
                                                
                      07/18/2002 01:15                                                 
                                                
                      PM                                                               
                                                
                                                                                       
                                                
                                                                                       
                                                



Would be nice to see your Nokia 6210 settings and what options you have for
ppp. You could check the logs that ppp creates..

ilari mikkonen

> Hi all
>
> I'm using kannel 1.2.0 as a wap gateway to test some code with cell
phones
> calling an analog modem. I have configure mgetty and ppp exactly as told
in
> the userguide. It seems the cell phone doesn't send correct signal to the
> modem, here is what I have in my mgetty log file :
>
> 07/17 17:09:17 yS0  mgetty: experimental test release 1.1.28-Jan10
> 07/17 17:09:17 yS0   mgetty.c compiled at Mar 28 2002, 19:25:08
> 07/17 17:09:17 yS0   user id: 0, parent pid: 1
> 07/17 17:09:17 yS0   reading configuration data for port 'ttyS0'
> 07/17 17:09:17 yS0   reading /etc/mgetty+sendfax/mgetty.config...
> 07/17 17:09:17 yS0   conf lib: read: 'debug 9'
> 07/17 17:09:17 yS0   conf lib: read: 'speed 38400'
> 07/17 17:09:17 yS0   conf lib: read: 'port ttyS0'
> 07/17 17:09:17 yS0   section: port ttyS0, **found**
> 07/17 17:09:17 yS0   conf lib: read: 'debug 9'
> 07/17 17:09:17 yS0   key: 'speed', type=0, flags=3, data=38400
> 07/17 17:09:17 yS0   key: 'switchbd', type=0, flags=1, data=0
> 07/17 17:09:17 yS0   key: 'direct', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'blocking', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'port-owner', type=1, flags=1, data=uucp
> 07/17 17:09:17 yS0   key: 'port-group', type=1, flags=1, data=uucp
> 07/17 17:09:17 yS0   key: 'port-mode', type=0, flags=1, data=432
> 07/17 17:09:17 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
> 07/17 17:09:17 yS0   key: 'toggle-dtr-waittime', type=0, flags=1,
data=500
> 07/17 17:09:17 yS0   key: 'need-dsr', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'data-only', type=3, flags=2, data=TRUE
> 07/17 17:09:17 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'modem-type', type=1, flags=1, data=auto
> 07/17 17:09:17 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK
> ATS0=0Q0&D3&C1 OK
> 07/17 17:09:17 yS0   key: 'force-init-chat', type=2, flags=1, data= \d
> \d\d\d+++\d\d\d
> \dATQ0V1H0 OK
> 07/17 17:09:17 yS0   key: 'post-init-chat', type=2, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'data-flow', type=4, flags=1, data=1
> 07/17 17:09:17 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
> 07/17 17:09:17 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
> 07/17 17:09:17 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
> 07/17 17:09:17 yS0   key: 'rings', type=0, flags=1, data=1
> 07/17 17:09:17 yS0   key: 'msn-list', type=2, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'cnd-program', type=1, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT
> \c
>
> 07/17 17:09:17 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
> 07/17 17:09:17 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'ringback', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'ringback-time', type=0, flags=1, data=30
> 07/17 17:09:17 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
> 07/17 17:09:17 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
> 07/17 17:09:17 yS0   key: 'prompt-waittime', type=0, flags=1, data=500
> 07/17 17:09:17 yS0   key: 'login-prompt', type=1, flags=1, data=@ login:
> 07/17 17:09:17 yS0   key: 'login-time', type=0, flags=1, data=240
> 07/17 17:09:17 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
> 07/17 17:09:17 yS0   key: 'login-conf-file', type=1, flags=1,
> data=login.config
> 07/17 17:09:17 yS0   key: 'fax-id', type=1, flags=1, data=49 115 xxxxxxxx
> 07/17 17:09:17 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
> 07/17 17:09:17 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
> 07/17 17:09:17 yS0   key: 'fax-server-file', type=1, flags=0, data
=(empty)
> 07/17 17:09:17 yS0   key: 'diskspace', type=0, flags=1, data=1024
> 07/17 17:09:17 yS0   key: 'notify', type=1, flags=1, data=faxadmin
> 07/17 17:09:17 yS0   key: 'fax-owner', type=1, flags=1, data=uucp
> 07/17 17:09:17 yS0   key: 'fax-group', type=1, flags=0, data=(empty)
> 07/17 17:09:17 yS0   key: 'fax-mode', type=0, flags=1, data=432
> 07/17 17:09:17 yS0   key: 'fax-spool-in', type=1, flags=1,
> data=/var/spool/fax/incoming:/tmp
> 07/17 17:09:17 yS0   key: 'debug', type=0, flags=2, data=9
> 07/17 17:09:17 yS0   key: 'statistics-chat', type=2, flags=0, data
=(empty)
> 07/17 17:09:17 yS0   key: 'statistics-file', type=1, flags=0, data
=(empty)
> 07/17 17:09:17 yS0   key: 'gettydefs', type=1, flags=1, data=n
> 07/17 17:09:17 yS0   key: 'term', type=1, flags=0, data=(empty)
> 07/17 17:09:17 yS0  check for lockfiles
> 07/17 17:09:17 yS0   checklock: stat failed, no file
> 07/17 17:09:17 yS0  locking the line
> 07/17 17:09:17 yS0   makelock(ttyS0) called
> 07/17 17:09:17 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
> 07/17 17:09:17 yS0   lock made
> 07/17 17:09:17 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
> 07/17 17:09:17 yS0  lowering DTR to reset Modem
> 07/17 17:09:18 yS0   tss: set speed to 38400 (017)
> 07/17 17:09:18 yS0   tio_set_flow_control( HARD )
> 07/17 17:09:18 yS0   waiting for line to clear (VTIME), read:
> 07/17 17:09:18 yS0  send: \dATQ0V1H0[0d]
> 07/17 17:09:18 yS0  waiting for ``OK''
> 07/17 17:09:18 yS0   got: [0d][0a]OK ** found **
> 07/17 17:09:19 yS0  send: ATS0=0Q0&D3&C1[0d]
> 07/17 17:09:19 yS0  waiting for ``OK''
> 07/17 17:09:19 yS0   got: [0d]
> 07/17 17:09:19 yS0    CND: OK[0a][0d][0a]OK ** found **
> 07/17 17:09:19 yS0   waiting for line to clear (VTIME), read: [0d][0a]
> 07/17 17:09:19 yS0   removing lock file
> 07/17 17:09:19 yS0  waiting...
> 07/17 17:14:27 yS0    select returned 1
> 07/17 17:14:27 yS0   checking lockfiles, locking the line
> 07/17 17:14:27 yS0   makelock(ttyS0) called
> 07/17 17:14:27 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
> 07/17 17:14:27 yS0   lock made
> 07/17 17:14:27 yS0  wfr: waiting for ``RING''
> 07/17 17:14:27 yS0   got: [0d][0a]RING[0d]
> 07/17 17:14:27 yS0    CND: RING
> 07/17 17:14:27 yS0   wfr: rc=0, drn=0
> 07/17 17:14:27 yS0    CND: check no: 'none'
> 07/17 17:14:27 yS0  send: ATA[0d]
> 07/17 17:14:27 yS0  waiting for ``CONNECT''
> 07/17 17:14:27 yS0   got: [0d]
> 07/17 17:14:34 yS0    CND: OK[0a]CONNECT ** found **
> 07/17 17:14:34 yS0  send:
> 07/17 17:14:34 yS0  waiting for ``_''
> 07/17 17:14:34 yS0   got:  9600/ARQ/V32/LAPM[0d]
> 07/17 17:14:34 yS0    CND: CONNECT 9600/ARQ/V32/LAPM
> 07/17 17:14:34 yS0    CND: found: 9600/ARQ/V32/LAPM[0a] ** found **
> 07/17 17:14:34 yS0   waiting for line to clear (VTIME), read:
> 07/17 17:14:34 yS0    looking for utmp entry... (my PID: 3113)
> 07/17 17:14:34 yS0   utmp + wtmp entry made
> 07/17 17:14:35 yS0   tio_set_flow_control( HARD )
> 07/17 17:14:35 yS0   print welcome banner (/etc/issue)
> 07/17 17:14:35 yS0   getlogname (AUTO_PPP),
>
read:[80]xxx[00][80][00]x[80]xx[00][80]xx[00][80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][00]xx[f8][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[00][80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][f8][f8]x[f8][f8][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[00][80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][80][f8][80][f8][f8][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[80][80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80]x[f8][f8][80][00][f8][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xxx[80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80]xx[80][f8][80][f8][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[80][80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][f8][f8]xx[80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[80][80]xx[80]xxxx

>
x[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][80][00]xx[80][f8][80]xxx[00][80][00]x[80]xx[00][80]xxxxx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80]x[f8]x[80][80][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xx[80]xxx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][00][00][00][80][80][f8][80]xxx[00][80][00]x[80]xx[00][80]xxx[80]xx[80]xxxxx[80][80]xx[00][80]xxxxx[00][80]xx[00][80]xx[80][80]xx[80]xx[80]xx[80]xx[80][f8][80][80][80][80][80][80][f8]

> 07/17 17:15:05 ##### failed dev=ttyS0, pid=3113, got signal 1, exiting
>
> 07/17 17:15:05 yS0   removing lock file
>
> I have test with a sagem 3046 and a nokia 6210
>
> Can someone tell me what's wrong ?
>
> Laurent
>
>
>
>
>
>








Reply via email to