Aug 8 17:16:17 mobius pppd[21918]: Connect: ppp0 <--> /dev/ttyACM1
Aug 8 17:16:20 mobius pppd[21918]: CHAP authentication succeeded:
Congratulations!
Aug 8 17:16:20 mobius pppd[21918]: CHAP authentication succeeded
Aug 8 17:16:20 mobius pppd[21918]: LCP terminated by peer
Aug 8 17:16:20 mobius pppd[21918]: Modem hangup
Aug 8 17:16:20 mobius pppd[21918]: Connection terminated.
Aug 8 17:16:20 mobius pppd[21918]: Exit.
From the PPP negotiation (full log below), it appears that I am
receiving a termination request from the peer. The SIM gives me 3G data
access when inserted into a phone and the data card works when used
with the bundled windows dialer when plugged into a Windows XP box.
The device appears to be well supported and there are numerous reports
of success with Linux online. I am not very sure what it is that I am
doing wrong.
My wvdial configuration is:
[Dialer bsnl]
Phone = *99#
ISDN = 0
Modem = /dev/ttyACM1
Username = " "
Password = " "
Init3 = AT+CGDCONT=1,"ip","bsnlnet"
Stupid Mode = 1
New PPPD = yes
PPP negotiation log:
Aug 8 17:16:17 mobius pppd[21918]: using channel 11
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP ConfReq id=0x2 <auth
chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xaf7d9f1c>]
Aug 8 17:16:20 mobius pppd[21918]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0xdb2b5299> <pcomp> <accomp>]
Aug 8 17:16:20 mobius pppd[21918]: sent [LCP ConfAck id=0x2 <auth
chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xaf7d9f1c>]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP ConfReq id=0x3 <auth
chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xaf7d9f1c>]
Aug 8 17:16:20 mobius pppd[21918]: sent [LCP ConfAck id=0x3 <auth
chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xaf7d9f1c>]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0xdb2b5299> <pcomp> <accomp>]
Aug 8 17:16:20 mobius pppd[21918]: sent [LCP EchoReq id=0x0
magic=0xdb2b5299]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP EchoRep id=0x0
magic=0xaf7d9f1c]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [CHAP Challenge id=0x0
<e7943d328300397edf2cf58afb187156d7c4ade27330a92ecf5c653aeb48e106c7f41d926360>,
name = "Kermit"]
Aug 8 17:16:20 mobius pppd[21918]: sent [CHAP Response id=0x0
<750efdc6f535c4d6df4e8336430da6af>, name = " "]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [CHAP Success id=0x0
"Congratulations!"]
Aug 8 17:16:20 mobius pppd[21918]: sent [CCP ConfReq id=0x1
<deflate 15> <deflate(old#) 15> <bsd v1 15>]
Aug 8 17:16:20 mobius pppd[21918]: 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>]
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP ProtRej id=0x1 80 fd 01 01
00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Aug 8 17:16:20 mobius pppd[21918]: Protocol-Reject for 'Compression
Control Protocol' (0x80fd) received
Aug 8 17:16:20 mobius pppd[21918]: rcvd [LCP TermReq id=0x1]
Aug 8 17:16:20 mobius pppd[21918]: sent [LCP TermAck id=0x1]
--
Alok
How's the wife? Is she at home enjoying capitalism?
pppd 2.4.5 started by root, uid 0
1330 Aug 1 10:19:15 shenron chat[14699]: send (AT^M)
1331 Aug 1 10:19:15 shenron chat[14699]: expect (OK)
1332 Aug 1 10:19:15 shenron chat[14699]: ^M
1333 Aug 1 10:19:15 shenron chat[14699]: OK
1334 Aug 1 10:19:15 shenron chat[14699]: -- got it
1335 Aug 1 10:19:15 shenron chat[14699]: send (ATD*99#^M)
1336 Aug 1 10:19:15 shenron chat[14699]: expect (CONNECT)
1337 Aug 1 10:19:15 shenron chat[14699]: ^M
1338 Aug 1 10:19:16 shenron chat[14699]: ^M
1339 Aug 1 10:19:16 shenron chat[14699]: CONNECT
1340 Aug 1 10:19:16 shenron chat[14699]: -- got it
1341 Aug 1 10:19:16 shenron pppd[14697]: Serial connection established.
1342 Aug 1 10:19:16 shenron pppd[14697]: Using interface ppp0
1343 Aug 1 10:19:16 shenron pppd[14697]: Connect: ppp0 <--> /dev/ttyACM0
1344 Aug 1 10:19:16 shenron pppd[14697]: Remote message: Congratulations!
1345 Aug 1 10:19:16 shenron pppd[14697]: PAP authentication succeeded
krish@shenron:/usr/lib/BSNL/ppp/peers$ ls
provider wvdial wvdial-pipe
krish@shenron:/usr/lib/BSNL/ppp/peers$ grep -v "#" *
provider:
provider:user "myusername@realm"
provider:
provider:connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
provider:
provider:/dev/modem
provider:
provider:115200
provider:
provider:noipdefault
provider:usepeerdns
provider:defaultroute
provider:
provider:persist
provider:
provider:noauth
provider:
wvdial:noauth
wvdial:name wvdial
wvdial:usepeerdns
wvdial-pipe:noauth
wvdial-pipe:name wvdial
wvdial-pipe:
wvdial-pipe:plugin passwordfd.so
wvdial-pipe:
wvdial-pipe:defaultroute
wvdial-pipe:replacedefaultroute
Helps?
--
Srikrishna Das
(krish at irc.freenode.net)
I notice from your dialer script that you are not setting the APN which
I assumed is essential for the CellOne 3G service. Are you using the
Teracom LW273 data card ?
Also, I see /usr/lib/BSNL. Is this something that you've created ? I did
see some references to a deb that's on the device but none of the
configurations options (1, 2 or 3) give me access to the flash storage
on the device. If you have the deb that is on the device, could you
upload it someplace so that I could take a look at it ?
--
Alok
Tuesday is the Wednesday of the rest of your life.
http://srikrishnadas.wordpress.com/2010/11/11/bsnl-deserves-a-standing-ovation/
Deb file: http://sharesend.com/cjv3o
--
Alok