Greetings... I am still at the point where mbuni activates the pppd, the connection "seems" to be successful but no data is sent nor received. >> Set 23 09:28:20 ubuntu-jeos pppd[7164]: Sent 0 bytes, received 0 bytes.
All seems to point to some error on the pppd connection indeed, and I would like to ask if you could post a example configuration of a pppd connection to a MMSC Operator APN. Below I am posting my own configuration, data gathered from the operator, and log connection for ppp0 interface. Thanks in advance Nuno Freitas >>>>Part of File /var/log/messages Set 23 09:25:06 ubuntu-jeos pppd[7164]: pppd 2.4.4 started by root, uid 0 Set 23 09:25:08 ubuntu-jeos pppd[7164]: Serial connection established. Set 23 09:25:08 ubuntu-jeos pppd[7164]: Using interface ppp0 Set 23 09:25:08 ubuntu-jeos pppd[7164]: Connect: ppp0 <--> /dev/ttyS0 Set 23 09:25:08 ubuntu-jeos pppd[7164]: CHAP authentication succeeded Set 23 09:25:08 ubuntu-jeos pppd[7164]: CHAP authentication succeeded Set 23 09:25:09 ubuntu-jeos pppd[7164]: local IP address 10.11.135.250 Set 23 09:25:09 ubuntu-jeos pppd[7164]: remote IP address 192.168.254.254 Set 23 09:28:20 ubuntu-jeos pppd[7164]: Terminating on signal 15 Set 23 09:28:20 ubuntu-jeos pppd[7164]: Connect time 3.2 minutes. Set 23 09:28:20 ubuntu-jeos pppd[7164]: Sent 0 bytes, received 0 bytes. Set 23 09:28:20 ubuntu-jeos pppd[7164]: Connection terminated. Set 23 09:28:20 ubuntu-jeos pppd[7164]: Exit. >>>>Operator Data APN=mmsc.tmn.pt Username=tmn Password=tmnnet WAPGateway=10.111.2.16 MMSURL=http://mmsc/ Proxy=10.111.2.16 ProxyPort = 8080 >>>>Part of File mmsbox.conf custom-settings = "smsc-on=lynx -dump 'http://localhost:13001/start-smsc?password=pppp&smsc=mtx-h15';smsc-off=lynx -dump 'http://localhost:13001/stop-smsc?password=pppp&smsc=mtx-h15';gprs-on=pppd call gprs;gprs-pid=cat /var/run/ppp0.pid|head -1;port=8181;mmsc-url=http://mmsc;proxy=10.111.2.16:8080;msisdn=0035196fffff f" >>>>File /etc/ppp/chap-secrets # Secrets for authentication using CHAP # client server secret IP addresses tmn * tmnnet >>>>File etc/ppp/pap-secrets tmn * tmnnet >>>>File /etc/ppp/peers/gprs /dev/ttyS0 115200 connect 'chat -f /home/XXXX/ppp/chat/start-gprs' defaultroute usepeerdns name tmn >>>>File - /home/XXXX/ppp/chat/start-gprs ABORT 'BUSY' ABORT 'NO CARRIER' ABORT 'ERROR' '' AT OK AT+CGDCONT=1,"IP","mmsc.tmn.pt" OK ATDT*99***1# -----Original Message----- From: users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] On Behalf Of Paul Bagyenda Sent: terça-feira, 22 de Setembro de 2009 04:42 To: users@mbuni.org Subject: Re: [Users] Kannel + mbuni + gprs modem It may be that you are using the wrong GPRS APN, or that your operator has a proxy that must be used to fetch the content. In that case, you must add a proxy=host:port to the custom settings. This module is still a little dodgy, but should improve with time :) 2009/9/22 Nuno Freitas <nuno.frei...@nabiasolutions.com>: > After a few search I found the package libcurl4-gnutls-dev and after > recompiling I was able to proceed. That led me a bit further on the mm1 MMS > reception but still the following issue: > > > > The problem now: > > It seems that after receiving the wap-push, mbuni gets it, kannel is stopped > correctly by mbuni and the pppd connection is established. *But* after a > while I get a Time out error > >>> 2009-08-26 11:31:28 [29005] [2] DEBUG: Timeout for fd:55 appeares. > > > > And the service complaints that it could fetch the mms from the operator > >>> 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:626 <fetch_content> >>> [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host > > > > Any clues on how to work around this issue? > > > > Thanks in advance > > Nuno Freitas > > > > > > Log details (mmsbox.log) > > … > > 2009-08-26 11:30:28 [29005] [4] DEBUG: Octet string dump ends. > > 2009-08-26 11:30:28 [29005] [4] DEBUG: End of dump. > > 2009-08-26 11:30:28 [29005] [4] DEBUG: Dumping MMS message body (not > multipart) [0 parts] --> > > 2009-08-26 11:30:28 [29005] [4] DEBUG: HTTP: Resetting HTTPClient for > `127.0.0.1'. > > 2009-08-26 11:30:38 [29005] [5] INFO: mmsbox_mm1.c:377 <handle_mm1> > [mmsbox-mm1] [n/a] start_gprs returned PID: 29031 > > 2009-08-26 11:31:28 [29005] [2] DEBUG: Timeout for fd:55 appeares. > > 2009-08-26 11:31:28 [29005] [2] DEBUG: HTTP: Destroying HTTPClient area > 0x816c028. > > 2009-08-26 11:31:28 [29005] [2] DEBUG: HTTP: Destroying HTTPClient for > `127.0.0.1'. > > 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:626 <fetch_content> > [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host > > 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:399 <handle_mm1> > [mmsbox-mm1] [n/a] failed to fetch mms from URL: > http://10.251.8.17/mms/wapenc?location=35196ffffff_hhqi-020202&rid=154! > > 2009-08-26 11:33:47 [29005] [5] INFO: mmsbox_mm1.c:522 <handle_mm1> > [mmsbox-mm1] [n/a] GPRS turned off returned: 0 > > 2009-08-26 11:33:54 [29005] [5] INFO: mmsbox_mm1.c:537 <handle_mm1> > [mmsbox-mm1] [n/a] SMSC turned on > > /end details > > > > My custom settings are bellow… My full setup is on previous threads but if > you think necessary I will repost everything. > > > > custom-settings = "smsc-on=lynx -dump > 'http://localhost:13001/start-smsc?password=xxxx&smsc=mtx-h15';smsc-off=lynx > -dump > 'http://localhost:13001/stop-smsc?password=xxxx&smsc=mtx-h15';gprs-on=pppd > call gprs;gprs-pid=cat /var/run/ppp0.pid|head > -1;port=8181;mmsc-url=http://mmsc;proxy=10.111.2.16;msisdn=00ffffffff" > > > > _______________________________________________ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users