From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 11 Oct 2007 14:34:18 +0200 From: Radek (Fotopiper) To: bluez-devel@lists.sf.net Message-ID: <20071011143418.65350112@darkstar.example.net> Mime-Version: 1.0 Subject: [Bluez-devel] RFCOMM - serial line looped back. Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hello, I'm getting a "Serial line is looped back." from pppd when I try to connect to the net threw my GSM phone. pppd 2.4.4 kernel 2.6.22.8 (22.2 & 22.9 give the same results) Bluez 3.20 (libs&utils) Slacware 12 PPPD debug fallows "serial line looped back" and (at the end of mail) "LCP terminated by peer (peer refused to authenticate)". Any suggestions what I am doing wrong? Best regards to all! #>pppd debug gives (chat echo on): abort on (NOCARRIER) abort on (BUSY) abort on (ERROR) send (ATZ^M) expect (OK) ATZ ATZ^M^M OKOK -- got it send (AT+CGDCONT=1,"IP","wpmobi.internet"^M) expect (OK) ^M AT+CGDCONT=1,"IP","wpmobi.internet" AT+CGDCONT=1,"IP","wpmobi.internet"^M^M OKOK -- got it send (ATDT*99***1#^M) Serial connection established. using channel 2 Using interface ppp0 Connect: ppp0 <--> /dev/rfcomm0 sent [LCP ConfReq id=0x1 ] rcvd [LCP ConfReq id=0x1 ] sent [LCP ConfNak id=0x1 ] rcvd [LCP ConfNak id=0x1 ] sent [LCP ConfReq id=0x2 ] rcvd [LCP ConfReq id=0x2 ] sent [LCP ConfNak id=0x2 ] rcvd [LCP ConfNak id=0x2 ] sent [LCP ConfReq id=0x3 ] rcvd [LCP ConfReq id=0x3 ] sent [LCP ConfNak id=0x3 ] rcvd [LCP ConfNak id=0x3 ] sent [LCP ConfReq id=0x4 ] rcvd [LCP ConfReq id=0x4 ] sent [LCP ConfNak id=0x4 ] rcvd [LCP ConfNak id=0x4 ] sent [LCP ConfReq id=0x5 ] rcvd [LCP ConfReq id=0x5 ] sent [LCP ConfNak id=0x5 ] rcvd [LCP ConfNak id=0x5 ] sent [LCP ConfReq id=0x6 ] rcvd [LCP ConfReq id=0x6 ] sent [LCP ConfNak id=0x6 ] rcvd [LCP ConfNak id=0x6 ] sent [LCP ConfReq id=0x7 ] rcvd [LCP ConfReq id=0x7 ] sent [LCP ConfNak id=0x7 ] rcvd [LCP ConfNak id=0x7 ] sent [LCP ConfReq id=0x8 ] rcvd [LCP ConfReq id=0x8 ] sent [LCP ConfNak id=0x8 ] rcvd [LCP ConfNak id=0x8 ] sent [LCP ConfReq id=0x9 ] rcvd [LCP ConfReq id=0x9 ] sent [LCP ConfNak id=0x9 ] rcvd [LCP ConfNak id=0x9 ] sent [LCP ConfReq id=0xa ] rcvd [LCP ConfReq id=0xa ] sent [LCP ConfNak id=0xa ] rcvd [LCP ConfNak id=0xa ] Serial line is looped back. sent [LCP TermReq id=0xb "Loopback detected"] rcvd [LCP TermReq id=0xb "Loopback detected"] sent [LCP TermAck id=0xb] rcvd [LCP TermAck id=0xb] Connection terminated. #> peers-file: lock passive noipdefault asyncmap 0 modem usepeerdns defaultroute noauth /dev/rfcomm0 connect "/usr/sbin/chat -e -s -v -f /etc/ppp/chat/chat-PL.wpMobi.pl" #> chat script: ABORT NOCARRIER ABORT BUSY ABORT ERROR '' ATZ OK 'AT+CGDCONT=1,"IP","wpmobi.internet"' OK ATDT*99***1# #> sometimes pppd gives different resoults: abort on (NOCARRIER) abort on (BUSY) abort on (ERROR) send (ATZ^M) expect (OK) ATZ ATZ^M^M OKOK -- got it send (AT+CGDCONT=1,"IP","wpmobi.internet"^M) expect (OK) ^M AT+CGDCONT=1,"IP","wpmobi.internet" AT+CGDCONT=1,"IP","wpmobi.internet"^M^M OKOK -- got it send (ATDT*99***1#^M) Serial connection established. using channel 3 Using interface ppp0 Connect: ppp0 <--> /dev/rfcomm0 sent [LCP ConfReq id=0x1 ] rcvd [LCP ConfReq id=0x1 ] No auth is possible sent [LCP ConfRej id=0x1 ] rcvd [LCP ConfRej id=0x1 ] sent [LCP ConfReq id=0x2 ] rcvd [LCP ConfReq id=0x2 ] sent [LCP ConfAck id=0x2 ] rcvd [LCP ConfAck id=0x2 ] sent [CCP ConfReq id=0x1 ] sent [IPCP ConfReq id=0x1 < ms-dns3 0.0.0.0>] rcvd [LCP TermReq id=0x3 "peer refused to authenticate"] LCP terminated by peer (peer refused to authenticate) sent [LCP TermAck id=0x3] rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Connection terminated. Modem hangup ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel