* Re: [Bluez-users] bash: syntax error near unexpected token `newline' [not found] <mailman.47971.1157055066.29847.bluez-users@lists.sourceforge.net> @ 2006-09-01 17:52 ` David Armour 0 siblings, 0 replies; 6+ messages in thread From: David Armour @ 2006-09-01 17:52 UTC (permalink / raw) To: bluez-users, redondos hello redondos thank you for your help! > > hello Paulo <snip> > > > now, running: > > > > >> sudo hcitools auth 00:03:89:53:EC:7F ## gives: > > >> sudo: hcitools: command not found ## ! > > > > The program is called 'hcitool' and is probably located in /usr/bin. > (Please note that you are referring to it as 'hcitools', with a tailing > 's') > D'oh! talk about an object lesson in failing to see something that's right in front of me! i cut'n'pasted the line but i have NO idea how the 's' got there. *now* running: >> sudo hcitool auth 00:03:89:53:EC:7F ## gives: >> Not connected. ## ??? some of the stuff i've since tried, from: http://www.think-future.de/wiki/index.php?title=Bluetooth#Connection_Establishing the someone flailing around impression accurately reflects my current 'understanding.' i'm not clear, obviously, which 'address' (MAC or bd_addr) i'm supposed to use. >> hciconfig >> hci0: Type: USB BD Address: 00:0C:76:47:81:CC ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:1094 acl:0 sco:0 events:67 errors:0 TX bytes:588 acl:0 sco:0 commands:40 errors:0 >> hcitool inq >> Inquiring ... >> 00:03:89:53:EC:7F clock offset: 0x4791 class: 0x200404 >> hcitool dev >> Devices: >> hci0 00:0C:76:47:81:CC >> hcitool cc 00:0C:76:47:81:CC >> Device is not available. ## ??? >> hcitool cc 00:03:89:53:EC:7F >> Can't create connection: Operation not permitted >> sudo hidd --connect 00:0C:76:47:81:CC >> Can't get device information: No route to host >> sudo hidd --connect 00:03:89:53:EC:7F >> Can't get device information: Permission denied >> hcidump -X -V ## gives: >> bash: hcidump: command not found ## ??? whereis, which, locate fail to return anything resembling hcidump. >> l2ping 00:03:89:53:EC:7F >> Can't create socket: Operation not permitted from the hcid.conf file: ... options { # Automatically initialize new devices autoinit yes; # Security Manager mode # none - Security manager disabled # auto - Use local PIN for incoming connections # user - Always ask user for a PIN # security auto; # Pairing mode # none - Pairing disabled # multi - Allow pairing with already paired devices # once - Pair once and deny successive attempts pairing multi; # PIN helper #pin_helper /usr/bin/pinwrapper; pin_helper /usr/bin/bluepin; # D-Bus PIN helper #dbus_pin_helper; } .... thanks in advance for any additional tips, clues, recommendations. ------------------------------------------------------------------------- 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] 6+ messages in thread
[parent not found: <mailman.44465.1156973920.29847.bluez-users@lists.sourceforge.net>]
* Re: [Bluez-users] bash: syntax error near unexpected token `newline', (Paulo Wollny) [not found] <mailman.44465.1156973920.29847.bluez-users@lists.sourceforge.net> @ 2006-08-31 6:44 ` David Armour [not found] ` <44F6DCB0.3030400@ibdcon.org.br> 0 siblings, 1 reply; 6+ messages in thread From: David Armour @ 2006-08-31 6:44 UTC (permalink / raw) To: bluez-users hello Paolo, thank you for your reply. >> ## running: >>sudo hidd --connect <00:03:89:53:EC:7F> >> ## bash: syntax error near unexpected token `newline' ## gah! >> >> can someone where to look to address this error? thanks in advance. >> > Strip < and > from the command... it shoud be: sudo hidd --connect > 00:03:89:53:EC:7F that makes so much more sense, now that you point it out. mille grazie! ------------------------------------------------------------------------- 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] 6+ messages in thread
[parent not found: <44F6DCB0.3030400@ibdcon.org.br>]
* Re: [Bluez-users] bash: syntax error near unexpected token `newline' [not found] ` <44F6DCB0.3030400@ibdcon.org.br> @ 2006-08-31 15:38 ` David Armour 2006-08-31 18:43 ` redondos 2006-08-31 23:49 ` Paulo Wollny 0 siblings, 2 replies; 6+ messages in thread From: David Armour @ 2006-08-31 15:38 UTC (permalink / raw) To: Paulo Wollny, bluez-users hello Paulo > Hi, > did it work? let me know. > thanks for your interest. i'm keeping a record of this experience, in the hope that others can learn from it. now, running: >> sudo hcitools auth 00:03:89:53:EC:7F ## gives: >> sudo: hcitools: command not found ## ! i'm *looking at* the hcitools icon in /usr/bin, as we speak... [slowly, i turn! inch by inch...step by step!] what do you think? a permission issue? doesn't sudo take care of that? a path issue? i tried 'sudo /usr/bin/hcitools auth...' just to see. got same result. <curious> >>>> ## running: >>sudo hidd --connect <00:03:89:53:EC:7F> >>>> ## bash: syntax error near unexpected token `newline' ## gah! >>>> Strip < and > from the command... it shoud be: sudo hidd --connect >>>> 00:03:89:53:EC:7F >>>> >>>> ------------------------------------------------------------------------- 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] 6+ messages in thread
* Re: [Bluez-users] bash: syntax error near unexpected token `newline' 2006-08-31 15:38 ` [Bluez-users] bash: syntax error near unexpected token `newline' David Armour @ 2006-08-31 18:43 ` redondos 2006-08-31 23:49 ` Paulo Wollny 1 sibling, 0 replies; 6+ messages in thread From: redondos @ 2006-08-31 18:43 UTC (permalink / raw) To: bluez-users [-- Attachment #1.1: Type: text/plain, Size: 918 bytes --] On Thu, Aug 31 08:38, David Armour wrote: > hello Paulo > > Hi, > > did it work? let me know. > > > thanks for your interest. i'm keeping a record of this experience, in > the hope that others can learn from it. > now, running: > > >> sudo hcitools auth 00:03:89:53:EC:7F ## gives: > >> sudo: hcitools: command not found ## ! > > i'm *looking at* the hcitools icon in /usr/bin, as we speak... [slowly, > i turn! inch by inch...step by step!] The program is called 'hcitool' and is probably located in /usr/bin. (Please note that you are referring to it as 'hcitools', with a tailing 's') Check with which, whereis, or your favorite method, where in your PATH this binary is located. > what do you think? a permission issue? doesn't sudo take care of that? a > path issue? i tried 'sudo /usr/bin/hcitools auth...' just to see. got > same result. <curious> -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- 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 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ 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] bash: syntax error near unexpected token `newline' 2006-08-31 15:38 ` [Bluez-users] bash: syntax error near unexpected token `newline' David Armour 2006-08-31 18:43 ` redondos @ 2006-08-31 23:49 ` Paulo Wollny 1 sibling, 0 replies; 6+ messages in thread From: Paulo Wollny @ 2006-08-31 23:49 UTC (permalink / raw) To: BlueZ users try hcitool (not hcitools). in case of doubt, type hcito and hit the TAB key.... in bash shell, it will autocomplete, if it's on the path. David Armour schrieb: > hello Paulo > >> Hi, >> did it work? let me know. >> >> > thanks for your interest. i'm keeping a record of this experience, in > the hope that others can learn from it. > now, running: > > >> sudo hcitools auth 00:03:89:53:EC:7F ## gives: > >> sudo: hcitools: command not found ## ! > > i'm *looking at* the hcitools icon in /usr/bin, as we speak... [slowly, > i turn! inch by inch...step by step!] > > what do you think? a permission issue? doesn't sudo take care of that? a > path issue? i tried 'sudo /usr/bin/hcitools auth...' just to see. got > same result. <curious> > > >>>>> ## running: >>sudo hidd --connect <00:03:89:53:EC:7F> >>>>> ## bash: syntax error near unexpected token `newline' ## gah! >>>>> > > >>>>> Strip < and > from the command... it shoud be: sudo hidd --connect >>>>> 00:03:89:53:EC:7F >>>>> >>>>> >>>>> > > > ------------------------------------------------------------------------- > 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 > > > ------------------------------------------------------------------------- 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] 6+ messages in thread
* [Bluez-users] bash: syntax error near unexpected token `newline'
@ 2006-08-30 19:51 David Armour
2006-08-30 21:00 ` Paulo Wollny
0 siblings, 1 reply; 6+ messages in thread
From: David Armour @ 2006-08-30 19:51 UTC (permalink / raw)
To: bluez-users
hello list,
i hope this is the right place to ask for help translating the above
error. googling the error message produced no hits.
i'm trying to get my plantronics headset working with Micro Star
International Bluetooth Dongle. i've gotten further using info found at:
http://article.gmane.org/gmane.linux.ubuntu.user/77096/match=bluez+gnome+headset+dapper
than with anything i could dig up in the wiki, or in the ubuntu forums.
## for plantronics headset, the red&blue lights must be flashing ## check!
>> The command should output something like this:
>> Scanning ... 00:13:70:4F:83:3B Nokia HS-26W
## for headset,... 00:03:89:53:EC:7F 320 Plantronics ## woohoo!
>>
>> The set of numbers is the Bluetooth Device Address, bd_addr for short.
>> Running the command: >> sudo hidd --connect <bd_addr>
>> should connect the mouse to the computer, and allow the mouse to work.
## running: >>sudo hidd --connect <00:03:89:53:EC:7F>
## bash: syntax error near unexpected token `newline' ## gah!
can someone where to look to address this error? thanks in advance.
## relevant hcid.conf: (tried both pinwrapper/bluepin lines
with/without ';')
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
#pin_helper /usr/bin/pinwrapper;
pin_helper /usr/bin/bluepin;
# D-Bus PIN helper
#dbus_pin_helper;
}
>> hcidump -X -V
>> bash: hcidump: command not found ## ????
-------------------------------------------------------------------------
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] 6+ messages in thread* Re: [Bluez-users] bash: syntax error near unexpected token `newline' 2006-08-30 19:51 David Armour @ 2006-08-30 21:00 ` Paulo Wollny 0 siblings, 0 replies; 6+ messages in thread From: Paulo Wollny @ 2006-08-30 21:00 UTC (permalink / raw) To: BlueZ users Strip < and > from the command... it shoud be: sudo hidd --connect 00:03:89:53:EC:7F > > ## running: >>sudo hidd --connect <00:03:89:53:EC:7F> > ## bash: syntax error near unexpected token `newline' ## gah! > > can someone where to look to address this error? thanks in advance. > > ------------------------------------------------------------------------- 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] 6+ messages in thread
end of thread, other threads:[~2006-09-01 17:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.47971.1157055066.29847.bluez-users@lists.sourceforge.net>
2006-09-01 17:52 ` [Bluez-users] bash: syntax error near unexpected token `newline' David Armour
[not found] <mailman.44465.1156973920.29847.bluez-users@lists.sourceforge.net>
2006-08-31 6:44 ` [Bluez-users] bash: syntax error near unexpected token `newline', (Paulo Wollny) David Armour
[not found] ` <44F6DCB0.3030400@ibdcon.org.br>
2006-08-31 15:38 ` [Bluez-users] bash: syntax error near unexpected token `newline' David Armour
2006-08-31 18:43 ` redondos
2006-08-31 23:49 ` Paulo Wollny
2006-08-30 19:51 David Armour
2006-08-30 21:00 ` Paulo Wollny
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox