enable auth and BNEP question?
Hi I've recently switched to 3.5 from 2.25 version and have few questions:
1. Here is my hcid.conf
options {
autoinit yes;
security auto;
pairing multi;
passkey "BlueZ";
}
device {
name "%h-%d";
class 0x3e0100;
iscan enable;
pscan enable;
discovto 0;
lm accept;
lp rswitch,hold,sniff,park;
auth enable;
}but my hciconfig still show no auth, and I can connect to PC without aut Of course I can bring it by "hciconfig piscan auth" but I wish to bring it by default.
Is there a way to do so?
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside /etc/bluetooth/ with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?
Best regards,
Denis Stenderchuck
http://forum.weblamp.net/linux - Webmaster Key Forums
http://www.pharos-search.com - A Human Edited Directory
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Denis,
Quoted 26 lines
Hi I've recently switched to 3.5 from 2.25 version and have few questions:
1. Here is my hcid.conf
options { autoinit yes; security auto; pairing multi; passkey "BlueZ"; } device { name "%h-%d"; class 0x3e0100; iscan enable; pscan enable; discovto 0; lm accept; lp rswitch,hold,sniff,park; auth enable; }but my hciconfig still show no auth, and I can connect to PC without aut Of course I can bring it by "hciconfig piscan auth" but I wish to bring it by default.
Is there a way to do so?
Quoted 6 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?
you might wanna try the -A, -E or -S switch for pand.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 10 lines · Marcel Holtmann
Quoted 7 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?you might wanna try the -A, -E or -S switch for pand.
Thanks for response, Marcel!
I've tried switches you've recommend and seems that "-S" is what I'm looking for although it asked me authorization 3 times(even once devices was paired) but now it seems to work like it should.
Maybe you can help me with brining up bnep0 interface automatically as well?
Signature · 15 lines
Best regards, Denis Stenderchuck http://forum.weblamp.net/linux - Webmaster Key Forums http://www.pharos-search.com - A Human Edited Directory ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Denis,
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?you might wanna try the -A, -E or -S switch for pand.
Quoted 7 lines
Thanks for response, Marcel!
I've tried switches you've recommend and seems that "-S" is what I'm looking for although it asked me authorization 3 times(even once devices was paired) but now it seems to work like it should.
Maybe you can help me with brining up bnep0 interface automatically as well?
this depends on your distro. All distros have a way of bringing up devices automatically. Or you might wanna check the pand.1 manual page.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 20 lines · Marcel Holtmann
Hi Denis,
Quoted 17 lines
Quoted 11 lines
Quoted 8 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?you might wanna try the -A, -E or -S switch for pand.
Thanks for response, Marcel!
I've tried switches you've recommend and seems that "-S" is what I'm looking for although it asked me authorization 3 times(even once devices was paired) but now it seems to work like it should.
Quoted 6 lines
Quoted 2 lines
Maybe you can help me with brining up bnep0 interface automatically as well?
this depends on your distro. All distros have a way of bringing up devices automatically. Or you might wanna check the pand.1 manual page.
Thanks, Marcel! I'm on Debian and have tried few ways of brining up interface by distro means but failed.
I were managed to automate process by using --devup switch with pand which was just what I was looking for.
BTW just wish to say that this option isn't appearing in man page, thought you may like to know about this.
Thanks!
Signature · 16 lines
Best regards, Denis Stenderchuck http://forum.weblamp.net/linux - Webmaster Key Forums http://www.pharos-search.com - A Human Edited Directory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Denis,
Quoted 23 lines
Quoted 17 lines
Quoted 17 lines
Quoted 11 lines
Quoted 8 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?you might wanna try the -A, -E or -S switch for pand.
Thanks for response, Marcel!
I've tried switches you've recommend and seems that "-S" is what I'm looking for although it asked me authorization 3 times(even once devices was paired) but now it seems to work like it should.
Quoted 6 lines
Quoted 2 lines
Maybe you can help me with brining up bnep0 interface automatically as well?
this depends on your distro. All distros have a way of bringing up devices automatically. Or you might wanna check the pand.1 manual page.
Quoted 7 lines
Thanks, Marcel! I'm on Debian and have tried few ways of brining up interface by distro means but failed.
I were managed to automate process by using --devup switch with pand which was just what I was looking for.BTW just wish to say that this option isn't appearing in man page, thought you may like to know about this.
check the latest source code and if it is still missing, send in a patch for it.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 38 lines · Marcel Holtmann
Hi Denis,
Quoted 26 lines
Quoted 19 lines
Quoted 19 lines
Quoted 9 lines
Quoted 9 lines
2. I mostly use my Linux box to share create bluetooth network with other PC and my PDA so previously I had "pan " directory inside
/etc/bluetooth/with dev-up and dev-down files which automatically bring up bnep0 device, but seems that BlueZ 3.5 is working differently and I need to execute "ifconfig benp0 up" to enable my connection. Is there a way to automate this?Quoted 4 lines
you might wanna try the -A, -E or -S switch for pand.
Thanks for response, Marcel!
I've tried switches you've recommend and seems that "-S" is what I'm looking for although it asked me authorization 3 times(even once devices was paired) but now it seems to work like it should.
Quoted 7 lines
Quoted 3 lines
Maybe you can help me with brining up bnep0 interface automatically as well?
this depends on your distro. All distros have a way of bringing up devices automatically. Or you might wanna check the pand.1 manual page.
Quoted 8 lines
Thanks, Marcel! I'm on Debian and have tried few ways of brining up interface by distro means but failed.
I were managed to automate process by using --devup switch with pand which was just what I was looking for.BTW just wish to say that this option isn't appearing in man page, thought you may like to know about this.
Quoted 6 lines
check the latest source code and if it is still missing, send in a patch for it.
Regards
Marcel
Sorry for delay, Marcel! I've found time to install new BlueZ 3.7 and it seems that dev-up description is now in place.
But I've got another a bit off topic and lame question, I've never send patches before but would like to help when I can. So if I would find a bug and solution for it in future, should I just generate patch in a way like this:
"|diff -up original modified > patch"
and send it to mail-list or there are some other commonly used procedure? Thanks!
|--
Best regards,
Denis Stenderchuck
http://forum.weblamp.net/ - Webmaster Key Forums
http://www.pharos-search.com - A Human Edited Directory
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Denis,
Quoted 6 lines
But I've got another a bit off topic and lame question, I've never send patches before but would like to help when I can. So if I would find a bug and solution for it in future, should I just generate patch in a way like this:
"|diff -up original modified > patch"
and send it to mail-list or there are some other commonly used procedure?
only make sure it is a unified diff (-u), because I am unable to read context diffs. I personally to most patches with "cvs diff -u" directly from the CVS repository.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users