Saturday, September 24, 2016

My Pi 3 Install Log (9): Wireless Connections

The biggest advantage that makes Pi 3 stands out from the older generations are the built-in WiFi and Bluetooth.

ref:
http://www.makeuseof.com/tag/setup-wi-fi-bluetooth-raspberry-pi-3/

sudo apt-get update
sudo apt-get upgrade

to search for available hotspots:
sudo iwlist wlan0 scan



note the SSID of interest, setup password for wifi.  (yes, plain text storing password)
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
You’ll need to add or edit the following:
network={
ssid="SSID"
psk="WIFI PASSWORD"
}

now restart wifi module
sudo ifdown wlan0
sudo ifup wlan0

* * *
for bluetooth, i tried the below, package not found.
sudo apt-get install bluetooth-pi
so i did this instead, works:
sudo apt-get install bluez bluez-firmware
the command below starts the config program... with its prompt
bluetoothctl
enter 'help' for available commands.

to search for devices:
power on
agent on
scan on
and of course, to turn off, use 'off' in place of 'on'.

didn't install 'blueman' yet.  download 18MB -> 6x MB.  i don't need it for now, like command line.
but as ref:
sudo apt-get install blueman
sudo reboot


Labels: , , , ,

0 Comments:

Post a Comment

<< Home