2005-04-10 14:13:24

by adil fulara

[permalink] [raw]
Subject: Re: Re: [Bluez-users] How to create a shortcut for connecting to internet


Hi Marcel,

Well i tried doing as u directed but it didnt seem to work.i guess i am making some mistake.Newa i am putting the contents of /etc/bluetooth/rfcomm.conf file below and also the console out i got after i restarted the bluetooth service.


root@localhost ~]# cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

#
# Example:
#
#rfcomm0 {
# # Automatically bind the device at startup
# bind no;
#
# # Bluetooth address of the device
# device 11:22:33:44:55:66;
#
# # RFCOMM channel for the connection
# channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
#}
rfcomm0 {
bind 0;
device 00:0F:DE:86:2F:66;
channel 7;
}
[root@localhost ~]# service bluetooth restart
Stopping Bluetooth services: [ OK ]
syntax error line 24ervices: [ OK ]

[root@localhost ~]#


Please Advice...?

where do i put the init script....? am confused....

Thanx..

adil


Attachments:
(No filename) (1.09 kB)
(No filename) (1.91 kB)
Download all attachments

2005-04-10 14:32:28

by Bruno Abinader

[permalink] [raw]
Subject: Re: Re: [Bluez-users] How to create a shortcut for connecting to internet

bind 0... i think it only can be a "yes/no" answer, not "0/1", but i'm not sure!

> Hi Marcel,
>
> Well i tried doing as u directed but it didnt seem to work.i
> guess i am making some mistake.Newa i am putting the contents of
> /etc/bluetooth/rfcomm.conf file below and also the console out i got after i
> restarted the bluetooth service.
>
>
> root@localhost ~]# cat /etc/bluetooth/rfcomm.conf
> #
> # RFCOMM configuration file.
> #
> # $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
> #
>
> #
> # Example:
> #
> #rfcomm0 {
> # # Automatically bind the device at startup
> # bind no;
> #
> # # Bluetooth address of the device
> # device 11:22:33:44:55:66;
> #
> # # RFCOMM channel for the connection
> # channel 1;
> #
> # # Description of the connection
> # comment "Example Bluetooth device";
> #}
> rfcomm0 {
> bind 0;
> device 00:0F:DE:86:2F:66;
> channel 7;
> }
> [root@localhost ~]# service bluetooth restart
> Stopping Bluetooth services: [ OK ]
> syntax error line 24ervices: [ OK ]
>
> [root@localhost ~]#
>
>
> Please Advice...?
>
> where do i put the init script....? am confused....
>
> Thanx..
>
> adil
--
Bruno de Oliveira Abinader
GVoIP - INdT/UFAM


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users