From: "Łukasz Hejnak" <szift@szift.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] LAN over bluetooth connection hangs [SOLVED]
Date: Fri, 16 Nov 2007 03:22:09 +0100 [thread overview]
Message-ID: <473CFED1.7050806@szift.org> (raw)
In-Reply-To: <473BF56D.8010301@szift.org>
Hi
[for the impatient, scroll half way down for the solution - look for a =
'whoa']
Thought I'll update this thread with some info I gathered today.
First off, I'm using bluez version 3.22
I read the http://bluez.sourceforge.net/contrib/HOWTO-PAN and redone my =
configuration according to the second example, the effect is exactly the =
same: the connection get's established, I can send ICMP packets as well =
as small portions of information (like establishing an ssh session) and =
this works well. I left the ping working for an hour and everything =
worked ok.
BUT the minute I try to send/receive a bigger chunk of data (like load a =
webpage or do `dmesg` on my ssh terminal) the connection freezes.
Everything seems to be in order, `pand -l` shows the connection, =
`hcitool scan` shows the other interface, `hcidump -i hci0` shows no =
disruption at all. The packets are still flying back and forth, but icmp =
packets stop arriving, and everything else freezes as well.
`ifconfig bnep0` shows no errors/dropped/overruns/collisions etc.
MTU is set to 1500...
*whoa* here we go, just tried to set the mtu to something smaller like =
1000 and there it went.. for a moment longer - I managed to load up a =
page in lynx.. it worked for a while and then froze again
then I reduced the mtu on both sides to 500 and it works now
Just added `ifconfig bnep0 mtu 500` to both bnep0 init scripts (-u pand =
option) and it's done.
Strange though, none of the docs/how-to's I came across mention anything =
about changing the bnep0 interfaces mtu, but I'd shoot it's because of =
the damned cheap bluetooth dongles.
Anyway it works great & fast now. We'll see for how long.
-- =
Best Wishes
=A3ukasz 'Szift' Hejnak
jid: Szift@jabster.pl
email: Lukasz@Hejnak.pl
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2007-11-16 2:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 7:29 [Bluez-users] LAN over bluetooth connection hangs Łukasz Hejnak
2007-11-16 2:22 ` Łukasz Hejnak [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=473CFED1.7050806@szift.org \
--to=szift@szift.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.