hcitool scan
2. Edit "/etc/default/bluetooth"
PAND_ENABLED=1
PAND_OPTIONS="--listen --role=PANU --devup /etc/bluetooth/pan/dev-up --devdown /etc/bluetooth/pan/dev-down"
3. Create directory "/etc/bluetooth/pan"
4. Create file "/etc/bluetooth/pan/dev-up"
#!/bin/bash
ifup bnep0
5. Create file "/etc/bluetooth/pan/dev-down"
#!/bin/bash
ifdown bnep0
6. Install pand & create PAN connection
sudo apt-get install bluez-compat
sudo pand -c IPHONE BLUETOOTH ADDRESS
7. Assign IP address to iPhone
sudo dhclient3 bnep0
8. To disconnect tethering
sudo pand -K
You can use the same method to tethering to multiple machines at the same time.
No comments:
Post a Comment