Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-09-08 Thread Michel TOKO
Hi all,

Am trying to send MMS through MM1 using GPRS modem. Everything seems Ok but
still getting an error when sending the MMS.

Below is the MMSBOX log:

2010-09-07 19:12:50 [11712] [3] DEBUG: HTTP: Creating HTTPClient for
`xxx.xxx.xxx.xxx'.
2010-09-07 19:12:50 [11712] [3] DEBUG: HTTP: Created HTTPClient area
0x8c58820.
2010-09-07 19:12:50 [11712] [6] DEBUG: HTTP: Resetting HTTPClient for
`xxx.xxx.xxx.xxx'.
2010-09-07 19:13:50 [11712] [2] DEBUG: Timeout for fd:56 appeares.
2010-09-07 19:13:50 [11712] [2] DEBUG: HTTP: Destroying HTTPClient area
0x8c58820.
2010-09-07 19:13:50 [11712] [2] DEBUG: HTTP: Destroying HTTPClient for
`xxx.xxx.xxx.xxx'.
2010-09-07 19:15:49 [11712] [3] DEBUG: HTTP: Creating HTTPClient for
`xxx.xxx.xxx.xxx'.
2010-09-07 19:15:49 [11712] [3] DEBUG: HTTP: Created HTTPClient area
0x8c58788.
2010-09-07 19:15:49 [11712] [14] DEBUG: WSP: Mapping `text/plain', WSP 1.2
to 0x0003.
2010-09-07 19:15:49 [11712] [14] INFO: mmsbox.c:1366 make_and_queue_msg
[mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
[Mbuni-msg.8149.x1.12.51]: qf8149.1.x712.50
2010-09-07 19:15:49 [11712] [14] DEBUG: HTTP: Destroying HTTPClient area
0x8c58788.
2010-09-07 19:15:49 [11712] [14] DEBUG: HTTP: Destroying HTTPClient for
`xxx.xxx.xxx.xxx'.
2010-09-07 19:15:49 [11712] [14] INFO: mmsbox.c:1613 dispatch_sendmms_recv
[mmsbox] [n/a] MMSBox.mmssend: u=know1221, Queued [Accepted:
Mbuni-msg.8149.x1.12.51]
2010-09-07 19:15:50 [11712] [8] DEBUG: Queued to thread 0 for
/var/www/html/mms/mmsbox_outgoing/qf8149.1.x712.50, sendt=1283858149,
tnow=1283858150

   SMSC `WAVECOM' shut down

arg 0: pppd
arg 1: call
arg 2: wavecom-auth
chat:  Sep 07 19:15:57 CONNECT 115200
Serial connection established.
using channel 20
Using interface ppp0
Connect: ppp0 -- /dev/ttyUSB0
sent [LCP ConfReq id=0x1 asyncmap 0x0 magic 0x74abeed7 pcomp accomp]
rcvd [LCP ConfRej id=0x1 magic 0x74abeed7]
sent [LCP ConfReq id=0x2 asyncmap 0x0 pcomp accomp]
rcvd [LCP ConfAck id=0x2 asyncmap 0x0 pcomp accomp]
rcvd [LCP ConfReq id=0x1 mru 1500 asyncmap 0x0 pcomp accomp auth
pap]
sent [LCP ConfAck id=0x1 mru 1500 asyncmap 0x0 pcomp accomp auth
pap]
sent [PAP AuthReq id=0x1 user=xx password=hidden]
cat: /var/run/ppp0-mbuni.pid: No such file or directory
2010-09-07 19:16:00 [11712] [5] INFO: mmsbox_mm1.c:659 start_gprs
[mmsbox-mm1] [n/a] waiting for connection: 0, pid=11747 cpid=0, ifexited=1,
exitstatus=0
rcvd [PAP AuthAck id=0x1 Welcome!]
Remote message: Welcome!
PAP authentication succeeded
sent [CCP ConfReq id=0x1 deflate 15 deflate(old#) 15]
sent [IPCP ConfReq id=0x1 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3
0.0.0.0]
rcvd [IPCP ConfReq id=0x1 addr 192.168.111.111]
sent [IPCP ConfAck id=0x1 addr 192.168.111.111]
rcvd [LCP ProtRej id=0x14 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 addr 10.237.136.238 ms-dns1 xxx.xxx.xxx.xxx
ms-dns3 xxx.xxx.xxx.xxx]
sent [IPCP ConfReq id=0x2 addr 10.237.136.238 ms-dns1 xxx.xxx.xxx.xxx
ms-dns3 xxx.xxx.xxx.xxx]
rcvd [IPCP ConfAck id=0x2 addr 10.237.136.238 ms-dns1 xxx.xxx.xxx.xxx
ms-dns3 xxx.xxx.xxx.xxx]
local  IP address 10.237.136.238
remote IP address 192.168.111.111
primary   DNS address xxx.xxx.xxx.xxx
secondary DNS address xxx.xxx.xxx.xxx
Script /etc/ppp/ip-up started (pid 11765)
Script /etc/ppp/ip-up finished (pid 11765), status = 0x0
2010-09-07 19:16:05 [11712] [5] INFO: mmsbox_mm1.c:379 handle_mm1
[mmsbox-mm1] [n/a] start_gprs returned PID: 11747
2010-09-07 19:16:05 [11712] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to
0x0003.
2010-09-07 19:16:06 [11712] [5] INFO: mmsbox_mm1.c:589 write_octstr_data
[mmsbox-mm1] [n/a] write_data called with nmemn=401, size=1
2010-09-07 19:16:06 [11712] [5]* WARNING: Error parsing application-header.*
2010-09-07 19:16:06 [11712] [5] DEBUG: Octet string at 0x8c4a910:
2010-09-07 19:16:06 [11712] [5] DEBUG:   len:  401
2010-09-07 19:16:06 [11712] [5] DEBUG:   size: 1024
2010-09-07 19:16:06 [11712] [5] DEBUG:   immutable: 0
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 3c 3f 78 6d 6c 20 76 65 72 73
69 6f 6e 3d 27 31   ?xml version='1
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 2e 30 27 3f 3e 0a 3c 21 44 4f
43 54 59 50 45 20   .0'?.!DOCTYPE
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 68 74 6d 6c 20 50 55 42 4c 49
43 20 27 2d 2f 2f   html PUBLIC '-//
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 57 41 50 46 4f 52 55 4d 2f 2f
44 54 44 20 58 48   WAPFORUM//DTD XH
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 54 4d 4c 20 4d 6f 62 69 6c 65
20 31 2e 30 2f 2f   TML Mobile 1.0//
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 45 4e 27 0a 27 68 74 74 70 3a
2f 2f 77 77 77 2e   EN'.'http://www.
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 77 61 70 66 6f 72 75 6d 2e 6f
72 67 2f 44 54 44   wapforum.org/DTD
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 2f 78 68 74 6d 6c 2d 6d 6f 62
69 6c 65 31 30 2e   /xhtml-mobile10.
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 64 74 64 27 3e 0a 

Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Michel TOKO
Thanks Emmanuel will get back to you.


Merci!

On 24 August 2010 09:45, Emmanuel CHANSON emmanuelchan...@gmail.com wrote:

 Nokia 6230 config with Mbuni latest CVS:

 /etc/mbuni/mmsbox.conf:
 -
 ...
 # Sample conf for MMSBox using a modem (MM1)
 group = mmsc
 #id = modem
 id = nokiaphone
 type = custom
 custom-settings = gprs-on=pppd call mobile-auth;gprs-pid=cat
 /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;
 mmsc-library = /usr/local/mbuni/lib/libmmsbox_mm1.so
 ...

 /etc/ppp/peers/mobile-auth:
 
 file /etc/ppp/peers/options-mobile
 user your_login
 password your_password
 connect /usr/sbin/chat -v -t15 -f /etc/ppp/chatscripts/mobile-modem.chat


 /etc/ppp/peers/options-mobile:
 
 ttyACM0
 115200
 lock
 crtscts
 modem
 passive
 novj
 nodefaultroute
 nodetach
 noipdefault
 usepeerdns
 noauth
 hide-password
 persist
 holdoff 10
 maxfail 0
 debug

 /etc/ppp/chatscripts/mobile-modem.chat:
 ---
 ABORT 'BUSY'
 ABORT 'NO CARRIER'
 ABORT 'VOICE'
 ABORT 'NO DIALTONE'
 ABORT 'NO DIAL TONE'
 ABORT 'NO ANSWER'
 ABORT 'DELAYED'
 REPORT CONNECT
 TIMEOUT 6
 '' 'ATQ0'
 'OK-AT-OK' 'ATZ'
 TIMEOUT 3
 'OK' @/etc/ppp/chatscripts/pin.NONE
 'OK-AT-OK' 'ATI'
 'OK' 'ATZ'
 'OK' @/etc/ppp/chatscripts/mode.NONE
 'OK-AT-OK' @/etc/ppp/chatscripts/apn
 'OK' 'ATDT*99***1#'
 TIMEOUT 30
 CONNECT ''

 /etc/ppp/chatscripts/mode.NONE:
 -
 AT

 /etc/ppp/chatscripts/pin.NONE:
 -
 AT

 /etc/ppp/chatscripts/apn:
 
 AT+CGDCONT=1,IP,your_mms_apn

 You need 2 additionnal scripts to be launched when modem got the
 connection:

 /etc/ppp/ip-up:
 
 #!/bin/sh
 IFNAME=$1
 LOCAL_IP=$4
 REMOTE_IP=$5
 IPPARAM=$6
 MMS_PROXY=192.168.39.201
 /sbin/ip route add to 192.168.39.201 dev ppp0
 # routing has been set up, so:
 ln -sf /var/run/ppp0.pid /var/run/ppp0-mbuni.pid

 /etc/ppp/ip-down:
 -
 # remove pid file
 rm -rf /var/run/ppp0-mbuni.pid


 Regards,

 Emmanuel


 2010/8/24 patrick meye patrick_m...@yahoo.fr

 Hi Emmanuel,

 I need config files using Nokia 6230,can you send it to me please??

 Regards.

 Patrick

 --
 *De :* Emmanuel CHANSON emmanuelchan...@gmail.com
 *À :* users@mbuni.org
 *Envoyé le :* Mar 24 août 2010, 0h 59min 12s
 *Objet :* [Users] Mbuni  Huawei E220

 Does anyone has already configured a Huawei E220 with Mbuni and pppd ?

 I am looking for any config with E220.

 Note: I use actually a Nokia 6230 that work well if anybody needs config
 files.

 Regards,

 --
 Emmanuel


 ___
 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


Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Michel TOKO
HI Emmanuel, ppp connection is ok using your config but still getting :

..
*2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628 fetch_content
[mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host
2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string at 0xb600f748:
2010-08-25 05:00:01 [5301] [5] DEBUG:   len:  0
2010-08-25 05:00:01 [5301] [5] DEBUG:   size: 0
2010-08-25 05:00:01 [5301] [5] DEBUG:   immutable: 0
2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string dump ends.
2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
[mmsbox-mm1] [n/a] Sending failed: (none), (none)!
2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 handle_mm1
[mmsbox-mm1] [n/a] GPRS turned off returned: 0*
..

Please did use solve this issue?

tail -f /var/log/messages
*
..
Aug 25 04:56:49 localhost pppd[5547]: Serial connection established.
Aug 25 04:56:49 localhost pppd[5547]: Using interface ppp0
Aug 25 04:56:49 localhost pppd[5547]: Connect: ppp0 -- /dev/ttyUSB0
Aug 25 04:56:53 localhost pppd[5547]: Remote message: Welcome!
Aug 25 04:56:53 localhost pppd[5547]: PAP authentication succeeded
Aug 25 04:56:53 localhost pppd[5547]: local  IP address 10.236.24.83
Aug 25 04:56:53 localhost pppd[5547]: remote IP address 192.168.111.111
Aug 25 04:56:53 localhost pppd[5547]: primary   DNS address 165.21.83.88
Aug 25 04:56:53 localhost pppd[5547]: secondary DNS address 165.21.100.88
Aug 25 05:00:01 localhost pppd[5547]: Terminating on signal 15
Aug 25 05:00:01 localhost pppd[5547]: Connect time 3.2 minutes.
Aug 25 05:00:01 localhost pppd[5547]: Sent 300 bytes, received 0 bytes.
.*

Thanks

On 24 August 2010 20:54, Emmanuel CHANSON emmanuelchan...@gmail.com wrote:

 Thanks to Piotr who help me with pppd

 BR

 Emmanuel

 2010/8/24 Michel TOKO tokomic...@gmail.com

 Thanks Emmanuel will get back to you.


 Merci!

 On 24 August 2010 09:45, Emmanuel CHANSON emmanuelchan...@gmail.comwrote:

 Nokia 6230 config with Mbuni latest CVS:

 /etc/mbuni/mmsbox.conf:
 -
 ...
 # Sample conf for MMSBox using a modem (MM1)
 group = mmsc
 #id = modem
 id = nokiaphone
 type = custom
 custom-settings = gprs-on=pppd call mobile-auth;gprs-pid=cat
 /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;
 mmsc-library = /usr/local/mbuni/lib/libmmsbox_mm1.so
 ...

 /etc/ppp/peers/mobile-auth:
 
 file /etc/ppp/peers/options-mobile
 user your_login
 password your_password
 connect /usr/sbin/chat -v -t15 -f
 /etc/ppp/chatscripts/mobile-modem.chat


 /etc/ppp/peers/options-mobile:
 
 ttyACM0
 115200
 lock
 crtscts
 modem
 passive
 novj
 nodefaultroute
 nodetach
 noipdefault
 usepeerdns
 noauth
 hide-password
 persist
 holdoff 10
 maxfail 0
 debug

 /etc/ppp/chatscripts/mobile-modem.chat:
 ---
 ABORT 'BUSY'
 ABORT 'NO CARRIER'
 ABORT 'VOICE'
 ABORT 'NO DIALTONE'
 ABORT 'NO DIAL TONE'
 ABORT 'NO ANSWER'
 ABORT 'DELAYED'
 REPORT CONNECT
 TIMEOUT 6
 '' 'ATQ0'
 'OK-AT-OK' 'ATZ'
 TIMEOUT 3
 'OK' @/etc/ppp/chatscripts/pin.NONE
 'OK-AT-OK' 'ATI'
 'OK' 'ATZ'
 'OK' @/etc/ppp/chatscripts/mode.NONE
 'OK-AT-OK' @/etc/ppp/chatscripts/apn
 'OK' 'ATDT*99***1#'
 TIMEOUT 30
 CONNECT ''

 /etc/ppp/chatscripts/mode.NONE:
 -
 AT

 /etc/ppp/chatscripts/pin.NONE:
 -
 AT

 /etc/ppp/chatscripts/apn:
 
 AT+CGDCONT=1,IP,your_mms_apn

 You need 2 additionnal scripts to be launched when modem got the
 connection:

 /etc/ppp/ip-up:
 
 #!/bin/sh
 IFNAME=$1
 LOCAL_IP=$4
 REMOTE_IP=$5
 IPPARAM=$6
 MMS_PROXY=192.168.39.201
 /sbin/ip route add to 192.168.39.201 dev ppp0
 # routing has been set up, so:
 ln -sf /var/run/ppp0.pid /var/run/ppp0-mbuni.pid

 /etc/ppp/ip-down:
 -
 # remove pid file
 rm -rf /var/run/ppp0-mbuni.pid


 Regards,

 Emmanuel


 2010/8/24 patrick meye patrick_m...@yahoo.fr

 Hi Emmanuel,

 I need config files using Nokia 6230,can you send it to me please??

 Regards.

 Patrick

 --
 *De :* Emmanuel CHANSON emmanuelchan...@gmail.com
 *À :* users@mbuni.org
 *Envoyé le :* Mar 24 août 2010, 0h 59min 12s
 *Objet :* [Users] Mbuni  Huawei E220

 Does anyone has already configured a Huawei E220 with Mbuni and pppd ?

 I am looking for any config with E220.

 Note: I use actually a Nokia 6230 that work well if anybody needs config
 files.

 Regards,

 --
 Emmanuel


 ___
 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




 --
 Emmanuel

 CHANSON Emmanuel
 Mobile Nouvelle-Calédonie: +687.77.35.02
 

Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Emmanuel CHANSON
Hello Richard,

In my case as an MMS, because I use a MMS APN given to all mobile contract
here.

Emmanuel

2010/8/24 Richard Eicher[Skycore] reic...@skycore.com

  Hi Emmanuel,



 Question regarding the MM1 Modem – Was your billing attributed as SMS and
 Data or as an MMS?





 Richard Eicher Jr.

 Skycore LLC

 Skycore.com / Cellyspace.com

 reic...@skycore.com

 O: 617 314 7688 x706

 M: 781 492 6436

 Skype: riche127

 [image: skycore_logoWebWhite_small]



 *From:* users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] *On
 Behalf Of *Emmanuel CHANSON
 *Sent:* Tuesday, August 24, 2010 4:54 PM
 *To:* users@mbuni.org
 *Subject:* Re: [Users] Mbuni  Nokia 6230 configuration (mmsbox-mm1)



 Thanks to Piotr who help me with pppd

 BR

 Emmanuel

 2010/8/24 Michel TOKO tokomic...@gmail.com

 Thanks Emmanuel will get back to you.


 Merci!

 On 24 August 2010 09:45, Emmanuel CHANSON emmanuelchan...@gmail.com
 wrote:

  Nokia 6230 config with Mbuni latest CVS:

 /etc/mbuni/mmsbox.conf:
 -
 ...
 # Sample conf for MMSBox using a modem (MM1)
 group = mmsc
 #id = modem
 id = nokiaphone
 type = custom
 custom-settings = gprs-on=pppd call mobile-auth;gprs-pid=cat
 /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;
 mmsc-library = /usr/local/mbuni/lib/libmmsbox_mm1.so
 ...

 /etc/ppp/peers/mobile-auth:
 
 file /etc/ppp/peers/options-mobile
 user your_login
 password your_password
 connect /usr/sbin/chat -v -t15 -f /etc/ppp/chatscripts/mobile-modem.chat


 /etc/ppp/peers/options-mobile:
 
 ttyACM0
 115200
 lock
 crtscts
 modem
 passive
 novj
 nodefaultroute
 nodetach
 noipdefault
 usepeerdns
 noauth
 hide-password
 persist
 holdoff 10
 maxfail 0
 debug

 /etc/ppp/chatscripts/mobile-modem.chat:
 ---
 ABORT 'BUSY'
 ABORT 'NO CARRIER'
 ABORT 'VOICE'
 ABORT 'NO DIALTONE'
 ABORT 'NO DIAL TONE'
 ABORT 'NO ANSWER'
 ABORT 'DELAYED'
 REPORT CONNECT
 TIMEOUT 6
 '' 'ATQ0'
 'OK-AT-OK' 'ATZ'
 TIMEOUT 3
 'OK' @/etc/ppp/chatscripts/pin.NONE
 'OK-AT-OK' 'ATI'
 'OK' 'ATZ'
 'OK' @/etc/ppp/chatscripts/mode.NONE
 'OK-AT-OK' @/etc/ppp/chatscripts/apn
 'OK' 'ATDT*99***1#'
 TIMEOUT 30
 CONNECT ''

 /etc/ppp/chatscripts/mode.NONE:
 -
 AT

 /etc/ppp/chatscripts/pin.NONE:
 -
 AT

 /etc/ppp/chatscripts/apn:
 
 AT+CGDCONT=1,IP,your_mms_apn

 You need 2 additionnal scripts to be launched when modem got the
 connection:

 /etc/ppp/ip-up:
 
 #!/bin/sh
 IFNAME=$1
 LOCAL_IP=$4
 REMOTE_IP=$5
 IPPARAM=$6
 MMS_PROXY=192.168.39.201
 /sbin/ip route add to 192.168.39.201 dev ppp0
 # routing has been set up, so:
 ln -sf /var/run/ppp0.pid /var/run/ppp0-mbuni.pid

 /etc/ppp/ip-down:
 -
 # remove pid file
 rm -rf /var/run/ppp0-mbuni.pid


 Regards,

 Emmanuel

  2010/8/24 patrick meye patrick_m...@yahoo.fr

 Hi Emmanuel,

 I need config files using Nokia 6230,can you send it to me please??

 Regards.

 *Patrick*


  --

 *De :* Emmanuel CHANSON emmanuelchan...@gmail.com
 *À :* users@mbuni.org
 *Envoyé le :* Mar 24 août 2010, 0h 59min 12s
 *Objet :* [Users] Mbuni  Huawei E220


 Does anyone has already configured a Huawei E220 with Mbuni and pppd ?

 I am looking for any config with E220.

 Note: I use actually a Nokia 6230 that work well if anybody needs config
 files.

 Regards,

 --
 Emmanuel





 ___
 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

image001.gif___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Michel TOKO
sorry,

 netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
192.168.111.111 0.0.0.0 255.255.255.255 UH0 0  0
ppp0
165.21.42.840.0.0.0 255.255.255.255 UH0 0  0
ppp0
xxx.xxx.xxx.xxx  0.0.0.0 255.255.255.248 U 0 0  0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
eth0
0.0.0.0 xxx.xxx.xxx.xxx  0.0.0.0 UG0 0  0
eth0

is it normal ?

On 24 August 2010 23:38, Michel TOKO tokomic...@gmail.com wrote:

 Emmanuel, resultat du netstat,
  netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
 192.168.111.111 0.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 165.21.42.840.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 xxx.xxx.xxx.xxx  0.0.0.0 255.255.255.248 U 0 0  0
 eth0
 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
 0.0.0.0 xxx.xxx.xxx.xxx  0.0.0.0 UG0 0  0
 eth0

 un problème ici ?



 On 24 August 2010 23:33, Michel TOKO tokomic...@gmail.com wrote:

 Yes i did.

 *port=8080;mmsc-url=
 http://xxx.xxx.xxx.xxx:10021/mmsc;proxy=165.21.42.84:8080;msisdn=100*


 On 24 August 2010 23:24, Emmanuel CHANSON emmanuelchan...@gmail.comwrote:

 Michel,


 *in my config file the mmsc proxy is set as suggested.
 **
 mmsc-url=http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100
 
 *
 Did you replace these values by your config used in your provider network
 ?
 ie: your mmsc ip address  your mmsc port ? and mms url ?

 You have to.

 Otherwise second solution below with routing.

 Emmanuel

 2010/8/25 Michel TOKO tokomic...@gmail.com

 Thanks Emmanuel,

 in my config file the mmsc proxy is set as suggested.
 *
 mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;

 May be i've to check your second advice

 *
 maybe you can not reach your mms-c cause of some routing not configured,
 check your routing table after ppp0 is up and you can try to telnet
 mms-c_ip mmsc_port to see if you reach it.

 If not then you have to add a route to reach it, by hand first to test,
 then inside /etc/ppp/ip-up.

 Will get back to you very soon.

 Thanks


 On 24 August 2010 22:27, Emmanuel CHANSON emmanuelchan...@gmail.comwrote:

 Hello Michel,


 *..
 **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't
 connect to host
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string at 0xb600f748:
 2010-08-25 05:00:01 [5301] [5] DEBUG:   len:  0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   size: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   immutable: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string dump ends.
 2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 handle_mm1
 [mmsbox-mm1] [n/a] GPRS turned off returned: 0
 ..*

 I think Mbuni can not reach your MMS-C (provider), so try to see if
 your MMS-C proxy address and port is correct inside mmsbox.conf:

 In my case:

 *custom-settings = gprs-on=pppd call mobile-auth;gprs-pid=cat
 /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100*

 this part:

 *mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;

 *
 I think your problem may be here.*

 **Or *
 maybe you can not reach your mms-c cause of some routing not
 configured, check your routing table after ppp0 is up and you can try to
 telnet mms-c_ip mmsc_port to see if you reach it.

 If not then you have to add a route to reach it, by hand first to test,
 then inside /etc/ppp/ip-up.

 Regards,

 Emmanuel

 2010/8/24 Michel TOKO tokomic...@gmail.com

 HI Emmanuel, ppp connection is ok using your config but still getting
 :

 ..
 *2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't
 connect to host
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string at 0xb600f748:
 2010-08-25 05:00:01 [5301] [5] DEBUG:   len:  0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   size: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   immutable: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string dump ends.
 2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 handle_mm1
 [mmsbox-mm1] [n/a] GPRS turned off returned: 0*
 ..

 Please did use solve this issue?

 tail -f /var/log/messages
 *
 ..
 Aug 25 04:56:49 localhost pppd[5547]: Serial connection established.
 Aug 25 04:56:49 localhost pppd[5547]: Using interface ppp0
 Aug 25 04:56:49 localhost pppd[5547]: Connect: ppp0 -- 

Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Emmanuel CHANSON
Yes it should be ok

Try to reach your MMS-C using *telnet 165.21.42.84 8080* when ppp0 is up
and rounting is done.
Or do this test with mbuni stop and launch ppd by hand *'pppd call
mobile-auth'*

If you succeed then maybe you post a bad MMS. What is the command you run to
post a MMS to Mbuni ?

Emmanuel

2010/8/25 Michel TOKO tokomic...@gmail.com

 sorry,


  netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
 192.168.111.111 0.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 165.21.42.840.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 xxx.xxx.xxx.xxx  0.0.0.0 255.255.255.248 U 0 0  0
 eth0
 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
 0.0.0.0 xxx.xxx.xxx.xxx  0.0.0.0 UG0 0  0
 eth0

 is it normal ?


 On 24 August 2010 23:38, Michel TOKO tokomic...@gmail.com wrote:

 Emmanuel, resultat du netstat,
  netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
 192.168.111.111 0.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 165.21.42.840.0.0.0 255.255.255.255 UH0 0  0
 ppp0
 xxx.xxx.xxx.xxx  0.0.0.0 255.255.255.248 U 0 0  0
 eth0
 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
 0.0.0.0 xxx.xxx.xxx.xxx  0.0.0.0 UG0 0  0
 eth0

 un problème ici ?



 On 24 August 2010 23:33, Michel TOKO tokomic...@gmail.com wrote:

 Yes i did.

 *port=8080;mmsc-url=
 http://xxx.xxx.xxx.xxx:10021/mmsc;proxy=165.21.42.84:8080;msisdn=100*


 On 24 August 2010 23:24, Emmanuel CHANSON emmanuelchan...@gmail.comwrote:

 Michel,


 *in my config file the mmsc proxy is set as suggested.
 **
 mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;
 *
 Did you replace these values by your config used in your provider
 network ?
 ie: your mmsc ip address  your mmsc port ? and mms url ?

 You have to.

 Otherwise second solution below with routing.

 Emmanuel

 2010/8/25 Michel TOKO tokomic...@gmail.com

 Thanks Emmanuel,

 in my config file the mmsc proxy is set as suggested.
 *
 mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;

 May be i've to check your second advice

 *
 maybe you can not reach your mms-c cause of some routing not
 configured, check your routing table after ppp0 is up and you can try to
 telnet mms-c_ip mmsc_port to see if you reach it.

 If not then you have to add a route to reach it, by hand first to test,
 then inside /etc/ppp/ip-up.

 Will get back to you very soon.

 Thanks


 On 24 August 2010 22:27, Emmanuel CHANSON 
 emmanuelchan...@gmail.comwrote:

 Hello Michel,


 *..
 **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't
 connect to host
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string at 0xb600f748:
 2010-08-25 05:00:01 [5301] [5] DEBUG:   len:  0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   size: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   immutable: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string dump ends.
 2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 handle_mm1
 [mmsbox-mm1] [n/a] GPRS turned off returned: 0
 ..*

 I think Mbuni can not reach your MMS-C (provider), so try to see if
 your MMS-C proxy address and port is correct inside mmsbox.conf:

 In my case:

 *custom-settings = gprs-on=pppd call mobile-auth;gprs-pid=cat
 /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100*

 this part:

 *mmsc-url=
 http://xxx.xxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100;

 *
 I think your problem may be here.*

 **Or *
 maybe you can not reach your mms-c cause of some routing not
 configured, check your routing table after ppp0 is up and you can try to
 telnet mms-c_ip mmsc_port to see if you reach it.

 If not then you have to add a route to reach it, by hand first to
 test, then inside /etc/ppp/ip-up.

 Regards,

 Emmanuel

 2010/8/24 Michel TOKO tokomic...@gmail.com

 HI Emmanuel, ppp connection is ok using your config but still getting
 :

 ..
 *2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: 
 couldn't
 connect to host
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string at 0xb600f748:
 2010-08-25 05:00:01 [5301] [5] DEBUG:   len:  0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   size: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG:   immutable: 0
 2010-08-25 05:00:01 [5301] [5] DEBUG: Octet string dump ends.
 2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 

Re: [Users] Mbuni Nokia 6230 configuration (mmsbox-mm1)

2010-08-24 Thread Emmanuel CHANSON
What is you custom setting in mmsbox.conf?

It seems you keep ppp0.pid and didn't manage using ppp0-mbuni.pid.

Mbuni wait until this ppp0.pid file is created before sending the MMS BUT
Mbuni doesn't wait that the routing is done to reach MMSC so using ip-up
script you should create a ppp0-mbuni.pid lynk (symlink to ppp0.pid)
This symlink is created as soon as routing is done in ip-up script
*
mmsbox.conf in custom settings:

gprs-pid=cat /var/run/ppp0-mbuni.pid|head -1*

ip-down should contain the command to remove this symlink when ppp0
connection is closed

Emmanuel


2010/8/25 Michel TOKO tokomic...@gmail.com

 This is a part of the log. If you need more than this please let me know.

 2010-08-25 08:17:34 [6800] [5] INFO: mmsbox_mm1.c:659 start_gprs
 [mmsbox-mm1] [n/a] waiting for connection: 0, pid=7470 cpid=0, ifexited=1,
 exitstatus=5
 cat: /var/run/ppp0.pid: No such file or directory
 2010-08-25 08:17:39 [6800] [5] INFO: mmsbox_mm1.c:659 start_gprs
 [mmsbox-mm1] [n/a] waiting for connection: 1, pid=7470 cpid=0, ifexited=1,
 exitstatus=5
 cat: /var/run/ppp0.pid: No such file or directory
 2010-08-25 08:17:44 [6800] [5] INFO: mmsbox_mm1.c:659 start_gprs
 [mmsbox-mm1] [n/a] waiting for connection: 2, pid=7470 cpid=0, ifexited=1,
 exitstatus=5
 chat:  Aug 25 08:17:47 CONNECT 115200
 Serial connection established.
 using channel 38
 Using interface ppp0
 Connect: ppp0 -- /dev/ttyUSB0
 sent [LCP ConfReq id=0x1 asyncmap 0x0 magic 0x600b2141 pcomp
 accomp]
 rcvd [LCP ConfRej id=0x1 magic 0x600b2141]
 sent [LCP ConfReq id=0x2 asyncmap 0x0 pcomp accomp]
 rcvd [LCP ConfAck id=0x2 asyncmap 0x0 pcomp accomp]
 2010-08-25 08:17:49 [6800] [5] INFO: mmsbox_mm1.c:379 handle_mm1
 [mmsbox-mm1] [n/a] start_gprs returned PID: 7470
 2010-08-25 08:17:49 [6800] [5] DEBUG: WSP: Mapping `image/gif', WSP 1.2 to
 0x001d.
 rcvd [LCP ConfReq id=0x1 mru 1500 asyncmap 0x0 pcomp accomp auth
 pap]
 sent [LCP ConfAck id=0x1 mru 1500 asyncmap 0x0 pcomp accomp auth
 pap]
 sent [PAP AuthReq id=0x1 user=65eideas password=hidden]
 rcvd [PAP AuthAck id=0x1 Welcome!]
 Remote message: Welcome!
 PAP authentication succeeded
 sent [CCP ConfReq id=0x1 deflate 15 deflate(old#) 15]
 sent [IPCP ConfReq id=0x1 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3
 0.0.0.0]
 rcvd [IPCP ConfReq id=0x1 addr 192.168.111.111]
 sent [IPCP ConfAck id=0x1 addr 192.168.111.111]
 rcvd [LCP ProtRej id=0x26 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
 Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
 rcvd [IPCP ConfNak id=0x1 addr 10.237.205.147 ms-dns1 165.21.83.88
 ms-dns3 165.21.100.88]
 sent [IPCP ConfReq id=0x2 addr 10.237.205.147 ms-dns1 165.21.83.88
 ms-dns3 165.21.100.88]
 rcvd [IPCP ConfAck id=0x2 addr 10.237.205.147 ms-dns1 165.21.83.88
 ms-dns3 165.21.100.88]
 local  IP address 10.237.205.147

 remote IP address 192.168.111.111
 primary   DNS address 165.21.83.88
 secondary DNS address 165.21.100.88
 *Script /etc/ppp/ip-up started (pid 7498)*
 *Script /etc/ppp/ip-up finished (pid 7498), status = 0x1
 2010-08-25 08:20:58 [6800] [5] ERROR: mmsbox_mm1.c:628 fetch_content
 [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host*
 2010-08-25 08:20:58 [6800] [5] DEBUG: Octet string at 0xb4c0ba68:
 2010-08-25 08:20:58 [6800] [5] DEBUG:   len:  0
 2010-08-25 08:20:58 [6800] [5] DEBUG:   size: 0
 2010-08-25 08:20:58 [6800] [5] DEBUG:   immutable: 0
 2010-08-25 08:20:58 [6800] [5] DEBUG: Octet string dump ends.
 *2010-08-25 08:20:58 [6800] [5] ERROR: mmsbox_mm1.c:499 handle_mm1
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!*
 2010-08-25 08:20:58 [6800] [5] INFO: mmsbox_mm1.c:524 handle_mm1
 [mmsbox-mm1] [n/a] GPRS turned off returned: 0
 2010-08-25 08:20:58 [6800] [20] INFO: mmsbox_mm1.c:345 send_msg
 [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
 2010-08-25 08:20:58 [6800] [20] INFO: bearerbox.c:1519 sendMsg [MM7]
 [n/a] Retry later MMSBox Outgoing Queue MMS Send: From +x/TYPE=PLMN,
 to xx/TYPE=PLMN, msgsize=5517: msgid=[N/A]
 Terminating on signal 15

 Connect time 3.2 minutes.
 *Sent 300 bytes, received 676 bytes.*
 Script /etc/ppp/ip-down started (pid 7507)
 sent [LCP TermReq id=0x3 User request]
 Script /etc/ppp/ip-down finished (pid 7507), status = 0xff
 rcvd [LCP TermAck id=0x3 User request]
 Connection terminated.





 On 25 August 2010 00:36, Emmanuel CHANSON emmanuelchan...@gmail.comwrote:

 You can reach your MMS-C as you successfully open a telnet connection on
 port 8080 so this is something else.

 Try to remove the smil part and send just a text?


 $url=$path.?username=$usernamepassword=$passwordto=xxsubject=MBUNItext=test;

 Other thing
 Try to check your logs to see if the fetch error happens before ppp0
 connection is up?
 Maybe Mbuni try to send the MMS before the ppp0 connection and/or routing
 is done in order to reach MMS-C.

 Check also that /var/run/ppp0-mbuni.pid is correclty removed after each
 connection close.
 Try