Find the answer to your Linux question:
Results 1 to 3 of 3
hi! i'm developing a program that lets my mobile phone connect and interact with my computer.. what I did is I inserted the location of my program in /etc/init.d/boot.local so ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    How to activate bluetooth at startup??

    hi! i'm developing a program that lets my mobile phone connect and interact with my computer..
    what I did is I inserted the location of my program in /etc/init.d/boot.local so that my program would run before entering my desktop...

    I also included /etc/init.d/bluetooth start in boot.local..

    My problem is, my mobile phone seems to find my computers bluetooth device, but it cant connect to it....but when i run my program in terminal, everything works perfectly...

    what i think is, there is something i need to run or boot before my program so that I can connect via bluetooth...I just dont know what it is..correct me if im wrong..

    Hope that someone can help me with my problem...

    thanks!!

    -Jason

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    You may not have given things enough time to connect. Try putting your program in a later script. Maybe in the users .profile file or the KDE/gnome startup folder.

    "bluetooth start" starts a thread the thread may have not had time to handshake with you phone before you run the script.

  3. #3
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    does your pc pair with your phone when you do rfcomm connect if it does then you gotta write a script that does the connecting automatically the connection has to be initiated by the pc (i'm not much of a script writer then like gogalthorp said you gotta put it into your kde/gnome startup folder

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...