Bluetooth connectivity in Puppy Linux

Hello, after doing many efforts now i can finally connect my mobile device to the computer with bluetooth thanks to the puppy linux forum members for all the help, so here's how it goes ..
Note that i am using lucid puppy version 5.2.8

If you are using XFCE window manager or following article is not working for you than you should first read this article [Link] which explains bluetooth connectivity with 'blueman' ..

Step 1 :
Download bluetooth.tar file from here [Link] extract it, install all .pets and Reboot

Step 2 :
Right click Select Network -> Bluetooth Wizard , now follow on-screen steps to pair your devices.if it does not scan a bluetooth device make sure you have selected always visible or discoverable in your mobile device. if it still is not scanning make sure the bluetooth device of your computer is on and attached properly. You can check if puppy linux has detected your computer's bluetooth device in Menu->System->HardwareInfo in that select USB to check.

Step 3 :
Now navigate to the /etc/ppp from your file manager.
in ppp goto chatscripts directory, now right click and select create new file named gprs and paste following code ..

"" "ATZ"
OK 'AT+cgdcont=1,"IP","enter your ISP APN here"'
OK ATD*99***1#

you'll need to provide APN address in my case it looks like this ..
OK 'AT+cgdcont=1,"IP","tata.docomo.internet"'
or may be even change the dial number though *99***1# should work, if not try *99#

did that ? ok, now go to ppp again and goto peers directory and right click to create new file and name it gprs and paste following code ..

connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/gprs"

Step 4 :
Now click console icon from desktop and type hcitool scan it would be like ..

sh-4.1# hcitool scan
Scanning ...
18:14:56:CA:9E:42 Yo

18:14:56:CA:9E:42 is mac address of my mobile bluetooth device and Yo is my mobile bluetooth's name copy the mac address and browse your mobile also save mac address somewhere you'll need it in next steps e.g.

sh-4.1# sdptool browse 18:14:56:CA:9E:42
Browsing 18:14:56:CA:9E:42 ...

Service Name: Dial-up networking
Service RecHandle: 0x10003
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

It'll list all services your mobile provides. scroll down and find Service Name: Dial-up networking and channel number in my case it is Channel: 1, save or remember channel number you'll need it in next step.

Step 5 :
Now click file icon on desktop and right click , select create new script with name Connect and paste following code ..

modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe hci_usb
mknod -m 666 /dev/rfcomm0 c 216 0
# in the following line change mac address and channel number for your phone

rfcomm bind /dev/rfcomm0 18:14:56:CA:9E:42 1

rxvt -bg "light yellow" -geometry 134x20 -title GPRS_connection_tail -e tail -n 20 -f /var/log/messages &
pppd call gprs
gxmessage -center -bg "light green" -title "PPPD calling..." -buttons "EXIT" "PPPD EXIT for exiting GPRS connection"
killall pppd
rfcomm release /dev/rfcomm0
killall rfcomm
killall hcid
kill $(ps|grep GPRS_co)

in above script, in red line, you'll need to change the mac address and channel number as you saved it, Ok so now we all set up , you just need to click Connect and it'll connect to your mobile and will create internet connection.

if it is not connecting to your mobile first try following in console
rfcomm connect 0 your-mac-address chennal-number
e.g. rfcomm connect 0 18:14:56:CA:9E:42 1
and then click Connect script file it should work fine ..

To transfer files with bluetooth,  right click bluetooth icon in tray and select Send Files :)

Some Resource and Help links :

P.S :  I'm the same guy who posted this same article on puppy-linux forum Link
You can now Enjoy Internet on Puppy Linux :)


  1. Work perfect on Nokia E90! Thank you!


  2. glad worked out perfectly for you
    enjoy ..

  3. why is difficult!

  4. 'coz it's a great little linux OS :D

  5. hi, if using this method, can 3g usb/ expresscard devices still be active?

  6. i don't know for sure because i have never tried that but i think yes,they both may be able to remain active at same time.

  7. hi thanks for helpful tips here.
    Installed all .pet files. I can see d two bluetooth options in network but nothing happens upon clicking on them. In hardware info found one unknown USB device which i presume is non other than bluetooth device.

  8. This comment has been removed by a blog administrator.

  9. This comment has been removed by a blog administrator.

  10. Thank you sir. I started with Puppy yesterday and your guide helped me get my internet up and running.

  11. Good article, thanks for sharing this good information yet knowledge increasing post.

  12. Sir can you help me with my problem here:

  13. rfcomm bind /dev/rfcomm0 18:14:56:CA:9E:42 1
    you will need to change MAC address and channel number (1) in your script
    sorry can't be much of help it's been years I've worked with puppy , I've forgot so much :(

  14. This comment has been removed by a blog administrator.

  15. Your script works great for me. I have an Android phone which does not support DUN. It supports only PAN. Can you please help me getting that work?

  16. I use ergonomic mouse which is designed in an innovative way, is utilitarian, is also rugged and looks fantastic. I've bought this from an online ergonomic store They provide products of high quality in a reasonable price.

  17. This was anything but helpful. Instal pets, really? How the fuck do I do that EXACTLY. I'm new to this form of OS's and don't know where to go to do everything I otherwise can in Windows.

    1. Hi Meghan, It seems like you are a beginner,Linux can be painful at first but once you get familiar with it you'll just want it more.

      About 'Installing Pets' they are executable files with .pet extension, you double click it and it gets installed in Your OS.

      I suggest read a guide on linux OS in general and ask questions on official puppy linux community to get more help.
      Have a nice day.

  18. When you buy a Bluetooth product from the store, it comes equipped with a CD that contains the device driver software. To install it you'll need to insert it into your disc drive with your computer powered on.
    visit this page

  19. Thanks for providing us this wonderful information
    i will definitely look back for this wonderful
    information. Here, also check our wonderful course of led tv repairing institute

    led tv repairing coure
    in Delhi.