SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm trying to use bluetooth on slackware 12.0. I manage to do some search on google and find the steps to activate the blue tooth by setting the /etc/rc.d/rc.bluetooth
Code:
chmod o+x /etc/rc.d/rc.bluetooth
When i execute the file, my bluetooth usb manage to light up.
My questions are:
1) how to i scan for other blue tooth network around my area?
2) If i manage to find other blue tooth network, how do i connect to them?
3) If i want to stop using the bluetooth, how do i safely remove it or i can just pull out the bluetooth usb without any adverse effects?
Thanks
Last edited by vitalstrike82; 06-14-2009 at 09:33 AM.
You would scan for other discoverable Bluetooth devices with the command:
Code:
hcitool scan
Actually connecting to something is slightly more complicated, and the method depends on what exactly you are trying to connect to and do. If you are trying to do file transfers with a phone for instance, as soon as you try the first transfer the phone will prompt you for the Slackware machine's PIN (default is 1234, this can be changed in /etc/bluetooth/hci.conf), at which point the devices will pair. But if you were trying to hook up to a headset, or use RFCOMM, the method would be slightly different.
As for removing the adapter, you can pull it out at any time. It isn't like a flash drive with a mounted filesystem, when you pull the adapter BlueZ will simply shut down that interface and wait for a new adapter to be connected. Although, obviously, you should wait for any file transfer or similar operation to complete before pulling it out...
Thanks for the advise. I manage to connect to my handphone. However my handphone request for the passkey and when i enter, the connection failed which i think its due to that i'm not able to enter the passkey on my laptop.
From my understanding, the passkey input has to been input with matching passkey in my laptop and handphone.
However my handphone requests for the passkey, but i cannot input the passkey in my laptop, therefore i'm not able to connect.
I try to google online(the site address is display below) on how to use obexftp to connect to the handset with a passkey, but it seems that obexftp does not have the command to input the passkey.
I have try to look at the man obexftp to see if i can enter a passkey while connecting to the bluetooth device but no info of how to enter the passkey on my laptop
You can change the PIN code in /etc/bluetooth/hcid.conf, then restart BlueZ. When prompted on the phone, enter in the new PIN code. You don't need to interactively enter it on the laptop.
I manage to connect, but it list the folder in my phone and then disconnects instantly.
How do i choose a folder in my phone and send it to my pc? This is the output when i connect successfully, but it disconnects after listing the folders.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.