* [Bluez-users] Ultimate PAN howto. Where?
@ 2005-11-20 9:08 M
2005-11-22 11:12 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: M @ 2005-11-20 9:08 UTC (permalink / raw)
To: bluez-users
Hello, I'm trying to get PAN running, NAP on linux, 2 PANUs on windows.
There is no problem with the windows boxes, it gives me headaches to set
up the linux box however. I got everything running quite fine with just
one client using non-briged routing, now I would like to bridge bnepX
and eth0 interfaces so that:
- IP addresses are asigned by DHCP
- it's possible to connect to internet from NAP box (after following one
howto it wasn't possible)
- everything is automatic - after the setup anyone should be able to
turn on the NAP box and connect, even without an account.
Please, direct me to the right howto, tell me which parts to skip and
what to do another way.
Thank you
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] Ultimate PAN howto. Where?
2005-11-20 9:08 [Bluez-users] Ultimate PAN howto. Where? M
@ 2005-11-22 11:12 ` Marcel Holtmann
2005-11-22 14:26 ` M
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-11-22 11:12 UTC (permalink / raw)
To: bluez-users
Hi,
> I'm trying to get PAN running, NAP on linux, 2 PANUs on windows.
> There is no problem with the windows boxes, it gives me headaches to set
> up the linux box however. I got everything running quite fine with just
> one client using non-briged routing, now I would like to bridge bnepX
> and eth0 interfaces so that:
>
> - IP addresses are asigned by DHCP
> - it's possible to connect to internet from NAP box (after following one
> howto it wasn't possible)
> - everything is automatic - after the setup anyone should be able to
> turn on the NAP box and connect, even without an account.
>
> Please, direct me to the right howto, tell me which parts to skip and
> what to do another way.
actually the automatic part is distribution specific, because you need
to create the bridge at startup and run the dedicated DHCP server. You
also need to make sure the bnepX devices are added/removed to the bridge
when pand accepts a new connection.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] Ultimate PAN howto. Where?
2005-11-22 11:12 ` Marcel Holtmann
@ 2005-11-22 14:26 ` M
2005-11-22 14:52 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: M @ 2005-11-22 14:26 UTC (permalink / raw)
To: bluez-users
Marcel Holtmann wrote:
> Hi,
>
>
>>I'm trying to get PAN running, NAP on linux, 2 PANUs on windows.
>>There is no problem with the windows boxes, it gives me headaches to set
>>up the linux box however. I got everything running quite fine with just
>>one client using non-briged routing, now I would like to bridge bnepX
>>and eth0 interfaces so that:
>>
>>- IP addresses are asigned by DHCP
>>- it's possible to connect to internet from NAP box (after following one
>>howto it wasn't possible)
>>- everything is automatic - after the setup anyone should be able to
>>turn on the NAP box and connect, even without an account.
>>
>>Please, direct me to the right howto, tell me which parts to skip and
>>what to do another way.
>
>
> actually the automatic part is distribution specific, because you need
> to create the bridge at startup and run the dedicated DHCP server. You
> also need to make sure the bnepX devices are added/removed to the bridge
> when pand accepts a new connection.
After experimenting I got bridge + DHCP working, it's not automatic but
that does not matter now anyway, cause I had to change it back.
If remote device disconnects, the bnepX interface is not fully unregistered:
[/var/log/messages]:
kernel: pan0: port 1(bnep0) entering disabled state
net.agent[12626]: remove event not handled
kernel: unregister_netdevice: waiting for bnep0 to become free. Usage
count = 1
The last message is repeated at regular intervals.
`brctl show` shows bnep0 in pan0 bridge interface
`brctl delif pan0 bnep0` results in "interface bnep0 does not exist!"
`ifconfig` or `ifdown bnep0` freeze up
I can't even turn of the computer regulary, I have to hard reset it.
Is this a bug?
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] Ultimate PAN howto. Where?
2005-11-22 14:26 ` M
@ 2005-11-22 14:52 ` Marcel Holtmann
2005-11-22 15:18 ` M
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-11-22 14:52 UTC (permalink / raw)
To: bluez-users
Hi,
> >>I'm trying to get PAN running, NAP on linux, 2 PANUs on windows.
> >>There is no problem with the windows boxes, it gives me headaches to set
> >>up the linux box however. I got everything running quite fine with just
> >>one client using non-briged routing, now I would like to bridge bnepX
> >>and eth0 interfaces so that:
> >>
> >>- IP addresses are asigned by DHCP
> >>- it's possible to connect to internet from NAP box (after following one
> >>howto it wasn't possible)
> >>- everything is automatic - after the setup anyone should be able to
> >>turn on the NAP box and connect, even without an account.
> >>
> >>Please, direct me to the right howto, tell me which parts to skip and
> >>what to do another way.
> >
> >
> > actually the automatic part is distribution specific, because you need
> > to create the bridge at startup and run the dedicated DHCP server. You
> > also need to make sure the bnepX devices are added/removed to the bridge
> > when pand accepts a new connection.
>
> After experimenting I got bridge + DHCP working, it's not automatic but
> that does not matter now anyway, cause I had to change it back.
>
> If remote device disconnects, the bnepX interface is not fully unregistered:
>
> [/var/log/messages]:
>
> kernel: pan0: port 1(bnep0) entering disabled state
> net.agent[12626]: remove event not handled
> kernel: unregister_netdevice: waiting for bnep0 to become free. Usage
> count = 1
>
> The last message is repeated at regular intervals.
>
> `brctl show` shows bnep0 in pan0 bridge interface
>
> `brctl delif pan0 bnep0` results in "interface bnep0 does not exist!"
>
> `ifconfig` or `ifdown bnep0` freeze up
>
> I can't even turn of the computer regulary, I have to hard reset it.
>
> Is this a bug?
sounds like a bug in the bridge code. What kernel do you use?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] Ultimate PAN howto. Where?
2005-11-22 14:52 ` Marcel Holtmann
@ 2005-11-22 15:18 ` M
0 siblings, 0 replies; 5+ messages in thread
From: M @ 2005-11-22 15:18 UTC (permalink / raw)
To: bluez-users
Marcel Holtmann wrote:
> Hi,
>
>
>>>>I'm trying to get PAN running, NAP on linux, 2 PANUs on windows.
>>>>There is no problem with the windows boxes, it gives me headaches to set
>>>>up the linux box however. I got everything running quite fine with just
>>>>one client using non-briged routing, now I would like to bridge bnepX
>>>>and eth0 interfaces so that:
>>>>
>>>>- IP addresses are asigned by DHCP
>>>>- it's possible to connect to internet from NAP box (after following one
>>>>howto it wasn't possible)
>>>>- everything is automatic - after the setup anyone should be able to
>>>>turn on the NAP box and connect, even without an account.
>>>>
>>>>Please, direct me to the right howto, tell me which parts to skip and
>>>>what to do another way.
>>>
>>>
>>>actually the automatic part is distribution specific, because you need
>>>to create the bridge at startup and run the dedicated DHCP server. You
>>>also need to make sure the bnepX devices are added/removed to the bridge
>>>when pand accepts a new connection.
>>
>>After experimenting I got bridge + DHCP working, it's not automatic but
>>that does not matter now anyway, cause I had to change it back.
>>
>>If remote device disconnects, the bnepX interface is not fully unregistered:
>>
>>[/var/log/messages]:
>>
>>kernel: pan0: port 1(bnep0) entering disabled state
>>net.agent[12626]: remove event not handled
>>kernel: unregister_netdevice: waiting for bnep0 to become free. Usage
>>count = 1
>>
>>The last message is repeated at regular intervals.
>>
>>`brctl show` shows bnep0 in pan0 bridge interface
>>
>>`brctl delif pan0 bnep0` results in "interface bnep0 does not exist!"
>>
>>`ifconfig` or `ifdown bnep0` freeze up
>>
>>I can't even turn of the computer regulary, I have to hard reset it.
>>
>>Is this a bug?
>
>
> sounds like a bug in the bridge code. What kernel do you use?
kernel-i686-up-4GB-2.6.12.12mdk
vendor Mandriva
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-22 15:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-20 9:08 [Bluez-users] Ultimate PAN howto. Where? M
2005-11-22 11:12 ` Marcel Holtmann
2005-11-22 14:26 ` M
2005-11-22 14:52 ` Marcel Holtmann
2005-11-22 15:18 ` M
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).