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 +xxxxxxxxx/TYPE=PLMN,
> to xxxxxxxxxx/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.com>wrote:
>
>> 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=$username&password=$password&to=xxxxxxxxxx&subject=MBUNI&text=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 to delete it by hand before a test if it was present.
>>
>> Mbuni wait until the ppp0-mbuni.pid file is created (by ip-up script) and
>> then will send MMS.
>>
>> Post your full logs in case of problem.
>>
>>
>> Emmanuel
>>
>> 2010/8/25 Michel TOKO <tokomic...@gmail.com>
>>
>>>  telnet 165.21.42.84 8080
>>> Trying 165.21.42.84...
>>> Connected to 165.21.42.84 (165.21.42.84).
>>> Escape character is '^]'.
>>>
>>>
>>> posting the mms, i run a php script :
>>>
>>>
>>> $url=$path."?username=$username&password=$password&to=xxxxxxxxxx&subject=MBUNI&smil=$smil";
>>>
>>> where $path= http://xxx.xxx.xxx.xxx:10001/cgi-bin/sendmms and $smil is a
>>> simple smil file contaning a gif image
>>>
>>> thanks
>>>
>>>
>>> On 24 August 2010 23:59, Emmanuel CHANSON <emmanuelchan...@gmail.com>wrote:
>>>
>>>> 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 UH        0 0
>>>>> 0 ppp0
>>>>> 165.21.42.84    0.0.0.0         255.255.255.255 UH        0 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         UG        0 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 UH        0 0
>>>>>> 0 ppp0
>>>>>> 165.21.42.84    0.0.0.0         255.255.255.255 UH        0 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         UG        0
>>>>>> 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.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>  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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> 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
>>>>>
>>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
> _______________________________________________
> 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