All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Magdalinski <stefan@whitelabel.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] connection problems with pppd and 6630 over bluez
Date: Tue, 10 May 2005 14:24:58 +0100	[thread overview]
Message-ID: <4280B62A.8040005@whitelabel.org> (raw)
In-Reply-To: <1115386676.8862.7.camel@pegasus>

Marcel Holtmann wrote:
> Hi Stefan,
> 
> 
>>>>I have pppd working over bluetooth, but have a strange problem; I only 
>>>>seem to be able to connect about 1/3 of attempts. If I retry it usually 
>>>>works, but some times it takes 5 or 6 goes.
>>>>
>>>>how can I diagnose and fix the problem. I'm running bluez-2.16
>>>
>>>use "hcidump -X -V" as root to see what happens on the Bluetooth side.
>>>If that looks fine then use pppdump to see what PPP is doing.
>>
>>I've attached the results of a two attempts to connect, the first 
>>failed, and the second succeeded. What am I looking for?
> 
> 
> this is not a Bluetooth problem. This is your dialer script. In the
> failure case you start PPP without getting the CONNECT response. You
> even start PPP and three frames later your receive an OK. Use a dialer
> like wvdial or check you logs for more details.

thanks for the tip. I've switched to using the wvdial scripts from

http://julian.coccia.com/blog/index.php?m=200503&more=1

and now everything's working fine.

well almost fine; despite setting noauth in /etc/ppp/peers/gprs, it 
still wouldn't work without a dummy username and password in
gprs-wvdial.conf

My provider, Orange, doesn't need authentication, but doesn't seem to 
mind if you stick some random entries in the file to keep the script happy.

stef
-- 
/*
Stefan Magdalinski
+447769 666528 (telephone)
smagdali (IM/flickr.com/etc)
*/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-05-10 13:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06 12:06 [Bluez-users] connection problems with pppd and 6630 over bluez Stefan Magdalinski
2005-05-06 12:14 ` Marcel Holtmann
2005-05-06 13:24   ` Stefan Magdalinski
2005-05-06 13:37     ` Marcel Holtmann
2005-05-10 13:24       ` Stefan Magdalinski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4280B62A.8040005@whitelabel.org \
    --to=stefan@whitelabel.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.