gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bluez-users] Re: Connected to the internet over bluez


From: Timothy Murphy
Subject: Re: [Bluez-users] Re: Connected to the internet over bluez
Date: Wed, 6 Aug 2003 01:33:16 +0100
User-agent: KMail/1.4.3

On Thursday 24 July 2003 11:41, Pawel Kot wrote:

> What I do is:
> 1. plug-in the device ;-)
> 2. Hotplug loads the neccesary drivers (I have usb dongle)
> 3. Load rfcomm and l2cap modules:
> #modprobe rfcomm
> #modprobe l2cap
> 4. bluez module should automatically get loaded
> 5. Run hcid and sdpd daemons:
> # hcid
> # sdpd
> 6. Discover your phone maccaddress:
> # hcitool scan
> 7. Connect the device to the socket:
> # rfcomm bind /dev/rfcomm0 <macaddress> 1
>
> Now you can use your usual scripts to connect over /dev/rfcomm0 port.

Since writing I've got connected to the Internet under Windows-2000
but sadly not under Linux.
If I might trouble the experts for a moment,
my problem comes at the end of Pavel's advice above.

Here is the output when I try to connect.
I wonder if some kind soul could tell me
the meaning of the sequence below.
I take it that the problem is the ProtRej packet from the phone?

My laptop (william) is a Sony C1VFK Picturebook;
my phone (gayleard) is a Nokia 6310.

For completeness I give the file /etc/ppp/peers/gayleard which I call,
and the chat sequence /etc/ppp/O2.chat invoked.
(My pap-secrets contains the username and password I was given.)

===================================================
Script started on Tue Aug  5 17:36:48 2003
address@hidden tim]$ pppd debug call gayleard
Serial connection established.
using channel 8
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbe5542ed> <pcomp> <accomp>]
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0xbe5542ed> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x1 <addr 192.168.3.5> <compress VJ 0f 01>]
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x3 "No network protocols running"]
rcvd [LCP TermAck id=0x3]
Connection terminated.
address@hidden tim]# exit
exit
address@hidden tim]$ exit
Script done on Tue Aug  5 17:43:10 2003
===================================================
rfcomm0 115200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/O2.chat'
noauth
nodetach
mru 1500
mtu 1500
idle 600
==================================================
TIMEOUT         5                               
ABORT           '\nBUSY\r'                      
ABORT           '\nERROR\r'                     
ABORT           '\nNO ANSWER\r'                 
ABORT           '\nNO CARRIER\r'                
ABORT           '\nNO DIALTONE\r'               
ABORT           '\nRINGING\r\n\r\nRINGING\r'    
''              \rAT                            
TIMEOUT         12                              
OK              ATH                             
OK              ATE1                            
OK              AT+CGDCONT=1,"IP","internet","",0,0     
OK              ATD*99#                         
TIMEOUT         22                              
CONNECT         ""                              
===================================================

Any suggestions or advice gratefully received.

-- 
Timothy Murphy  
e-mail: address@hidden
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]