network_over_bluetooth
Bluetooth Group ad-hoc Network (GN) / piconet
Just some quick manual notes for now.
apt-get install bluetooth bluez bluez-test-tools bluez-tools bluez-test-scripts bluez-hcidump bridge-utils systemctl enable bluetooth systemctl start bluetooth server: hciconfig hci0 up bluetoothctl discoverable on pairable on client: bluetoothctl scan on pair <server MAC> server: trust <client MAC> server: brctl addbr pan0 brctl stp pan0 off brctl setfd pan0 0 bt-network -s gn pan0 -d client: bluetoothctl: connect bt-network -c C4:57:6E:47:52:21 panu -d client: 7: bnep0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000 link/ether 00:c2:c6:bf:68:b8 brd ff:ff:ff:ff:ff:ff inet6 fe80::2c2:c6ff:febf:68b8/64 scope link valid_lft forever preferred_lft forever server: bridge name bridge id STP enabled interfaces pan0 8000.c4576e475221 no bnep0 server iconfig pan0 10.10.10.1/24 client: iconfig bnep0 10.10.10.10/24 ssh 10.10.10.1 server: iperf -s client: iperf -c <server ip over bt> ------------------------------------------------------------ Client connecting to 10.10.10.1, TCP port 5001 TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 3] local 10.10.10.10 port 32834 connected with 10.10.10.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.6 sec 2.25 MBytes 1.78 Mbits/sec
network_over_bluetooth.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1