Ultimate PAN howto. Where?
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 6 lines
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:
Quoted 8 lines
- 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 11 lines · Marcel Holtmann
Hi,
Quoted 8 lines
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.
Quoted 7 lines
Quoted 1 line
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 37 lines
Quoted 12 lines
Quoted 12 lines
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.Quoted 8 lines
Quoted 2 lines
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 = 1The last message is repeated at regular intervals.
brctl showshows bnep0 in pan0 bridge interface
Quoted 7 lines
brctl delif pan0 bnep0results in "interface bnep0 does not exist!"
ifconfigorifdown bnep0freeze upI 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 35 lines · Marcel Holtmann
Hi,
Quoted 32 lines
Quoted 8 lines
Quoted 8 lines
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.Quoted 7 lines
Quoted 1 line
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 = 1The last message is repeated at regular intervals.
brctl showshows bnep0 in pan0 bridge interface
brctl delif pan0 bnep0results in "interface bnep0 does not exist!"
Quoted 8 lines
Quoted 5 lines
ifconfigorifdown bnep0freeze upI 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users