RPi3: Connect Your PC to Your Raspberry Pi using Putty (via Bluetooth)

Опубликовано: 21 Сентябрь 2020
на канале: ZeroLife
805
4

Reference:
https://hacks.mozilla.org/2017/02/hea...

Step 1: Setup your Raspberry Pi (from terminal)
1) Create the new file ... sudo nano /home/pi/btserial.sh
2) Paste the following code from the reference website above. Save and exit.
3) Make it executable ... sudo chmod 755 /home/pi/btserial.sh
4) To run script on startup:
... sudo crontab -e
5) If it ask you choose an editor, choose nano
6) Inside the script, scroll to the very bottom and paste the following:
... @reboot sleep 10 && sudo /home/pi/btserial.sh &
6) Save and Exit. You will have to run the script at least once for it to work:
... sudo /home/pi/btserial.sh &
7) Wait 30 seconds (or until it is finished) then reboot.
... sudo reboot

Step 2: Find the COM number on your computer
1) Turn on your bluetooth and right click to 'Go to Settings'
2) Scroll down to 'Devices and Printers'
3) Right click on your computer icon and select 'Bluetooth Settings'
4) At the top, click on COM Ports
5) Click on Add, then click on 'Outgoing', then click on browse

Step 3: On your Raspberry Pi (Terminal)
1) Type:
... sudo bluetoothctl
... discoverable on
... scan on
2) Find you computer MAC address, then type:
... scan off
...pair (((MAC addresss)))
3) type 'yes', then double click on your raspberry pi icon on your computer
4) Click on OK. Make note of COM numbers
5) Open putty and click on the radio button 'Serial', and enter you COM number
6) Click on 'Open', and it should work

PAT:   / rezatahirkheli  
PP: https://www.paypal.com/paypalme/rezat...
BTC: 3EUQBWZKX9Vcwdffd3cUGATQopxrAQQxJ9
LTC: MBXE6hJgxxFYSD8SjmR7sHCHGTqFXmNGoU
GFM: https://gofund.me/7d6500bd


Смотрите видео RPi3: Connect Your PC to Your Raspberry Pi using Putty (via Bluetooth) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь ZeroLife 21 Сентябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 805 раз и оно понравилось 4 людям.