Hi, I don't think I could add anything more than I wrote previously. Response you get from server mbuni tries to talk to gives error 400 ('Bad Request! Check spelling of requested URL'). I had similar problem when I used wrong URL (mmsc-url setting). It could happen if you use proxy where you shouldn't or give mmsc ip as proxy where it uses different ip. I cannot say what's specifically wrong in your case because: first - I don't know the configuration settings of network you use to send MMS and second - you blanked IP addresses and URL in your config.
I also wonder why you used port=8080 setting. It's nothing technically illegal in it but it's a well known port for proxies so IMHO it's not a good idea to use it for your listener thread. Kind regards, Piotr On Fri, Sep 10, 2010 at 10:45:10AM +0000, Dr Ox wrote: > Hi Piotr > Thanks for your fast response and let me provide you with more logs. > mmsbox logs > 2010-09-10 18:02:20 [21803] [3] DEBUG: HTTP: Creating HTTPClient for > `xxx.xxx.xxx.xxx'. > 2010-09-10 18:02:20 [21803] [3] DEBUG: HTTP: Created HTTPClient area > 0x8b71f70. > 2010-09-10 18:02:20 [21803] [14] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to > 0x0003. > 2010-09-10 18:02:20 [21803] [14] INFO: mmsbox.c:1366 <make_and_queue_msg> > [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid > [Mbuni-msg.2940.x1.3.84]: b-qf2940.1.x803.41 > 2010-09-10 18:02:20 [21803] [14] DEBUG: HTTP: Destroying HTTPClient area > 0x8b71f70. > 2010-09-10 18:02:20 [21803] [14] DEBUG: HTTP: Destroying HTTPClient for > `xxx.xxx.xxx.xxx'. > 2010-09-10 18:02:20 [21803] [14] INFO: mmsbox.c:1613 <dispatch_sendmms_recv> > [mmsbox] [n/a] MMSBox.mmssend: u=know1221, Queued [Accepted: > Mbuni-msg.2940.x1.3.84] > 2010-09-10 18:02:24 [21803] [8] DEBUG: Queued to thread 0 for > /var/www/html/mms/mmsbox_outgoing/b/qf2940.1.x803.41, sendt=1284112940, > tnow=1284112944 > > SMSC `TEST' shut down > > arg 0: pppd > arg 1: call > arg 2: test-auth > chat: Sep 10 18:02:31 CONNECT 115200 > Serial connection established. > using channel 32 > Using interface ppp0 > Connect: ppp0 <--> /dev/ttyUSB0 > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x25ad635a> <pcomp> <accomp>] > rcvd [LCP ConfRej id=0x1 <magic 0x25ad635a>] > sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>] > rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>] > rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth > pap>] > sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth > pap>] > sent [PAP AuthReq id=0x1 user="xxxxxxx" password=<hidden>] > cat: /var/run/ppp0-mbuni.pid: No such file or directory > 2010-09-10 18:02:34 [21803] [5] INFO: mmsbox_mm1.c:659 <start_gprs> > [mmsbox-mm1] [n/a] waiting for connection: 0, pid=21829 cpid=0, ifexited=1, > exitstatus=0 > rcvd [PAP AuthAck id=0x1 "Welcome!"] > Remote message: Welcome! > PAP authentication succeeded > sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>] > sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] > rcvd [IPCP ConfReq id=0x1 <addr 192.168.111.111>] > sent [IPCP ConfAck id=0x1 <addr 192.168.111.111>] > rcvd [LCP ProtRej id=0x20 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.236.116.182> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > sent [IPCP ConfReq id=0x2 <addr 10.236.116.182> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > rcvd [IPCP ConfAck id=0x2 <addr 10.236.116.182> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > local IP address 10.236.116.182 > 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 21847) > Script /etc/ppp/ip-up finished (pid 21847), status = 0x0 > 2010-09-10 18:02:39 [21803] [5] INFO: mmsbox_mm1.c:379 <handle_mm1> > [mmsbox-mm1] [n/a] start_gprs returned PID: 21829 > 2010-09-10 18:02:39 [21803] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to > 0x0003. > 2010-09-10 18:02:41 [21803] [5] INFO: mmsbox_mm1.c:589 <write_octstr_data> > [mmsbox-mm1] [n/a] write_data called with nmemn=401, size=1 > 2010-09-10 18:02:41 [21803] [5] WARNING: Error parsing application-header. > 2010-09-10 18:02:41 [21803] [5] DEBUG: Octet string at 0x8b71f88: > 2010-09-10 18:02:41 [21803] [5] DEBUG: len: 401 > 2010-09-10 18:02:41 [21803] [5] DEBUG: size: 1024 > 2010-09-10 18:02:41 [21803] [5] DEBUG: immutable: 0 > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3c 3f 78 6d 6c 20 76 65 72 73 > 69 6f 6e 3d 27 31 <?xml version='1 > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 2e 30 27 3f 3e 0a 3c 21 44 4f > 43 54 59 50 45 20 .0'?>.<!DOCTYPE > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 68 74 6d 6c 20 50 55 42 4c 49 > 43 20 27 2d 2f 2f html PUBLIC '-// > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 57 41 50 46 4f 52 55 4d 2f 2f > 44 54 44 20 58 48 WAPFORUM//DTD XH > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 54 4d 4c 20 4d 6f 62 69 6c 65 > 20 31 2e 30 2f 2f TML Mobile 1.0// > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 45 4e 27 0a 27 68 74 74 70 3a > 2f 2f 77 77 77 2e EN'.'http://www. > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 77 61 70 66 6f 72 75 6d 2e 6f > 72 67 2f 44 54 44 wapforum.org/DTD > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 2f 78 68 74 6d 6c 2d 6d 6f 62 > 69 6c 65 31 30 2e /xhtml-mobile10. > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 64 74 64 27 3e 0a 3c 68 74 6d > 6c 20 78 6d 6c 6e dtd'>.<html xmln > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 73 3d 27 68 74 74 70 3a 2f 2f > 77 77 77 2e 77 33 s='http://www.w3 > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 2e 6f 72 67 2f 31 39 39 39 2f > 78 68 74 6d 6c 27 .org/1999/xhtml' > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3e 0a 3c 68 65 61 64 3e 0a 3c > 74 69 74 6c 65 3e >.<head>.<title> > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 54 68 65 20 72 65 71 75 65 73 > 74 20 66 61 69 6c The request fail > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 65 64 3c 2f 74 69 74 6c 65 3e > 0a 3c 2f 68 65 61 ed</title>.</hea > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 64 3e 0a 3c 62 6f 64 79 3e 0a > 3c 70 3e 3c 62 69 d>.<body>.<p><bi > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 67 3e 54 68 65 20 72 65 71 75 > 65 73 74 20 69 73 g>The request is > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 20 6e 6f 74 20 75 6e 64 65 72 > 73 74 6f 6f 64 2e not understood. > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3c 2f 62 69 67 3e 3c 2f 70 3e > 0a 3c 70 3e 0a 3c </big></p>.<p>.< > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 69 3e 54 65 63 68 6e 69 63 61 > 6c 20 64 65 73 63 i>Technical desc > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 72 69 70 74 69 6f 6e 3a 3c 2f > 69 3e 3c 62 72 2f ription:</i><br/ > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3e 34 30 30 20 42 61 64 20 52 > 65 71 75 65 73 74 >400 Bad Request > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 20 2d 20 43 68 65 63 6b 20 79 > 6f 75 72 20 73 70 - Check your sp > 2010-09-10 18:02:41 [21803] [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-10 18:02:41 [21803] [5] DEBUG: data: 65 71 75 65 73 74 65 64 20 55 > 52 4c 2e 3c 2f 70 equested URL.</p > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3e 0a 3c 2f 62 6f 64 79 3e 0a > 3c 2f 68 74 6d 6c >.</body>.</html > 2010-09-10 18:02:41 [21803] [5] DEBUG: data: 3e > > > 2010-09-10 18:02:41 [21803] [5] DEBUG: Octet string dump ends. > 2010-09-10 18:02:41 [21803] [5] ERROR: mmsbox_mm1.c:499 <handle_mm1> > [mmsbox-mm1] [n/a] Sending failed: (none), (none)! > 2010-09-10 18:02:41 [21803] [5] INFO: mmsbox_mm1.c:524 <handle_mm1> > [mmsbox-mm1] [n/a] GPRS turned off returned: 0 > 2010-09-10 18:02:41 [21803] [19] INFO: mmsbox_mm1.c:345 <send_msg> > [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none) > 2010-09-10 18:02:41 [21803] [19] INFO: bearerbox.c:1519 <sendMsg> [MM7] [n/a] > Retry later MMSBox Outgoing Queue MMS Send: From +xxxxxxxx/TYPE=PLMN, to > +xxxxxxxx/TYPE=PLMN, msgsize=112: msgid=[N/A] > Terminating on signal 15 > Connect time 0.1 minutes. > Sent 552 bytes, received 700 bytes. > Script /etc/ppp/ip-down started (pid 21853) > sent [LCP TermReq id=0x3 "User request"] > Script /etc/ppp/ip-down finished (pid 21853), status = 0x0 > rcvd [LCP TermAck id=0x3 "User request"] > Connection terminated. > > SMSC `TEST' re-started > > 2010-09-10 18:02:49 [21803] [5] INFO: mmsbox_mm1.c:539 <handle_mm1> > [mmsbox-mm1] [n/a] SMSC turned on > 2010-09-10 18:07:44 [21803] [8] DEBUG: Queued to thread 1 for > /var/www/html/mms/mmsbox_outgoing/b/qf2940.1.x803.41, sendt=1284113261, > tnow=1284113264 > > SMSC `TEST' shut down > > arg 0: pppd > arg 1: call > arg 2: test-auth > chat: Sep 10 18:07:51 CONNECT 115200 > Serial connection established. > using channel 33 > Using interface ppp0 > Connect: ppp0 <--> /dev/ttyUSB0 > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x67c65e4d> <pcomp> <accomp>] > rcvd [LCP ConfRej id=0x1 <magic 0x67c65e4d>] > sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>] > rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>] > rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth > pap>] > sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth > pap>] > sent [PAP AuthReq id=0x1 user="xxxxxx" password=<hidden>] > cat: /var/run/ppp0-mbuni.pid: No such file or directory > 2010-09-10 18:07:54 [21803] [5] INFO: mmsbox_mm1.c:659 <start_gprs> > [mmsbox-mm1] [n/a] waiting for connection: 0, pid=21872 cpid=0, ifexited=1, > exitstatus=5 > 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=0x21 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.236.145.194> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > sent [IPCP ConfReq id=0x2 <addr 10.236.145.194> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > rcvd [IPCP ConfAck id=0x2 <addr 10.236.145.194> <ms-dns1 xxx.xxx.xxx.xxx> > <ms-dns3 xxx.xxx.xxx.xxx>] > local IP address 10.236.145.194 > 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 21890) > Script /etc/ppp/ip-up finished (pid 21890), status = 0x0 > 2010-09-10 18:07:59 [21803] [5] INFO: mmsbox_mm1.c:379 <handle_mm1> > [mmsbox-mm1] [n/a] start_gprs returned PID: 21872 > 2010-09-10 18:07:59 [21803] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to > 0x0003. > 2010-09-10 18:08:01 [21803] [5] INFO: mmsbox_mm1.c:589 <write_octstr_data> > [mmsbox-mm1] [n/a] write_data called with nmemn=401, size=1 > 2010-09-10 18:08:01 [21803] [5] WARNING: Error parsing application-header. > 2010-09-10 18:08:01 [21803] [5] DEBUG: Octet string at 0x8b754f0: > 2010-09-10 18:08:01 [21803] [5] DEBUG: len: 401 > 2010-09-10 18:08:01 [21803] [5] DEBUG: size: 1024 > 2010-09-10 18:08:01 [21803] [5] DEBUG: immutable: 0 > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3c 3f 78 6d 6c 20 76 65 72 73 > 69 6f 6e 3d 27 31 <?xml version='1 > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 2e 30 27 3f 3e 0a 3c 21 44 4f > 43 54 59 50 45 20 .0'?>.<!DOCTYPE > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 68 74 6d 6c 20 50 55 42 4c 49 > 43 20 27 2d 2f 2f html PUBLIC '-// > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 57 41 50 46 4f 52 55 4d 2f 2f > 44 54 44 20 58 48 WAPFORUM//DTD XH > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 54 4d 4c 20 4d 6f 62 69 6c 65 > 20 31 2e 30 2f 2f TML Mobile 1.0// > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 45 4e 27 0a 27 68 74 74 70 3a > 2f 2f 77 77 77 2e EN'.'http://www. > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 77 61 70 66 6f 72 75 6d 2e 6f > 72 67 2f 44 54 44 wapforum.org/DTD > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 2f 78 68 74 6d 6c 2d 6d 6f 62 > 69 6c 65 31 30 2e /xhtml-mobile10. > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 64 74 64 27 3e 0a 3c 68 74 6d > 6c 20 78 6d 6c 6e dtd'>.<html xmln > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 73 3d 27 68 74 74 70 3a 2f 2f > 77 77 77 2e 77 33 s='http://www.w3 > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 2e 6f 72 67 2f 31 39 39 39 2f > 78 68 74 6d 6c 27 .org/1999/xhtml' > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3e 0a 3c 68 65 61 64 3e 0a 3c > 74 69 74 6c 65 3e >.<head>.<title> > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 54 68 65 20 72 65 71 75 65 73 > 74 20 66 61 69 6c The request fail > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 65 64 3c 2f 74 69 74 6c 65 3e > 0a 3c 2f 68 65 61 ed</title>.</hea > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 64 3e 0a 3c 62 6f 64 79 3e 0a > 3c 70 3e 3c 62 69 d>.<body>.<p><bi > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 67 3e 54 68 65 20 72 65 71 75 > 65 73 74 20 69 73 g>The request is > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 20 6e 6f 74 20 75 6e 64 65 72 > 73 74 6f 6f 64 2e not understood. > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3c 2f 62 69 67 3e 3c 2f 70 3e > 0a 3c 70 3e 0a 3c </big></p>.<p>.< > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 69 3e 54 65 63 68 6e 69 63 61 > 6c 20 64 65 73 63 i>Technical desc > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 72 69 70 74 69 6f 6e 3a 3c 2f > 69 3e 3c 62 72 2f ription:</i><br/ > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3e 34 30 30 20 42 61 64 20 52 > 65 71 75 65 73 74 >400 Bad Request > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 20 2d 20 43 68 65 63 6b 20 79 > 6f 75 72 20 73 70 - Check your sp > 2010-09-10 18:08:01 [21803] [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-10 18:08:01 [21803] [5] DEBUG: data: 65 71 75 65 73 74 65 64 20 55 > 52 4c 2e 3c 2f 70 equested URL.</p > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3e 0a 3c 2f 62 6f 64 79 3e 0a > 3c 2f 68 74 6d 6c >.</body>.</html > 2010-09-10 18:08:01 [21803] [5] DEBUG: data: 3e > > > 2010-09-10 18:08:01 [21803] [5] DEBUG: Octet string dump ends. > 2010-09-10 18:08:01 [21803] [5] ERROR: mmsbox_mm1.c:499 <handle_mm1> > [mmsbox-mm1] [n/a] Sending failed: (none), (none)! > 2010-09-10 18:08:01 [21803] [5] INFO: mmsbox_mm1.c:524 <handle_mm1> > [mmsbox-mm1] [n/a] GPRS turned off returned: 0 > 2010-09-10 18:08:01 [21803] [20] INFO: mmsbox_mm1.c:345 <send_msg> > [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none) > Terminating on signal 15 > 2010-09-10 18:08:01 [21803] [20] INFO: bearerbox.c:1519 <sendMsg> [MM7] [n/a] > Retry later MMSBox Outgoing Queue MMS Send: From +xxxxxxxx/TYPE=PLMN, to > +xxxxxxxxx/TYPE=PLMN, msgsize=112: msgid=[N/A] > Connect time 0.1 minutes. > Sent 552 bytes, received 700 bytes. > Script /etc/ppp/ip-down started (pid 21896) > sent [LCP TermReq id=0x3 "User request"] > Script /etc/ppp/ip-down finished (pid 21896), status = 0x0 > rcvd [LCP TermAck id=0x3 "User request"] > Connection terminated. > > SMSC `TEST' re-started > > 2010-09-10 18:08:09 [21803] [5] INFO: mmsbox_mm1.c:539 <handle_mm1> > [mmsbox-mm1] [n/a] SMSC turned on > > --------------------------------------------------------------------------------------------------MMSBOX.CONF > > group = core > log-file = /var/log/mbuni/mmsbox.log > access-log = /var/log/mbuni/mmsbox-access.log > log-level = 0 > > group = mbuni > name="MMS_GPRS" > storage-directory = /var/www/html/mms > max-send-threads = 5 > maximum-send-attempts = 2 > default-message-expiry = 360000 > queue-run-interval = 5 > send-attempt-back-off = 300 > #sendsms-url = http://127.0.0.1:13013/cgi-bin/sendsms > sendmms-port = 10001 > unified-prefix = "+225,00225,04,05;+,00+,00" > mmsbox-admin-port = 10005 > admin-password = admin111 > admin-port-ssl = false > > group = mmsc > id = modem > type = custom > custom-settings = "smsc-on=lynx -dump > 'http://127.0.0.1:13000/start-smsc?password=bar&smsc=TEST';smsc-off=lynx > -dump 'http://127.0.0.1:13000/stop-smsc?password=bar&smsc=TEST';gprs-on=pppd > call test-auth;gprs-pid=cat /var/run/ppp0-mbuni.pid|head > -1;port=8080;mmsc-url=http://mms.xxx.xxx.xxx.xxx:10021/mmsc;proxy=xxx.xxx.xxx.xxx:8080;msisdn=100" > mmsc-library = /usr/local/lib/libmmsbox_mm1.so > > > group = send-mms-user > username = foo > password = bar > faked-sender = 1111 > > > As you can see, in the logs, the connection to operator seems to be Ok. > tail -f /var/log/messages > Sep 10 18:25:50 localhost pppd[22010]: pppd 2.4.4 started by root, uid 0 > Sep 10 18:25:51 localhost chat[22011]: abort on (BUSY) > Sep 10 18:25:51 localhost chat[22011]: abort on (NO CARRIER) > Sep 10 18:25:51 localhost chat[22011]: abort on (VOICE) > Sep 10 18:25:51 localhost chat[22011]: abort on (NO DIALTONE) > Sep 10 18:25:51 localhost chat[22011]: abort on (NO DIAL TONE) > Sep 10 18:25:51 localhost chat[22011]: abort on (NO ANSWER) > Sep 10 18:25:51 localhost chat[22011]: abort on (DELAYED) > Sep 10 18:25:51 localhost chat[22011]: report (CONNECT) > Sep 10 18:25:51 localhost chat[22011]: timeout set to 6 seconds > Sep 10 18:25:51 localhost chat[22011]: send (ATQ0^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (ATZ^M) > Sep 10 18:25:51 localhost chat[22011]: timeout set to 3 seconds > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (AT^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (ATI^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: WAVECOM MODEM^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: MULTIBAND 900E 1800 ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (ATZ^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (AT^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (AT+CGDCONT=1,"IP","xxxxxx"^M) > Sep 10 18:25:51 localhost chat[22011]: expect (OK) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: OK > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (ATDT*99***1#^M) > Sep 10 18:25:51 localhost chat[22011]: timeout set to 30 seconds > Sep 10 18:25:51 localhost chat[22011]: expect (CONNECT) > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: ^M > Sep 10 18:25:51 localhost chat[22011]: CONNECT > Sep 10 18:25:51 localhost chat[22011]: -- got it > Sep 10 18:25:51 localhost chat[22011]: send (^M) > Sep 10 18:25:51 localhost pppd[22010]: Serial connection established. > Sep 10 18:25:51 localhost pppd[22010]: Using interface ppp0 > Sep 10 18:25:51 localhost pppd[22010]: Connect: ppp0 <--> /dev/ttyUSB0 > Sep 10 18:25:56 localhost pppd[22010]: Remote message: Welcome! > Sep 10 18:25:56 localhost pppd[22010]: PAP authentication succeeded > Sep 10 18:25:56 localhost pppd[22010]: local IP address 10.237.204.77 > Sep 10 18:25:56 localhost pppd[22010]: remote IP address 192.168.111.111 > Sep 10 18:25:56 localhost pppd[22010]: primary DNS address xxx.xxx.xxx.xxx > Sep 10 18:25:56 localhost pppd[22010]: secondary DNS address xxx.xxx.xxx.xxx > Sep 10 18:26:01 localhost pppd[22010]: Terminating on signal 15 > Sep 10 18:26:01 localhost pppd[22010]: Connect time 0.1 minutes. > Sep 10 18:26:01 localhost pppd[22010]: Sent 552 bytes, received 700 bytes. > Sep 10 18:26:01 localhost pppd[22010]: Connection terminated. > Sep 10 18:26:02 localhost pppd[22010]: Exit. > > is there something wrong? > ------------------------------------------------------------ifconfig -a > eth0 Link encap:Ethernet HWaddr 00:14:22:1C:29:03 > inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx > Mask:255.255.255.248 > inet6 addr: fe80::214:22ff:fe1c:2903/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:182688 errors:0 dropped:0 overruns:0 frame:0 > TX packets:128525 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:13139606 (12.5 MiB) TX bytes:12195361 (11.6 MiB) > > eth1 Link encap:Ethernet HWaddr 00:14:22:1C:29:04 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:34411 errors:0 dropped:0 overruns:0 frame:0 > TX packets:34411 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:5216649 (4.9 MiB) TX bytes:5216649 (4.9 MiB) > > ppp0 Link encap:Point-to-Point Protocol > inet addr:10.237.196.149 P-t-P:192.168.111.111 > Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:3 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:54 (54.0 b) TX bytes:66 (66.0 b) > > sit0 Link encap:IPv6-in-IPv4 > NOARP MTU:1480 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > > Do you have some advices ?? > Tahnks > Mike > > > > > > > > > > > > _______________________________________________ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman/listinfo/users
pgpLrMvr5fI3m.pgp
Description: PGP signature
_______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users