Dave Booth wrote:
> Pulled barry this morning from the fc10 update repos (x86_64) and
> found it installs just fine, recognizes and charges my 8120 and chats
> with it just fine using the distributed barry-tmobileus options file
> and chat script. It makes a connection and starts to negotiate but
> every time gets "LCP terminated by peer" and drops the link. I know it
> isnt a setting on the tmobile end, because I can use (and am using
> now, in fact) the same hardware to connect successfully with vista
> 64bit. Compared configs and recalled that I had to disable all
> compression to make it work on vista, so I added the nodeflate option
> to barry-tmobileus but that didnt fix anything.
>
> Any ideas? Output from setting pppob -v in the options file and
> everything pppd sent to /var/log/messages is pasted below. This output
> was produced with a freshly rebooted handheld to make sure nothing was
> hung up there.
>
> Many thanks,
>
> Dave B
>
> =====================================================
> from /var/log/messages
> =====================================================
> Jan 12 13:51:27 localhost kernel: PPP generic driver version 2.4.2
> Jan 12 13:51:27 localhost pppd[3606]: pppd 2.4.4 started by root, uid 0
> Jan 12 13:51:29 localhost pppd[3606]: Serial connection established.
> Jan 12 13:51:29 localhost pppd[3606]: Using interface ppp0
> Jan 12 13:51:29 localhost pppd[3606]: Connect: ppp0 <--> /dev/pts/2
> Jan 12 13:51:36 localhost pppd[3606]: LCP terminated by peer
> Jan 12 13:51:36 localhost pppd[3606]: Connection terminated.
> Jan 12 13:51:41 localhost pppd[3606]: Exit.
>
> =====================================================
> output from pppob -v
> =====================================================
>
> [r...@localhost ~]# pppd call barry-tmobileus
> usb_set_debug: Setting debugging level to 9 (on)
>
> ReadThread:
>     00000000: 0d 0a 43 4f 4e 4e 45 43 54 0d 0a                 ..CONNECT..
>
> Serial connection established.
> using channel 1
> Using interface ppp0
> Connect: ppp0 <--> /dev/pts/2
> sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
> BulkWrite to endpoint 11:
>     00000000: 7e ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 2a 7d 22  ~.}#.!}!}!} 
> }*}"
>     00000010: 7d 26 7d 20 7d 20 7d 20 7d 20 58 7b 7e           }&} } } } X{~
>
> IPModem special packet:
>     00000000: 00 00 00 00 20 00 00 00 20 00 00 00 00 00 00 00  .... ... 
> .......
>     00000010: 18 00 00 00 78 56 34 12                          ....xV4.
>
> ReadThread:
>     00000000: 7e ff 7d 23 c0 21 7d 21 7d 20 7d 20 7d 2e 7d 22  ~.}#.!}!} } 
> }.}"
>     00000010: 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 24 c0 23  }&} } } } 
> }#}$.#
>     00000020: 7d 29 a1 7e                                      }).~
>
> ReadThread:
>     00000000: 7e ff 7d 23 c0 21 7d 22 7d 21 7d 20 7d 2a 7d 22  ~.}#.!}"}!} 
> }*}"
>     00000010: 7d 26 7d 20 7d 20 7d 20 7d 20 31 7d 2f 7e        }&} } } } 1}/~
>
> rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth pap>]
> No auth is possible
>
>   
Looks like pppd is trying to establish authorization. I am not familiar 
with tmobileus but if authorization is not needed try adding noauth to 
your barry-tmobileus peers file.  Also check the /etc/ppp/options file. 
You may have to added there also.

--Andy

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to