GothPanda

Sometimes, I make things. Even rarer, I manage to write things down.


Using Bluetooth to Dialup on Old PCs

Device Setup

Recommend a Raspberry Pi Zero W or Raspberry Pi Zero 2 W, along with Raspbian Lite

Configuring the HC-05

Download the DSDTech configuration tool, and configure your adapter.

Pairing the Adapter

Install BlueZ on your OpenWRT box, and then pair your box with the HC-05 adapter.

bluetoothctl

agent on
power on
scanning on
devices
pair 00:14:XX:XX:XX:XX
exit

Setup the RFCOMM serial port

killall rfcomm

rfcomm connect /dev/rfcomm0 00:14:XX:XX:XX:XX 1 &

Point to Point Protocol Daemon

Commands to get the PPP daemon started properly on the Server/Gateway computer (Replacing ttyS0 with RFCOMM port?)

pppd ttyS0 115200 local lock passive proxyarp defaultroute noauth mtu 576 192.168.0.161:192.168.0.162

echo 1 > /proc/sys/net/ipv4/ip_forward

Setup Virtual Modem Scripts

Source: http://www.steptail.com/guides:virtual_modem

« Previous