Michel,

*in my config file the mmsc proxy is set as suggested.
**
mmsc-url=http://xxx.xxxxxxx.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.xxxxxxx.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.com>wrote:
>
>> 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.xxxxxxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100"*
>>
>> this part:
>>
>> *mmsc-url=http://xxx.xxxxxxx.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 <--> /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.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.xxxxxxx.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
>>>> Mobile France: +33 (0) 6.68.03.89.56
>>>> @email : emmanuelchan...@gmail.com
>>>>
>>>> _______________________________________________
>>>> 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
>> Mobile France: +33 (0) 6.68.03.89.56
>> @email : emmanuelchan...@gmail.com
>>
>> _______________________________________________
>> Users mailing list
>> Users@mbuni.org
>> http://lists.mbuni.org/mailman/listinfo/users
>>
>>
>
>
> --
> Regards
>
> Toko K. Michel
>
> Toko Michel
> Mob : +225 06 00 26 95
> Mob : +2332 41 44 33 15
> Mail : tokomic...@gmail.com
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users
>
>


-- 
Emmanuel

CHANSON Emmanuel
Mobile Nouvelle-Calédonie: +687.77.35.02
Mobile France: +33 (0) 6.68.03.89.56
@email : emmanuelchan...@gmail.com
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to