====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os:minibian [2016/06/20 12:02] admin [Startup Your RasPi] |
os:minibian [2016/07/19 04:36] (current) admin [MINIBIAN] |
||
---|---|---|---|
Line 3: | Line 3: | ||
The //standard// OS for the Raspberry Pi certainly is [[https://www.raspbian.org/|Raspbian]], since it is the Foundation’s official supported operating system. | The //standard// OS for the Raspberry Pi certainly is [[https://www.raspbian.org/|Raspbian]], since it is the Foundation’s official supported operating system. | ||
- | Although it allows anyone to get their RasPi up and running in no time and without a hassle, one must not forget that it's also a tool that was developed in a defined philosophy. As stated by [[https://minibianpi.wordpress.com/2013/07/04/minibian-minimal-raspbian-image-for-raspberry-pi/|MINIBIAN's creator Luca Soltoggio]], //**the [Raspberry Pi] project was born primarily to provide a low cost computer in education and in the countries in the developing world**//. This is perfectly fine, and following this logic it's perfectly understandable that since the Jessie version of Raspbian, it boots straight into the desktop GUI (version 3 of GTK+ / LXDE), see [[https://www.raspberrypi.org/blog/raspbian-jessie-is-here/|this raspberry.org article]] which clearly states the //philosophy// that lies behind the Raspbian releases. | + | Although it allows anyone to get their RasPi up and running in no time and without a hassle, one must not forget that it's also a tool that was developed in a defined philosophy. As stated by [[https://minibianpi.wordpress.com/2013/07/04/minibian-minimal-raspbian-image-for-raspberry-pi/|MINIBIAN's creator Luca Soltoggio]]: |
- | What the Pi's project founders probably didn't imagine is the fact that their creation would also become **a perfect tool for many makers across the world**, who would be able to use it as a powerful, flexible and low cost **embedded system**. | + | > the [Raspberry Pi] project was born primarily to provide a low cost computer in education and in the countries in the developing world. |
+ | |||
+ | This is perfectly fine, and following this logic it's perfectly understandable that since the Jessie version of Raspbian, it boots straight into the desktop GUI (version 3 of GTK+ / LXDE), see [[https://www.raspberrypi.org/blog/raspbian-jessie-is-here/|this raspberry.org article]] which clearly states the //philosophy// that lies behind the Raspbian releases. | ||
+ | |||
+ | What the Pi's project founders probably didn't imagine is the fact that their creation would also become | ||
+ | > a perfect tool for many makers across the world, who would be able to use it as a powerful, flexible and low cost **embedded system**. | ||
And there lies an enormous difference in expectations! | And there lies an enormous difference in expectations! | ||
Line 181: | Line 186: | ||
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 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> | ||
+ | > nano /etc/network/interfaces | ||
+ | </Code> | ||
+ | <Code:bash |/etc/network/interfaces> | ||
+ | ... | ||
+ | |||
+ | allow-hotplug wlan0 | ||
+ | iface wlan0 inet manual | ||
+ | wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | ||
+ | </Code> | ||
+ | |||
+ | <Code:bash |/etc/wpa_supplicant/wpa_supplicant.conf> | ||
+ | > nano /etc/wpa_supplicant/wpa_supplicant.conf | ||
+ | </Code> | ||
+ | <Code:bash linenums:1|/etc/wpa_supplicant/wpa_supplicant.conf> | ||
+ | network={ | ||
+ | ssid="YourSSID" | ||
+ | psk="YourPassword" | ||
+ | } | ||
+ | </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 ===== |