connection problems with pppd and 6630 over bluez
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
thanks.
stef
Signature · 16 lines
/* Stefan Magdalinski +447769 666528 (telephone) smagdali (IM/flickr.com/etc) */ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Stefan,
Quoted 5 lines
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.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 11 lines · Marcel Holtmann
Hi Stefan,
Quoted 3 lines
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?
many thanks
stef
Signature · 5 lines
/* Stefan Magdalinski +447769 666528 (telephone) smagdali (IM/flickr.com/etc) */
Marcel Holtmann
maintainerHi Stefan,
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
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.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 10 lines · Marcel Holtmann
Hi Stefan,
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
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.
Quoted 7 lines
Quoted 1 line
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
Signature · 16 lines
/* 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users