![]() |
|
BT PAN - we need iptables and BT hackers - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: BT PAN - we need iptables and BT hackers (/showthread.php?tid=20079) |
BT PAN - we need iptables and BT hackers - biketool - 11-12-2025 While a wifi hotspot is useful in a situation where you can plug-in your phone and get fast internet for your computer or laptop Bluetooth PAN is so far the best solution(except usb cable link which ideally will also be packaged for) for mobile users trying to conserve battery power. This really should be a core optional or bundled packages for not just Mobian but all phosh and plasma builds. We have a working 100% Debian linux based(Maemo 5) solution here for a system current around 2009 pre-systemd. https://bugs.maemo.org/Bluetooth_PAN (getting dead link) https://talk.maemo.org/showthread.php?t=58570 What is required is to install the PAN bluetooth wireless base station bluez service and then create iptables routing and automated DHCP service like we already have in the WiFi service. here is how it is done with openwrt user firmware routers. https://openwrt.org/docs/guide-user/hardware/bluetooth/bluetooth.6lowpan https://www.multitech.net/developer/software/mlinux/using-mlinux/bluez-5-pan-setup/ I have gotten the bluetooth PAN service to work once about four years ago on a PP running then current mobian though I had to in the end tunnel using SSH(works like a duct-tape fast socks VPN) to the phone from the client laptop as I had not configured the iptables routing correctly(ssh -D user@pinephoneIPaddress). Since then I have not been able to replicate the bluez setup of the PAN BT service which is the base component toconnect to everything else. RE: BT PAN - we need iptables and BT hackers - biketool - 03-25-2026 Sadly my PPp system board was not going into sleep, bought a replacement system board and the new modem included would never turn on, no help form Pine64 no warranty. anyways I have a Purism Librem and I solved the BT pan configuration in Pureos crimson which should work for Mobian as well. https://forums.puri.sm/t/bluetooth-pan-network-tethering/30211/3 Be sure your bluetooth is on and available sudo modprobe bnep echo "bnep" | sudo tee /etc/modules-load.d/bnep.conf sudo hciconfig hci0 up bluetoothctl (in the interactive typr) power on (if all is well type) exit sudo sdptool add NAP sudo nmcli connection add type bluetooth con-name "PAN-Share" ifname bnep0 bluetooth.type nap ipv4.method shared sudo nmcli connection up "PAN-Share" sudo apt install iptables-persistent sudo netfilter-persistent save easy as that..... pair your laptop or tablet, this is far more |