====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
os:minibian [2016/06/20 14:19]
admin [WiFi & Bluetooth]
os:minibian [2016/06/21 02:04]
admin [WiFi]
Line 181: Line 181:
 The IP of your installation is displayed in red during the boot sequence. The IP of your installation is displayed in red during the boot sequence.
  
-===== WiFi & Bluetooth ​=====+===== WiFi =====
  
 +**NOTE**: the following is based on RasPi 3 model experimentation,​ you might need to install some specific packages for your hardware.
 In order to enable Wifi and Bluetooth on the new Raspberry Pi 3, one need to install some complementary packages as follow: In order to enable Wifi and Bluetooth on the new Raspberry Pi 3, one need to install some complementary packages as follow:
  
 <​Code:​bash |Install WiFi & Bluetooth packages:>​ <​Code:​bash |Install WiFi & Bluetooth packages:>​
 > apt-get update > apt-get update
-> apt-get install firmware-brcm80211 pi-bluetooth wpasupplicant+> apt-get install firmware-brcm80211 pi-bluetooth wpasupplicant ​wireless-tools
 </​Code>​ </​Code>​
  
-To configure and use the WiFi network, you still need to modify 2 files:+To configure and use the WiFi network, you can scan for available SSIDs using: 
 +<​Code:​bash |Scan available WiFi networks>​ 
 +> iwlist scan 
 +Cell 02 - Address: 30:​91:​8F:​15:​C7:​F7 
 +  Channel:8 
 +  Frequency:​2.447 GHz (Channel 8) 
 +  Quality=36/​70 ​ Signal level=-74 dBm   
 +  Encryption key:on 
 +  ESSID:"​My-WiFi-SSID"​ 
 +  Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 
 +            24 Mb/s; 36 Mb/s; 54 Mb/s 
 +  Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s 
 +  Mode:​Master 
 +  Extra:​tsf=0000000000000000 
 +  Extra: Last beacon: 70ms ago 
 +  IE: Unknown: 0007444D5F62626F78 
 +  IE: Unknown: 010882848B962430486C 
 +  IE: Unknown: 030108 
 +  IE: Unknown: 2A0100 
 +  IE: Unknown: 2F0100 
 +  IE: IEEE 802.11i/​WPA2 Version 1 
 +      Group Cipher : CCMP 
 +      Pairwise Ciphers (1) : CCMP 
 +      Authentication Suites (1) : PSK 
 +  IE: Unknown: 32040C121860 
 +  IE: Unknown: 2D1A1C1......000000 
 +  IE: Unknown: 3D16080......000000 
 +  IE: Unknown: 7F08040......0000040 
 +  IE: Unknown: DDAB005......000120 
 +  IE: Unknown: DD09001......0C0000 
 +  IE: Unknown: DD18005......322F00 
 +</​Code>​ 
 + 
 +You still need to modify 2 files:
  
 <​Code:​bash |/​etc/​network/​interfaces>​ <​Code:​bash |/​etc/​network/​interfaces>​
 > nano /​etc/​network/​interfaces > nano /​etc/​network/​interfaces
 </​Code>​ </​Code>​
- 
 <​Code:​bash |/​etc/​network/​interfaces>​ <​Code:​bash |/​etc/​network/​interfaces>​
 ... ...
Line 201: Line 234:
 allow-hotplug wlan0 allow-hotplug wlan0
 iface wlan0 inet manual iface wlan0 inet manual
-wpa-roam /​etc/​wpa_supplicant/​wpa_supplicant.conf +  ​wpa-roam /​etc/​wpa_supplicant/​wpa_supplicant.conf
-iface default inet dhcp+
 </​Code>​ </​Code>​
- 
  
 <​Code:​bash |/​etc/​wpa_supplicant/​wpa_supplicant.conf>​ <​Code:​bash |/​etc/​wpa_supplicant/​wpa_supplicant.conf>​
 > nano /​etc/​wpa_supplicant/​wpa_supplicant.conf > nano /​etc/​wpa_supplicant/​wpa_supplicant.conf
 </​Code>​ </​Code>​
- 
 <​Code:​bash linenums:​1|/​etc/​wpa_supplicant/​wpa_supplicant.conf>​ <​Code:​bash linenums:​1|/​etc/​wpa_supplicant/​wpa_supplicant.conf>​
 network={ network={
Line 216: Line 246:
 } }
 </​Code>​ </​Code>​
 +
 +Here, we use the ''​manual''​ setting with ''​wpa-roam'',​ this [[http://​raspberrypi.stackexchange.com/​questions/​9257/​whats-the-difference-between-wpa-roam-and-wpa-conf-in-the-etc-network-inte|stackexchange thread]] seems to imply that this configuration should suspend the WiFi when the Ethernet cable is plugged and vice-versa.
 +On the contrary, using ''​manual''​ with ''​wpa-roam'', ​ (this hasn't been tested by myself).
 +
 +Nevertheless,​ using the above settings had **both WiFi and Ethernet** activated at the same time.
 +There is more to learn in this article about [[http://​manual.aptosid.com/​en/​inet-setup-en.htm|Setting up for WiFi Roaming with wpa]].
 +===== Bluetooth =====