This time we will be trying to integrate Phpmyadmin with Nginx and MariaDB. We are using Arch Linux since its my preferred distribution, but all of these commands are not very specific to the distribution you choose to work with. PhpMyAdmin is one of the most famous tools for managing the MySQL database, and is…
How to enable PAN on Raspberry
Now that both my devices are paired with each other, its time to connect them using the proper protocols. BNEP is used for delivering network packets on top of L2CAP. This protocol is used by the personal area networking (PAN) profile. My plan is make an android application to control the Raspberry pi, so using a host stack that’s supports TCP/IP protocols really helps with the speed of development. To make this happen, I used a older version of the bluez tools called pand. So here is how to enable PAN on Raspberry
sudo apt-get install bluez-compat
The hcitool scan command will let you find the device mac address, you will need this again to connect to the phone.
sudo pand –connect 00:25:00:96:13:BB -n
Notice the “bnep0 connected” this is the name of the Bluetooth network interface, we need to enable DHCP on this to get a IP address.
That’s it, now you can connect to the Raspberry using a terminal emulator on your android device! Here is a small video showing me connecting to my Raspberry using this setup :
Next up, making everything work at boot time!