linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] enable auth and BNEP question?
@ 2006-09-10 15:32 Denis
  2006-09-15  9:51 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Denis @ 2006-09-10 15:32 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-10 15:32 [Bluez-users] enable auth and BNEP question? Denis
@ 2006-09-15  9:51 ` Marcel Holtmann
  2006-09-15 16:16   ` Denis
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2006-09-15  9:51 UTC (permalink / raw)
  To: BlueZ users

Hi Denis,

> 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?

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-15  9:51 ` Marcel Holtmann
@ 2006-09-15 16:16   ` Denis
  2006-09-15 16:19     ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Denis @ 2006-09-15 16:16 UTC (permalink / raw)
  To: BlueZ users

Marcel Holtmann wrote:
>> 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?

-- 
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-15 16:16   ` Denis
@ 2006-09-15 16:19     ` Marcel Holtmann
  2006-09-29 21:57       ` Denis
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2006-09-15 16:19 UTC (permalink / raw)
  To: BlueZ users

Hi Denis,

> >> 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?

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-15 16:19     ` Marcel Holtmann
@ 2006-09-29 21:57       ` Denis
  2006-09-29 22:03         ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Denis @ 2006-09-29 21:57 UTC (permalink / raw)
  To: BlueZ users

Marcel Holtmann wrote:
> Hi Denis,
>
>   
>>>> 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?
>>     
>
> 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!

-- 
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-29 21:57       ` Denis
@ 2006-09-29 22:03         ` Marcel Holtmann
  2006-10-19 20:08           ` Denis
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2006-09-29 22:03 UTC (permalink / raw)
  To: BlueZ users

Hi Denis,

> >>>> 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?
> >>     
> >
> > 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.

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-09-29 22:03         ` Marcel Holtmann
@ 2006-10-19 20:08           ` Denis
  2006-10-20  2:36             ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Denis @ 2006-10-19 20:08 UTC (permalink / raw)
  To: BlueZ users

Marcel Holtmann wrote:
> Hi Denis,
>
>   
>>>>>> 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?
>>>>     
>>>>         
>>> 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.
>>     
>
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] enable auth and BNEP question?
  2006-10-19 20:08           ` Denis
@ 2006-10-20  2:36             ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2006-10-20  2:36 UTC (permalink / raw)
  To: BlueZ users

Hi Denis,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-10-20  2:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10 15:32 [Bluez-users] enable auth and BNEP question? Denis
2006-09-15  9:51 ` Marcel Holtmann
2006-09-15 16:16   ` Denis
2006-09-15 16:19     ` Marcel Holtmann
2006-09-29 21:57       ` Denis
2006-09-29 22:03         ` Marcel Holtmann
2006-10-19 20:08           ` Denis
2006-10-20  2:36             ` Marcel Holtmann

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).