* [Bluez-users] help for bluez and bridge configuration needed
@ 2003-10-06 21:37 Theo Beisch
2003-10-07 11:14 ` Paulo Marques
2003-10-07 11:21 ` Paulo Marques
0 siblings, 2 replies; 6+ messages in thread
From: Theo Beisch @ 2003-10-06 21:37 UTC (permalink / raw)
To: bluez-users
I am new to Linux and Bluez so maybe someone could give me a hand here? Thanx
ahead!
I am using a 2.4.2 kernel (SuSE 8.2) and the bridge within it to tie a
bluetooth PAN and my Laptop together under one IP address which must come
from a DHCP server as I am using the constellation in various networks.
The bridge is activated like this:
brctl addbr pan0
brctl addif pan0 eth0
brctl setfd pan0 0
brctl stp pan0 disable
(got those settings from a bluetooth howto, activated by a init.d/rc5 script -
works fine)
ifconfig eth0 0.0.0.0 then disables the IP on my lan card for the bridge to
work, set by the ifcfg-eth0 init.d file.
the ifctrl-pan0 calls the DHCP server for an IP adress and this is assigned -
works well.
brctl addif pan0 bnep0 gets called from the bluetooth startup (hotplug)
With the bluetooth pan added to the bridge heres the trouble I have:
While before pings to the local machine work ok and I get constant periodic
reponses, after the bnep0 interface becomes part of the bridge, ping stops
about every 5 instances, no longer displays the ping'd machine's name and
goes down with response frequency (from normally one a second to one response
every 10 or so seconds). While the response frequency remains low, after 8-10
no-name resolution pings, the machine name comes back with each ping. and so
on....
Pings directly to the IP address continue to work fine, also pings from
another machine in the network to both my local linux laptop and the
bluetooth attached PDA. Also DHCP is working fine for the PDA.
Any ideas? Thanks ahead for your help!
Theo
--
Theo Beisch
106 Ronheider Weg
Aachen, Germany 52066
Tel +49 (241) 13935 & +49 (9401) 6000283
Mobil +49 (172) 2102211
theo.beisch@gmx.de
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] help for bluez and bridge configuration needed
2003-10-06 21:37 [Bluez-users] help for bluez and bridge configuration needed Theo Beisch
@ 2003-10-07 11:14 ` Paulo Marques
2003-10-07 11:34 ` Marcel Holtmann
2003-10-07 11:21 ` Paulo Marques
1 sibling, 1 reply; 6+ messages in thread
From: Paulo Marques @ 2003-10-07 11:14 UTC (permalink / raw)
To: theo.beisch; +Cc: bluez-users
Theo Beisch wrote:
> I am using a 2.4.2 kernel (SuSE 8.2) and the bridge within it to tie a
> bluetooth PAN and my Laptop together under one IP address which must come
> from a DHCP server as I am using the constellation in various networks.
>
This kernel is quite old. You really should upgrade the kernel...
> ...
>
> While before pings to the local machine work ok and I get constant periodic
> reponses, after the bnep0 interface becomes part of the bridge, ping stops
> about every 5 instances, no longer displays the ping'd machine's name and
> goes down with response frequency (from normally one a second to one response
> every 10 or so seconds). While the response frequency remains low, after 8-10
> no-name resolution pings, the machine name comes back with each ping. and so
> on....
I had similar problems with a very similar setup.
The problem is that when the bnep0 interface enters the bridge, the bridge's
"mac address" changes. You can see that happening doing a "ifconfig pan0" before
the bnep0 joining the bridge and after, to see the hardware address of the pan0
interface.
I tried to solve this by issuing "arping's" so that other machines on the
network would be warned about the new hardware address, but unfortunately never
got this to work properly... :(
It has been quite a while since i've tried this, though. So maybe in recent
versions the bridging layer doesn't change the hardware address anymore?
If you have better luck than me, please let me know.
--
Paulo Marques
Software Development Department - Restinfor, Lda.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com
"In a world without walls and fences who needs windows and gates?"
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] help for bluez and bridge configuration needed
2003-10-06 21:37 [Bluez-users] help for bluez and bridge configuration needed Theo Beisch
2003-10-07 11:14 ` Paulo Marques
@ 2003-10-07 11:21 ` Paulo Marques
1 sibling, 0 replies; 6+ messages in thread
From: Paulo Marques @ 2003-10-07 11:21 UTC (permalink / raw)
To: theo.beisch; +Cc: bluez-users
Just one more thing i forgot to mention: you can try and send a similar report
to the bridging mailing list to see if there is some solution on the bridge side.
The mailing list for bridging is at:
http://www.math.leidenuniv.nl/mailman/listinfo/bridge
I hope this helps,
--
Paulo Marques
Software Development Department - Restinfor, Lda.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com
"In a world without walls and fences who needs windows and gates?"
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] help for bluez and bridge configuration needed
2003-10-07 11:14 ` Paulo Marques
@ 2003-10-07 11:34 ` Marcel Holtmann
2003-10-08 19:10 ` Theo Beisch
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2003-10-07 11:34 UTC (permalink / raw)
To: Paulo Marques; +Cc: theo.beisch, BlueZ Mailing List
Hi,
> The problem is that when the bnep0 interface enters the bridge, the bridge's
> "mac address" changes. You can see that happening doing a "ifconfig pan0" before
> the bnep0 joining the bridge and after, to see the hardware address of the pan0
> interface.
>
> I tried to solve this by issuing "arping's" so that other machines on the
> network would be warned about the new hardware address, but unfortunately never
> got this to work properly... :(
I never put the eth0 into the bridge ;) You can use IP forwarding and
NAT between eth0 und pan0.
Regards
Marcel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] help for bluez and bridge configuration needed
2003-10-07 11:34 ` Marcel Holtmann
@ 2003-10-08 19:10 ` Theo Beisch
2003-10-09 16:15 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Theo Beisch @ 2003-10-08 19:10 UTC (permalink / raw)
To: Marcel Holtmann, Paulo Marques; +Cc: BlueZ Mailing List
Marcel,
thanks, I tried this but couldnt get it to work at least with SuSEfirewall2,
activating NAT between the internal:pan0 (bridge) and external:eth0. ANy
other ways?
What I am trying to get to: as I use my linux-laptop online (DHCP on eth0 in
different networks) and offline (with th PDA/BT connection with apache etc.
running on the laptop) my plan was to have a default configuration which at
boot is overridden after DHCP on eth0 (or the bridge) has provided the laptop
with its network IP, gateway and so on.
As I said, new to all this stuff....
Tx again
Theo
Am Dienstag, 7. Oktober 2003 13:34 schrieb Marcel Holtmann:
> Hi,
>
> > The problem is that when the bnep0 interface enters the bridge, the
> > bridge's "mac address" changes. You can see that happening doing a
> > "ifconfig pan0" before the bnep0 joining the bridge and after, to see the
> > hardware address of the pan0 interface.
> >
> > I tried to solve this by issuing "arping's" so that other machines on the
> > network would be warned about the new hardware address, but unfortunately
> > never got this to work properly... :(
>
> I never put the eth0 into the bridge ;) You can use IP forwarding and
> NAT between eth0 und pan0.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
--
Theo Beisch
106 Ronheider Weg
Aachen, Germany 52066
Tel +49 (241) 13935 & +49 (9401) 6000283
Mobil +49 (172) 2102211
theo.beisch@gmx.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] help for bluez and bridge configuration needed
2003-10-08 19:10 ` Theo Beisch
@ 2003-10-09 16:15 ` Marcel Holtmann
0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2003-10-09 16:15 UTC (permalink / raw)
To: theo.beisch; +Cc: Paulo Marques, BlueZ Mailing List
Hi Theo,
> thanks, I tried this but couldnt get it to work at least with SuSEfirewall2,
> activating NAT between the internal:pan0 (bridge) and external:eth0. ANy
> other ways?
I am not using SuSE, so I can't help here.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-09 16:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06 21:37 [Bluez-users] help for bluez and bridge configuration needed Theo Beisch
2003-10-07 11:14 ` Paulo Marques
2003-10-07 11:34 ` Marcel Holtmann
2003-10-08 19:10 ` Theo Beisch
2003-10-09 16:15 ` Marcel Holtmann
2003-10-07 11:21 ` Paulo Marques
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.