[beagleboard] PPP error

539 views
Skip to first unread message

Thomas Ng

unread,
Nov 23, 2009, 4:29:36 AM11/23/09
to beagl...@googlegroups.com
Hi,
while I was trying to do a pppd dial-up through a 3G modem, the following messages
keep poping up on my console.
and ifconfig did not show any ppp0 interface (think the dial-up fail but I don't know how to check).
 
[   67.203918] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[   67.230133] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[   67.278167] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[   67.304260] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[   67.343627] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[   67.366790] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[   70.404815] slhc: exports duplicate symbol slhc_toss (owned by kernel)
...
 
can anyone help ?
 
I am using kernel 2.6.29 with Angstrom distribution.
Thanks!
 
- Thomas

David Batzle

unread,
Nov 23, 2009, 4:41:33 AM11/23/09
to beagl...@googlegroups.com

--- On Mon, 11/23/09, Thomas Ng <thomasn...@gmail.com> wrote:

I don't know anything about the messages you posted. I know that pppd has
the ability to create a log file. If you didn't already it might be worth
it to make sure the log file is being generated and check it for more
information.

David.



Thomas Ng

unread,
Nov 23, 2009, 4:52:46 AM11/23/09
to beagl...@googlegroups.com
In fact, that is another issue I face.
 
In my ubuntu pc, I can use plog to see the pppd progress, or look at the log at /var/log/syslog.
 
In beagleboard however, there's no plog, and I could not find the syslog as well.
 
Any idea how to enable one of those ?
 
p/s: I was using OE to build this Angstrom distribution.
 
- Thomas





--

You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=.



David Batzle

unread,
Nov 23, 2009, 4:57:42 AM11/23/09
to beagl...@googlegroups.com

No idea how to enable those. I also did this under Angstrom. What I did
was to use the command line to tell pppd where I wanted it to put its log
then view the log with cat ppplog.txt |more

David.



David Batzle

unread,
Nov 23, 2009, 5:01:18 AM11/23/09
to beagl...@googlegroups.com

--- On Mon, 11/23/09, David Batzle <n2...@yahoo.com> wrote:

> From: David Batzle <n2...@yahoo.com>
> Subject: Re: [beagleboard] PPP error
> To: beagl...@googlegroups.com
> Date: Monday, November 23, 2009, 4:57 AM
>
>
> --- On Mon, 11/23/09, Thomas Ng <thomasn...@gmail.com>
> wrote:
>
> > From: Thomas Ng <thomasn...@gmail.com>
> > Subject: Re: [beagleboard] PPP error
> > To: beagl...@googlegroups.com
> > Date: Monday, November 23, 2009, 4:52 AM
> > In fact, that is another issue I
> > face.
> >  
> > In my ubuntu pc, I can use plog to see the pppd
> > progress, or look at the log at /var/log/syslog.
> >  
> > In beagleboard however, there's no plog, and I
> > could not find the syslog as well.
> >  
> > Any idea how to enable one of those ?
> >  
> > p/s: I was using OE to build this Angstrom
> > distribution.
> >  

> > David.


> >
> No idea how to enable those. I also did this under
> Angstrom. What I did
> was to use the command line to tell pppd where I wanted it
> to put its log
> then view the log with cat ppplog.txt |more
>
> David.
>

Just wanted to clarify that the log was called ppplog.txt because that is
what I told pppd to name it. Not sure what it is by default.

David.



Thomas Ng

unread,
Nov 23, 2009, 5:24:26 AM11/23/09
to beagl...@googlegroups.com
thanks David.
 
here are my screen dump after "enabling" the pppd log:
 
===============================================================
root@beagleboard:/etc/ppp/peers# pppd logfile pppd.txt call tr900-m1
[ 3989.855041] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3989.878631] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 3989.914459] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3989.941101] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 3989.983520] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3990.006744] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 3993.051696] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3993.074798] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 3996.108734] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3996.131958] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 3999.170104] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 3999.193298] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4002.227478] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4002.253692] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4005.287963] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4005.311187] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4008.349090] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4008.372314] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4011.406616] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4011.432708] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4014.467102] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4014.490356] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 4017.527648] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 4017.550933] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
root@beagleboard:/etc/ppp/peers# cat pppd.txt
Serial connection established.n...
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
LCP terminated by peer (M-O^J)
Connection terminated.
root@beagleboard:/etc/ppp/peers# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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 know what is causing the "LCP terminated by peer (M-O^J)" ?
I used the same scripts "tr900-m1" in PC and it was working fine. but why not in beagleboard ?
 
- Thomas

 

David Batzle

unread,
Nov 23, 2009, 5:58:32 AM11/23/09
to beagl...@googlegroups.com

--- On Mon, 11/23/09, Thomas Ng <thomasn...@gmail.com> wrote:

> From: Thomas Ng <thomasn...@gmail.com>
> Subject: Re: [beagleboard] PPP error
> To: beagl...@googlegroups.com

A Google search for "LCP terminated by peer" turned up some stuff that may
or may not help you. You might have to wait until someone that knows more
about the kernel modules can tell you if that is the problem.

You can try lsmod to see if the ppp_generic and slhc modules are there.
You can also try to look in /proc/config.gz to see if they were compiled
into the kernel, but I don't think they would be by default.

That's about all I know.

David.



Hunyue Yau

unread,
Nov 23, 2009, 12:13:42 PM11/23/09
to beagl...@googlegroups.com, Thomas Ng
Try turning on debug via the command line i.e.
pppd debug logfile /tmp/pppd.trace nodetach call FOOBAR

Take a look at /tmp/pppd.trace afterwards and see what it is unhappy about.

You could also take a peek at the slides I did for a quick talk on PPP
debugging. They are in my downloads section of my webpage.
> > beagleboard...@googlegroups.com<beagleboard%2Bunsubscribe@google
> >groups.com> .
> > For more options, visit this group at
> > http://groups.google.com/group/beagleboard?hl=.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group. To post to this group, send email to
> beagl...@googlegroups.com. To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com. For more options, visit this
> group at http://groups.google.com/group/beagleboard?hl=.

--
Hunyue Yau
http://www.hy-research.com/

Thomas Ng

unread,
Nov 24, 2009, 4:07:20 AM11/24/09
to Hunyue Yau, beagl...@googlegroups.com
it look like the server is not happy about the dns request, and terminate the connection right after.
did I miss any thing?
 
 
=====================================================
root@beagleboard:/etc/ppp/peers# pppd call tr900.m1.pppd nodetach debug
pppd options in effect:
debug debug debug               # (from command line)
nodetach                # (from command line)
dump            # (from /etc/ppp/peers/tr900.m1.pppd)
noauth          # (from /etc/ppp/peers/tr900.m1.pppd)
/dev/ttyUSB0            # (from /etc/ppp/peers/tr900.m1.pppd)
115200          # (from /etc/ppp/peers/tr900.m1.pppd)
lock            # (from /etc/ppp/options)
connect /usr/sbin/chat -v -f /etc/ppp/peers/tr900.m1.chat               # (from /etc/ppp/peers/tr900.m1.pppd)
nocrtscts               # (from /etc/ppp/peers/tr900.m1.pppd)
local           # (from /etc/ppp/peers/tr900.m1.pppd)
asyncmap 0              # (from /etc/ppp/peers/tr900.m1.pppd)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/peers/tr900.m1.pppd)
novj            # (from /etc/ppp/peers/tr900.m1.pppd)
noipdefault             # (from /etc/ppp/peers/tr900.m1.pppd)
defaultroute            # (from /etc/ppp/peers/tr900.m1.pppd)
proxyarp                # (from /etc/ppp/options)
usepeerdns              # (from /etc/ppp/peers/tr900.m1.pppd)
noccp           # (from /etc/ppp/peers/tr900.m1.pppd)
noipx           # (from /etc/ppp/options)
Serial connection established.n...
using channel 5

Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3a24d434> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0x3a24d434>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x11 <asyncmap 0x0> <auth chap MD5> <pcomp> <accomp>]
sent [LCP ConfNak id=0x11 <auth pap>]
rcvd [LCP ConfReq id=0x12 <asyncmap 0x0> <auth pap> <pcomp> <accomp>]
sent [LCP ConfAck id=0x12 <asyncmap 0x0> <auth pap> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [PAP AuthReq id=0x1 user="beagleboard" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x0]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP TermReq id=0x9 "K#"]
LCP terminated by peer (K#)
sent [LCP TermAck id=0x9]
Connection terminated.
=================================
 
- Thomas

Hunyue Yau

unread,
Nov 25, 2009, 2:39:35 AM11/25/09
to beagl...@googlegroups.com
On Tuesday 24 November 2009 01:07, Thomas Ng wrote:
> it look like the server is not happy about the dns request, and terminate
> the connection right after.
> did I miss any thing?

That is one possibly. Remove the "usepeerdns" and see if it helps.

Based on your trace, the other possibilities are -

Your init string is wrong and you've connected to a service you are not
authorized for. Check your chat script and compare it to a working setup.

The username/password you have use may not be setup for IP traffic. Or you
have manage to confuse the other end with your choice of to refuse CHAP.

Unfortunately, there are no standards for these things; each carrier is
different. Even within a carrier there are differences depending on your
billing details and/or history. (i.e. for Tmobile US, there are different
settings depending on what plan you are on; for ATT US, it can vary depending
on if you were an orange or a blue customer originally, etc.)
> --
>
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group. To post to this group, send email to
> beagl...@googlegroups.com. To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com. For more options, visit this
> group at http://groups.google.com/group/beagleboard?hl=en.

Thomas Ng

unread,
Nov 25, 2009, 4:39:38 AM11/25/09
to beagl...@googlegroups.com
Hi,
thanks guys! the pppd finally works on my beagleboard with usb connection to a Huawei E220 modem.
It was indeed some misconfiguration in my chat connect script that cause the remote server to refuse the connection.
I may send my chat config files to you if anyone of you are interested.
 
And the kernel messages reported earlier does not seem to cause any harm... at least for now :)
 
[   67.203918] slhc: exports duplicate symbol slhc_toss (owned by kernel)

[   67.230133] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
- Thomas

tunca

unread,
Nov 28, 2009, 3:11:39 AM11/28/09
to Beagle Board
I'm trying to same thing with leopardboard
could you please send me your ppp configuration

regards
> > > On Tue, Nov 24, 2009 at 1:13 AM, Hunyue Yau <ybea...@rehut.com> wrote:
> > > > Try turning on debug via the command line i.e.
> > > > pppd debug logfile /tmp/pppd.trace nodetach call FOOBAR
>
> > > > Take a look at /tmp/pppd.trace afterwards and see what it is unhappy
> > > > about.
>
> > > > You could also take a peek at the slides I did for a quick talk on PPP
> > > > debugging. They are in my downloads section of my webpage.
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups
> > > "Beagle Board" group. To post to this group, send email to
> > > beagl...@googlegroups.com. To unsubscribe from this group, send email
> > to
> > > beagleboard...@googlegroups.com<beagleboard%2Bunsubscribe@googlegr oups.com>.
> > For more options, visit this
> > > group athttp://groups.google.com/group/beagleboard?hl=en.
>
> > --
> > Hunyue Yau
> >http://www.hy-research.com/
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Beagle Board" group.
> > To post to this group, send email to beagl...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > beagleboard...@googlegroups.com<beagleboard%2Bunsubscribe@googlegr oups.com>

Thomas Ng

unread,
Nov 29, 2009, 10:10:38 PM11/29/09
to beagl...@googlegroups.com
I used the 4 scripts below.
Hope this helps. Let me know if you have any improvements :)

/etc/ppp/options
=============
lock
asyncmap 0
lcp-echo-failure 4
lcp-echo-interval 30
hide-password
proxyarp
noipx

/etc/ppp/peers/provider
=================
connect "/usr/sbin/chat -v -f /etc/ppp/peers/chat.connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/peers/chat.disconnect"
/dev/ttyUSB0
115200
debug
nodetach
dump
noauth
idle 0
user 6597462958
usehostname
crtscts
modem
noipdefault
defaultroute
usepeerdns

/etc/ppp/peers/chat.connect
=====================
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
'' ATZ
OK ATE1
OK AT+CGATT=0
OK AT+CGDCONT=1,"IP","sunsurf"
OK AT+CGATT=1
OK-AT-OK ATDT*99***1#
CONNECT ' '

/etc/ppp/peers/chat.disconnect
=====================
TIMEOUT 5
'NO CARRIER' ATH
OK AT+CGATT=0
OK ATZ

- Thomas


To unsubscribe from this group, send email to beagleboard...@googlegroups.com.

tunca

unread,
Dec 21, 2009, 5:55:57 PM12/21/09
to Beagle Board
Thanks alot Tomas,
Today I'm just able to communicate over UART with 3g SIMCOM SIM5218E
module with my leopardboard.

Below is the output, however no response to any keypress/data from the
SIM5218E module.

/ # uname -
a
Linux dm350 2.6.29-ridgerun-davinci1 #4 PREEMPT Mon Dec 21 21:16:14
EET 2009 ax
/ # stty 115200 < /dev/
ttyS1
/ # microcom -s 115200 /dev/
ttyS1
Opened
Device
put device to raw
mode
set device speed
115200
put stdin to raw mode (if stdin is a
TTY),

START

+CME ERROR: SIM
failure

Alfonso Martone

unread,
Dec 22, 2009, 2:35:45 AM12/22/09
to beagl...@googlegroups.com
> +CME ERROR: SIM


This is not a Beagle board problem.

Your SIM has a "PIN lock".

You should add a command like AT+CPIN=2311 before continuing with ATD
command (change 2311 to your PIN).

alf

tunca

unread,
Dec 27, 2009, 11:12:03 AM12/27/09
to Beagle Board
Dear Thomas & Dear Alfonso

Thanks to your comments not I'm able to make it work to some extend
However there is a little problem and the connection drops.
with the following message

Jan 1 00:03:42 dm350 daemon.warn pppd[355]: IPCP: timeout sending
Config-
Requests
Jan 1 00:03:42 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x2
"No network protocols
running"]
Jan 1 00:03:45 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x3
"No network protocols
running"]
Jan 1 00:03:48 dm350 daemon.notice pppd[355]: Connection
terminated.

Any of your comments are most valuable

Regards
Tunca

I paste the log messages from /var/log/messages on the leopardboard.
====================================================
Jan 1 00:02:05 dm350 daemon.notice pppd[355]: pppd 2.4.5 started by
root, uid
0
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on
(BUSY)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on (NO
CARRIER)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on
(VOICE)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on (NO
DIALTONE)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on (NODIAL
TONE)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on (NO
ANSWER)
Jan 1 00:02:06 dm350 local2.info chat[357]: abort on
(DELAYED)
Jan 1 00:02:06 dm350 local2.info chat[357]: send
(ATZ^M)
Jan 1 00:02:06 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:06 dm350 local2.info chat[357]:
ATZ^M^M
Jan 1 00:02:06 dm350 local2.info chat[357]:
OK
Jan 1 00:02:06 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:06 dm350 local2.info chat[357]: send
(ATE1^M)
Jan 1 00:02:06 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:06 dm350 local2.info chat[357]:
^M
Jan 1 00:02:06 dm350 local2.info chat[357]:
ATE1^M^M
Jan 1 00:02:06 dm350 local2.info chat[357]:
OK
Jan 1 00:02:06 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:06 dm350 local2.info chat[357]: send (AT
+CGATT=0^M)
Jan 1 00:02:06 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:06 dm350 local2.info chat[357]:
^M
Jan 1 00:02:06 dm350 local2.info chat[357]: AT
+CGATT=0^M^M
Jan 1 00:02:06 dm350 local2.info chat[357]:
OK
Jan 1 00:02:06 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:06 dm350 local2.info chat[357]: send (AT
+CGDCONT=1,"IP","mgp"^M)
Jan 1 00:02:07 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:07 dm350 local2.info chat[357]:
^M
Jan 1 00:02:07 dm350 local2.info chat[357]: AT
+CGDCONT=1,"IP","mgp"^M^M
Jan 1 00:02:07 dm350 local2.info chat[357]:
OK
Jan 1 00:02:07 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:07 dm350 local2.info chat[357]: send (AT
+CGATT=1^M)
Jan 1 00:02:07 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:07 dm350 local2.info chat[357]:
^M
Jan 1 00:02:10 dm350 local2.info chat[357]: AT
+CGATT=1^M^M
Jan 1 00:02:10 dm350 local2.info chat[357]:
ERROR^M
Jan 1 00:02:52 dm350 local2.info chat[357]:
alarm
Jan 1 00:02:52 dm350 local2.info chat[357]: send
(AT^M)
Jan 1 00:02:52 dm350 local2.info chat[357]: expect
(OK)
Jan 1 00:02:52 dm350 local2.info chat[357]:
AT^M^M
Jan 1 00:02:52 dm350 local2.info chat[357]:
OK
Jan 1 00:02:52 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:52 dm350 local2.info chat[357]: send
(ATDT*99***1#^M)
Jan 1 00:02:52 dm350 local2.info chat[357]: expect
(CONNECT)
Jan 1 00:02:52 dm350 local2.info chat[357]:
^M
Jan 1 00:02:52 dm350 local2.info chat[357]:
ATDT*99***1#^M^M
Jan 1 00:02:52 dm350 local2.info chat[357]:
CONNECT
Jan 1 00:02:52 dm350 local2.info chat[357]: -- got
it
Jan 1 00:02:52 dm350 daemon.debug pppd[355]: Script /usr/sbin/chat -v
-f /etc/ppp/peers/chat.connect finished (pid 356), status =
0x0
Jan 1 00:02:52 dm350 daemon.info pppd[355]: Serial connection
established.
Jan 1 00:02:52 dm350 daemon.debug pppd[355]: using channel
1
Jan 1 00:02:52 dm350 daemon.info pppd[355]: Using interface
ppp0
Jan 1 00:02:52 dm350 daemon.notice pppd[355]: Connect: ppp0 <--> /dev/
ttyS1
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x51d4f292> <pcomp>
<accomp>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth chap MD5> <magic 0x1648e54> <pcomp>
<accomp>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: sent [LCP ConfNak id=0x0
<auth
pap>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0x51d4f292> <pcomp>
<accomp>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0> <auth pap> <magic 0x1648e54> <pcomp>
<accomp>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth pap> <magic 0x1648e54> <pcomp>
<accomp>]
Jan 1 00:02:53 dm350 daemon.debug pppd[355]: sent [LCP EchoReq id=0x0
magic=0x51d4f292]
Jan 1 00:02:54 dm350 daemon.debug pppd[355]: sent [PAP AuthReq id=0x1
user="5327577111"
password=<hidden>]
Jan 1 00:02:54 dm350 daemon.debug pppd[355]: rcvd [LCP DiscReq id=0x2
magic=0x1648e54]
Jan 1 00:02:54 dm350 daemon.debug pppd[355]: rcvd [LCP EchoRep id=0x0
magic=0x1648e54 51 d4 f2
92]
Jan 1 00:02:54 dm350 daemon.debug pppd[355]: rcvd [PAP AuthAck id=0x1
""]
Jan 1 00:02:54 dm350 daemon.notice pppd[355]: PAP authentication
succeeded
Jan 1 00:02:54 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2
0.0.0.0>]
Jan 1 00:02:55 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:55 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:56 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:56 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:57 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:57 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:58 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x4 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:58 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:59 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x5 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:02:59 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x6 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:00 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x6 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:00 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x7 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:01 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x7 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:01 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x8 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:02 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x8 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:02 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x9 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:03 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x9 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:03 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xa <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:04 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xa <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:04 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xb <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:05 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xb <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:05 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xc <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:06 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xc <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:06 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xd <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:08 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xd <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:08 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xe <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:09 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xe <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:09 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0xf <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:10 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0xf <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:10 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x10 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:11 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x10 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:11 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x11 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:12 dm350 daemon.debug pppd[355]: rcvd [IPCP ConfNak
id=0x11 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:12 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:15 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:18 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:21 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:24 dm350 daemon.debug pppd[355]: sent [LCP EchoReq id=0x1
magic=0x51d4f292]
Jan 1 00:03:24 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:27 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:30 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:33 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:36 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:39 dm350 daemon.debug pppd[355]: sent [IPCP ConfReq
id=0x12 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-
dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins
10.11.12.14>]
Jan 1 00:03:42 dm350 daemon.warn pppd[355]: IPCP: timeout sending
Config-
Requests
Jan 1 00:03:42 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x2
"No network protocols
running"]
Jan 1 00:03:45 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x3
"No network protocols
running"]
Jan 1 00:03:48 dm350 daemon.notice pppd[355]: Connection
terminated.
Jan 1 00:03:48 dm350 local2.info chat[368]: timeout set to 5
seconds
Jan 1 00:03:48 dm350 local2.info chat[368]: expect (NO
CARRIER)
Jan 1 00:03:53 dm350 local2.info chat[368]:
alarm
Jan 1 00:03:53 dm350 local2.info chat[368]:
Failed
Jan 1 00:03:53 dm350 daemon.debug pppd[355]: Script /usr/sbin/chat -v
-f /etc/ppp/peers/chat.disconnect finished (pid 367), status =
0x3
Jan 1 00:03:53 dm350 daemon.warn pppd[355]: disconnect script
failed
Jan 1 00:03:54 dm350 daemon.notice pppd[355]: Modem
hangup
Jan 1 00:03:54 dm350 daemon.info pppd[355]:
Exit.

====================================================

On 22 Aralık, 09:35, Alfonso Martone <alfonso.mart...@gmail.com>
wrote:

Thomas Ng

unread,
Dec 28, 2009, 1:20:51 AM12/28/09
to beagl...@googlegroups.com
I encountered this issue previously when the modem was not hang up properly from previous connection.
 
Same thing may have happened in your case:
>> Jan  1 00:03:53 dm350 daemon.warn pppd[355]: disconnect script failed
You may want to make sure the modem was neatly hangup before attempting to dial up again.
 
Good luck !
 
- Thomas

 
--

You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.

tunca

unread,
Jan 29, 2010, 4:47:36 PM1/29/10
to Beagle Board
I recenly able to connect to internet with my leopardboard.
There was 2 problems, first was I somehow disabled RF transmission on
the modem, and the second was OK AT+CGDCONT=1,"IP","mgd" was wrong. I
changed it to "mgd" then everything worked like a charm.

Thanks a lot thomas for the ppp config scripts.


On Dec 28 2009, 8:20 am, Thomas Ng <thomasngatw...@gmail.com> wrote:
> I encountered this issue previously when the modem was not hang up properly
> from previous connection.
>
> Same thing may have happened in your case:>> Jan  1 00:03:53 dm350 daemon.warn pppd[355]: disconnect script failed
>
> You may want to make sure the modem was neatly hangup before attempting to
> dial up again.
>
> Good luck !
>
> - Thomas
>

> ...
>
> read more »

nagu

unread,
Dec 25, 2012, 2:33:36 AM12/25/12
to beagl...@googlegroups.com
Hi Thomas,
I am also trying to connect 3g usb modem to Beagle Board -Xm Angstrom distribution running on it. With help of your script it worked fine. After working few day it was not connecting through pppd connection. Same USB 3G modem working fine on the other BB-Xm with same setting on the SD Card.


it was loading ppp drivers fine...


root@beagleboard:/etc/ppp/peers# ls /dev/
autofs              network_latency     tty13               tty52
block               network_throughput  tty14               tty53
bsg                 null                tty15               tty54
btrfs-control       ppp                 tty16               tty55
bus                 psaux               tty17               tty56
cdrom               ptmx                tty18               tty57
char                pts                 tty19               tty58
cmem                ram0                tty2                tty59
console             ram1                tty20               tty6
core                ram10               tty21               tty60
cpu_dma_latency     ram11               tty22               tty61
disk                ram12               tty23               tty62
dsplink             ram13               tty24               tty63
fb0                 ram14               tty25               tty7
fb1                 ram15               tty26               tty8
fd                  ram2                tty27               tty9
full                ram3                tty28               ttyO0
fuse                ram4                tty29               ttyO1
i2c-1               ram5                tty3                ttyO2
i2c-2               ram6                tty30               ttyO3
i2c-3               ram7                tty31               ttyS0
initctl             ram8                tty32               ttyS1
input               ram9                tty33               ttyS2
kmem                random              tty34               ttyS3
kmsg                rfkill              tty35               ttyUSB0
log                 rtc0                tty36               ttyUSB1
loop-control        sda                 tty37               ttyUSB2
loop0               sdma                tty38               ttyUSB3
loop1               serial              tty39               uinput
loop2               sg0                 tty4                urandom
loop3               sg1                 tty40               usbdev1.1
loop4               shm                 tty41               usbdev1.2
loop5               snd                 tty42               usbdev1.3
loop6               sr0                 tty43               usbdev1.4
loop7               stderr              tty44               usbdev1.6
lpm0                stdin               tty45               usbmon0
mapper              stdout              tty46               usbmon1
mem                 tty                 tty47        tty0                tty48 1
mmcblk0p1           tty1                tty49               vcsa
mmcblk0p2           tty10               tty5                vcsa1
mqueue              tty11               tty50               watchdog
net                 tty12               tty51               zero



root@beagleboard:~#  pppd logfile pppd.txt call provider
[  231.446746] PPP generic driver version 2.4.2
root@beagleboard:/etc/ppp/peers# lsmod
Module                  Size  Used by
ppp_generic            23429  0 


root@beagleboard:~# cat pppd.txt 
pppd options in effect:
debug           # (from /etc/ppp/peers/provider)
nodetach                # (from /etc/ppp/peers/provider)
idle 0          # (from /etc/ppp/peers/provider)
logfile pppd.txt                # (from command line)
dump            # (from /etc/ppp/peers/provider)
noauth          # (from /etc/ppp/peers/provider)
user 6597462958         # (from /etc/ppp/peers/provider)
usehostname             # (from /etc/ppp/peers/provider)
/dev/ttyUSB3            # (from /etc/ppp/peers/provider)
115200          # (from /etc/ppp/peers/provider)
lock            # (from /etc/ppp/options)
connect /usr/sbin/chat -v -f /etc/ppp/peers/chat.connect                # (from)
disconnect /usr/sbin/chat -v -f /etc/ppp/peers/chat.disconnect          # (from)
crtscts         # (from /etc/ppp/peers/provider)
modem           # (from /etc/ppp/peers/provider)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
noipdefault             # (from /etc/ppp/peers/provider)
defaultroute            # (from /etc/ppp/peers/provider)
proxyarp                # (from /etc/ppp/options)
usepeerdns              # (from /etc/ppp/peers/provider)
noipx           # (from /etc/ppp/options)
Can't read pid from lock file /var/lock/LCK..ttyUSB3
pppd options in effect:
debug           # (from /etc/ppp/peers/provider)
nodetach                # (from /etc/ppp/peers/provider)
idle 0          # (from /etc/ppp/peers/provider)
logfile pppd.txt                # (from command line)
dump            # (from /etc/ppp/peers/provider)
noauth          # (from /etc/ppp/peers/provider)
user 6597462958         # (from /etc/ppp/peers/provider)
usehostname             # (from /etc/ppp/peers/provider)
/dev/ttyUSB3            # (from /etc/ppp/peers/provider)
115200          # (from /etc/ppp/peers/provider)
lock            # (from /etc/ppp/options)
connect /usr/sbin/chat -v -f /etc/ppp/peers/chat.connect                # (from)
disconnect /usr/sbin/chat -v -f /etc/ppp/peers/chat.disconnect          # (from)
crtscts         # (from /etc/ppp/peers/provider)
modem           # (from /etc/ppp/peers/provider)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
noipdefault             # (from /etc/ppp/peers/provider)
defaultroute            # (from /etc/ppp/peers/provider)
proxyarp                # (from /etc/ppp/options)
usepeerdns              # (from /etc/ppp/peers/provider)
noipx           # (from /etc/ppp/options)
Can't read pid from lock file /var/lock/LCK..ttyUSB3
pppd options in effect:
debug           # (from /etc/ppp/peers/provider)
nodetach                # (from /etc/ppp/peers/provider)
idle 0          # (from /etc/ppp/peers/provider)
logfile pppd.txt                # (from command line)
dump            # (from /etc/ppp/peers/provider)
noauth          # (from /etc/ppp/peers/provider)
user 6597462958         # (from /etc/ppp/peers/provider)
usehostname             # (from /etc/ppp/peers/provider)
/dev/ttyUSB3            # (from /etc/ppp/peers/provider)
115200          # (from /etc/ppp/peers/provider)
lock            # (from /etc/ppp/options)
connect /usr/sbin/chat -v -f /etc/ppp/peers/chat.connect                # (from)
disconnect /usr/sbin/chat -v -f /etc/ppp/peers/chat.disconnect          # (from)
crtscts         # (from /etc/ppp/peers/provider)
modem           # (from /etc/ppp/peers/provider)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
noipdefault             # (from /etc/ppp/peers/provider)
defaultroute            # (from /etc/ppp/peers/provider)
proxyarp                # (from /etc/ppp/options)
usepeerdns              # (from /etc/ppp/peers/provider)
noipx           # (from /etc/ppp/options)
Can't read pid from lock file /var/lock/LCK..ttyUSB3

can you help what is this eroor indicate ......


root@beagleboard:/etc/ppp# cat options 
lock
asyncmap 0
lcp-echo-failure 4
lcp-echo-interval 30
hide-password
proxyarp
noipx


root@beagleboard:/etc/ppp/peers# ls
chat.connect     host             wvdial
chat.disconnect  provider         wvdial-pipe
root@beagleboard:/etc/ppp/peers# cat provider 
connect "/usr/sbin/chat -v -f /etc/ppp/peers/chat.connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/peers/chat.disconnect"
/dev/ttyUSB3
115200
debug
nodetach
dump
noauth
idle 0
user 
usehostname
crtscts
modem
noipdefault
defaultroute
usepeerdns

root@beagleboard:/etc/ppp/peers# cat chat.connect 
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TOD
'' ATZ 
OK ATE1
OK AT+CGATT=0
OK AT+CGDCONT=1,"IP","tatadocomo3g" 
OK AT+CGATT=1
OK-AT-OK ATDT*99#
CONNECT ' '


root@beagleboard:/etc/ppp/peers# cat chat.disconnect 
TIMEOUT 5
'NO CARRIER' ATH
OK AT+CGATT=0
OK ATZ



same script and same USB 3G modem working fine on the other board....




thank you..
Reply all
Reply to author
Forward
0 new messages