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 
[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 
[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]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2   ]
rcvd [LCP ConfAck id=0x2   ]
rcvd [LCP ConfReq id=0x1 ]
sent [LCP ConfAck id=0x1 ]
sent [PAP AuthReq id=0x1 user="xx" password=]
cat: /var/run/ppp0-mbuni.pid: No such file or directory
2010-09-07 19:16:00 [11712] [5] INFO: mmsbox_mm1.c:659 
[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  ]
sent [IPCP ConfReq id=0x1   ]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
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  
]
sent [IPCP ConfReq id=0x2  
]
rcvd [IPCP ConfAck id=0x2  
]
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 
[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 
[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   .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 3c 68 74 6d
6c 20 78 6d 6c 6e   dtd'>...
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 54 68 65 20 72 65 71 75 65 73
74 20 66 61 69 6c   The request fail
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 65 64 3c 2f 74 69 74 6c 65 3e
0a 3c 2f 68 65 61   ed...*The request is*
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 20 6e 6f 74 20 75 6e 64 65 72
73 74 6f 6f 64 2e   * not understood*.
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 3c 2f 62 69 67 3e 3c 2f 70 3e
0a 3c 70 3e 0a 3c   ..<
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 69 3e 54 65 63 68 6e 69 63 61
6c 20 64 65 73 63   i>Technical desc
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 72 69 70 74 69 6f 6e 3a 3c 2f
69 3e 3c 62 72 2f   ription:*400 Bad Request*
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 20 2d 20 43 68 65 63 6b 20 79
6f 75 72 20 73 70-* Check your sp*
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 65 6c 6c 69 6e 67 20 66 6f 72
20 74 68 65 20 72   *elling for the r*
2010-09-07 19:16:06 [11712] [5] DEBUG:   data: 65 71 75 65 73 74 65 64 20 55
52 4c 2e 3c 2f 70  * equested URL*...
2010-09-07 19:16:06 [11712] [5] DEBUG: Octet string d

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

2010-08-24 Thread Emmanuel CHANSON
This is more link how the message is sent:

I use:

# lynx -dump "
http://localhost:10001/?username=tester&password=foobar&mmsc=modem&from=%2BYY/TYPE=PLMN&to=%2BXX/TYPE=PLMN&subject=Test&text=test+mbuni
"

Did you url-encode your link?

I don't have others ideas, maybe somes experts can help here :)

Emmanuel

2010/8/25 Michel TOKO 

> Thanks you Emmanuel,
>
> Am no more getting this error but unfortunately no matter what i send,
> either a simple text or a smil file, get
>
> *2010-08-25 09:57:32 [8318] [5] WARNING: Error parsing application-header*
> .
> 
>
> 2010*-08-25 09:57:32 [8318] [5] ERROR: mmsbox_mm1.c:499 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!*
> 2010-08-25 09:57:32 [8318] [5] INFO: mmsbox_mm1.c:524 
> [mmsbox-mm1] [n/a] GPRS turned off returned: 0
> Terminating on signal 15
> 2010-08-25 09:57:32 [8318] [18] INFO: mmsbox_mm1.c:345 
> [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
> 2010-08-25 09:57:32 [8318] [18] INFO: bearerbox.c:1519  [MM7]
> [n/a] Retry later MMSBox Outgoing Queue MMS Send: From x/TYPE=PLMN,
> to xx/TYPE=PLMN, msgsize=116: msgid=[N/A]
> Connect time 0.1 minutes.
> Sent 553 bytes, received 700 bytes.
> Script /etc/ppp/ip-down started (pid 8366)
>
> sent [LCP TermReq id=0x3 "User request"]
> Script /etc/ppp/ip-down finished (pid 8366), status = 0x0
>
> rcvd [LCP TermAck id=0x3 "User request"]
> Connection terminated.
>
>
> ___
> Users mailing list
> [email protected]
> 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 : [email protected]
___
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users


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

2010-08-24 Thread Michel TOKO
Thanks you Emmanuel,

Am no more getting this error but unfortunately no matter what i send,
either a simple text or a smil file, get

*2010-08-25 09:57:32 [8318] [5] WARNING: Error parsing application-header*.


2010*-08-25 09:57:32 [8318] [5] ERROR: mmsbox_mm1.c:499 
[mmsbox-mm1] [n/a] Sending failed: (none), (none)!*
2010-08-25 09:57:32 [8318] [5] INFO: mmsbox_mm1.c:524 
[mmsbox-mm1] [n/a] GPRS turned off returned: 0
Terminating on signal 15
2010-08-25 09:57:32 [8318] [18] INFO: mmsbox_mm1.c:345 
[mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
2010-08-25 09:57:32 [8318] [18] INFO: bearerbox.c:1519  [MM7] [n/a]
Retry later MMSBox Outgoing Queue MMS Send: From x/TYPE=PLMN, to
xx/TYPE=PLMN, msgsize=116: msgid=[N/A]
Connect time 0.1 minutes.
Sent 553 bytes, received 700 bytes.
Script /etc/ppp/ip-down started (pid 8366)
sent [LCP TermReq id=0x3 "User request"]
Script /etc/ppp/ip-down finished (pid 8366), status = 0x0
rcvd [LCP TermAck id=0x3 "User request"]
Connection terminated.
___
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users


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 

> 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 
> [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 
> [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 
> [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   
> ]
> rcvd [LCP ConfRej id=0x1 ]
> sent [LCP ConfReq id=0x2   ]
> rcvd [LCP ConfAck id=0x2   ]
> 2010-08-25 08:17:49 [6800] [5] INFO: mmsbox_mm1.c:379 
> [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  pap>]
> sent [LCP ConfAck id=0x1  pap>]
> sent [PAP AuthReq id=0x1 user="65eideas" password=]
> rcvd [PAP AuthAck id=0x1 "Welcome!"]
> Remote message: Welcome!
> PAP authentication succeeded
> sent [CCP ConfReq id=0x1  ]
> sent [IPCP ConfReq id=0x10.0.0.0>]
> rcvd [IPCP ConfReq id=0x1 ]
> sent [IPCP ConfAck id=0x1 ]
> 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  
> ]
> sent [IPCP ConfReq id=0x2  
> ]
> rcvd [IPCP ConfAck id=0x2  
> ]
> 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 
> [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 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!*
> 2010-08-25 08:20:58 [6800] [5] INFO: mmsbox_mm1.c:524 
> [mmsbox-mm1] [n/a] GPRS turned off returned: 0
> 2010-08-25 08:20:58 [6800] [20] INFO: mmsbox_mm1.c:345 
> [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
> 2010-08-25 08:20:58 [6800] [20] INFO: bearerbox.c:1519  [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 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=xx&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 
>>
>>>  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=$pat

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

2010-08-24 Thread Michel TOKO
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 
[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 
[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 
[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]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2   ]
rcvd [LCP ConfAck id=0x2   ]
2010-08-25 08:17:49 [6800] [5] INFO: mmsbox_mm1.c:379 
[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 ]
sent [LCP ConfAck id=0x1 ]
sent [PAP AuthReq id=0x1 user="65eideas" password=]
rcvd [PAP AuthAck id=0x1 "Welcome!"]
Remote message: Welcome!
PAP authentication succeeded
sent [CCP ConfReq id=0x1  ]
sent [IPCP ConfReq id=0x1   ]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
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  
]
sent [IPCP ConfReq id=0x2  
]
rcvd [IPCP ConfAck id=0x2  
]
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 
[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 
[mmsbox-mm1] [n/a] Sending failed: (none), (none)!*
2010-08-25 08:20:58 [6800] [5] INFO: mmsbox_mm1.c:524 
[mmsbox-mm1] [n/a] GPRS turned off returned: 0
2010-08-25 08:20:58 [6800] [20] INFO: mmsbox_mm1.c:345 
[mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
2010-08-25 08:20:58 [6800] [20] INFO: bearerbox.c:1519  [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  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=xx&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 
>
>>  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=xx&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 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 
>>>
 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.25

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

2010-08-24 Thread Emmanuel CHANSON
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=xx&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 

>  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=xx&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 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 
>>
>>> 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  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  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 
> wrote:
>
>>  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 
>>
>> 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 >> > wrote:
>>>
 Hello Michel,


 *..
 **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
  [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.
>>>

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

2010-08-24 Thread Michel TOKO
 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=xx&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  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 
>
>> 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  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  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 wrote:

> 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 
>
> 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 
>> wrote:
>>
>>> Hello Michel,
>>>
>>>
>>> *..
>>> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
>>>  [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 
>>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>>> [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 rout

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 

> 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  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  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 wrote:
>>>
 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 

 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 
> wrote:
>
>> Hello Michel,
>>
>>
>> *..
>> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
>>  [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 
>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>> [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 
>>
>>> 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
>>>  [mmsbox-mm1] [n/a] failed to fetch/post content:

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  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  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 wrote:
>>
>>> 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 
>>>
>>> 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 wrote:

> Hello Michel,
>
>
> *..
> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
>  [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 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
> [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 
>
>> 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
>>  [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 
>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>> 2010-08-25 05:00:01 [5301] [5] INFO: mms

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

2010-08-24 Thread Michel TOKO
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  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 wrote:
>
>> 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 
>>
>> 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 wrote:
>>>
 Hello Michel,


 *..
 **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628
  [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 
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
 [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 

> 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
>  [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 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
> [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]: prim

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

2010-08-24 Thread Michel TOKO
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  wrote:

> 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 
>
> 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 wrote:
>>
>>> Hello Michel,
>>>
>>>
>>> *..
>>> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628 
>>> [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 
>>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>>> [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 
>>>
 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 
 [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 
 [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
 [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 wrote:

> Thanks to Piotr who help me with pppd
>
> BR
>
> Emmanuel
>
> 2010/8/24 Michel TOKO 
>
> Thanks Emmanuel will get back to you.
>>
>>
>> Merci!
>>
>> On 24 August 2010 09:45, Emmanuel CHANSON 
>> wrote:
>>
>>> Nokia 6230 config with Mbuni latest CVS:
>>>

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

2010-08-24 Thread Emmanuel CHANSON
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 

> 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 wrote:
>
>> Hello Michel,
>>
>>
>> *..
>> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628 
>> [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 
>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>> [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 
>>
>>> 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 
>>> [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 
>>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>>> [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 wrote:
>>>
 Thanks to Piotr who help me with pppd

 BR

 Emmanuel

 2010/8/24 Michel TOKO 

 Thanks Emmanuel will get back to you.
>
>
> Merci!
>
> On 24 August 2010 09:45, Emmanuel CHANSON 
> 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.p

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

2010-08-24 Thread Michel TOKO
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  wrote:

> Hello Michel,
>
>
> *..
> **2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628 
> [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 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
> [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 
>
>> 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 
>> [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 
>> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
>> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
>> [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 wrote:
>>
>>> Thanks to Piotr who help me with pppd
>>>
>>> BR
>>>
>>> Emmanuel
>>>
>>> 2010/8/24 Michel TOKO 
>>>
>>> Thanks Emmanuel will get back to you.


 Merci!

 On 24 August 2010 09:45, Emmanuel CHANSON 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 ""
> password ""
> connect "/usr/sbin/chat -v -t15 -f
> /etc/ppp/chatscripts/mobile-modem.chat"
>
>
> /etc/ppp/peers/options-mobile:
> 
> ttyACM0

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] 

>  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
>
> [email protected]
>
> O: 617 314 7688 x706
>
> M: 781 492 6436
>
> Skype: riche127
>
> [image: skycore_logoWebWhite_small]
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Emmanuel CHANSON
> *Sent:* Tuesday, August 24, 2010 4:54 PM
> *To:* [email protected]
> *Subject:* Re: [Users] Mbuni & Nokia 6230 configuration (mmsbox-mm1)
>
>
>
> Thanks to Piotr who help me with pppd
>
> BR
>
> Emmanuel
>
> 2010/8/24 Michel TOKO 
>
> Thanks Emmanuel will get back to you.
>
>
> Merci!
>
> On 24 August 2010 09:45, Emmanuel CHANSON 
> 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 ""
> 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",""
>
> 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 
>
> Hi Emmanuel,
>
> I need config files using Nokia 6230,can you send it to me please??
>
> Regards.
>
> *Patrick*
>
>
>  --
>
> *De :* Emmanuel CHANSON 
> *À :* [email protected]
> *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
> [email protected]
> http://lists.mbuni.org/mailman/listinfo/users
>
>
> ___
> Users mailing list
> [email protected]
> http://lists.mbuni.org/mailman/listinfo/users
>
<>___
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users


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

2010-08-24 Thread Emmanuel CHANSON
Hello Michel,

*..
**2010-08-25 05:00:01 [5301] [5] ERROR: mmsbox_mm1.c:628 
[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 
[mmsbox-mm1] [n/a] Sending failed: (none), (none)!
2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
[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 

> 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 
> [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 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
> 2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
> [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 wrote:
>
>> Thanks to Piotr who help me with pppd
>>
>> BR
>>
>> Emmanuel
>>
>> 2010/8/24 Michel TOKO 
>>
>> Thanks Emmanuel will get back to you.
>>>
>>>
>>> Merci!
>>>
>>> On 24 August 2010 09:45, Emmanuel CHANSON 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 ""
 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

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 
[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 
[mmsbox-mm1] [n/a] Sending failed: (none), (none)!
2010-08-25 05:00:01 [5301] [5] INFO: mmsbox_mm1.c:524 
[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  wrote:

> Thanks to Piotr who help me with pppd
>
> BR
>
> Emmanuel
>
> 2010/8/24 Michel TOKO 
>
> Thanks Emmanuel will get back to you.
>>
>>
>> Merci!
>>
>> On 24 August 2010 09:45, Emmanuel CHANSON 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 ""
>>> 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",""
>>>
>>> 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 
>>>
 Hi Emmanuel,

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

 Regards.

 Patrick

 --
 *De :* Emmanuel CHANSON 
 *À :* [email protected]
 *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


>>> ___
>>>

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

2010-08-24 Thread Emmanuel CHANSON
Thanks to Piotr who help me with pppd

BR

Emmanuel

2010/8/24 Michel TOKO 

> Thanks Emmanuel will get back to you.
>
>
> Merci!
>
> On 24 August 2010 09:45, Emmanuel CHANSON 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 ""
>> 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",""
>>
>> 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 
>>
>>> Hi Emmanuel,
>>>
>>> I need config files using Nokia 6230,can you send it to me please??
>>>
>>> Regards.
>>>
>>> Patrick
>>>
>>> --
>>> *De :* Emmanuel CHANSON 
>>> *À :* [email protected]
>>> *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
>> [email protected]
>> http://lists.mbuni.org/mailman/listinfo/users
>>
>>
> ___
> Users mailing list
> [email protected]
> 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 : [email protected]
___
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users


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  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 ""
> 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",""
>
> 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 
>
>> Hi Emmanuel,
>>
>> I need config files using Nokia 6230,can you send it to me please??
>>
>> Regards.
>>
>> Patrick
>>
>> --
>> *De :* Emmanuel CHANSON 
>> *À :* [email protected]
>> *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
> [email protected]
> http://lists.mbuni.org/mailman/listinfo/users
>
>
___
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users