doc:appunti:hardware:raspberrypi_car
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:raspberrypi_car [2013/08/09 16:56] – [wpa_supplicant] niccolo | doc:appunti:hardware:raspberrypi_car [2019/02/01 17:04] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Raspberry Pi Car Device ====== | ====== Raspberry Pi Car Device ====== | ||
- | Riferimenti | + | ===== Dongle USB Edimax in Mode Master (Access Point) ===== |
+ | |||
+ | Normalmente l' | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | Ci vuole una **versione custom di hostapd**, forse occorre anche un **modulo kernel custom**, a seconda del chip WiFi. Vedere le seguenti pagine: | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | Pare che ci siano risultati diversi a seconda del chip (RTL8188CUS, | ||
+ | |||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | |||
+ | Altri riferimenti | ||
* [[http:// | * [[http:// | ||
Line 7: | Line 26: | ||
* [[http:// | * [[http:// | ||
- | ===== Dongle USB Edimax | + | ===== wpa_supplicant |
- | Ci vuole una versione custom | + | **''/ |
+ | |||
+ | < | ||
+ | allow-hotplug wlan0 | ||
+ | |||
+ | # WiFi in Client (Managed) mode | ||
+ | iface wlan0 inet manual | ||
+ | wpa-roam / | ||
+ | |||
+ | # If network stanza has not " | ||
+ | iface default inet dhcp | ||
+ | </ | ||
+ | |||
+ | FIXME C'è un problema: l' | ||
+ | |||
+ | Una conseguenza di tutto questo è che non si riesce a lanciare '' | ||
===== hostap ===== | ===== hostap ===== | ||
- | Si vuole che il Raspberry | + | Al bootstrap |
La modalità master si ottiene con il software **hostapd**, | La modalità master si ottiene con il software **hostapd**, | ||
Line 37: | Line 71: | ||
</ | </ | ||
- | Volendo avviare hostapd al bootstrap | + | Volendo avviare hostapd al bootstrap |
< | < | ||
- | DAEMON_CONF="/ | + | #DAEMON_CONF="/ |
</ | </ | ||
Line 47: | Line 81: | ||
< | < | ||
allow-hotplug wlan0 | allow-hotplug wlan0 | ||
- | iface wifi_master | + | |
+ | # WiFi in Access Point (Master) mode. | ||
+ | # Activate with: ifdown wlan0; ifup wlan0=master | ||
+ | iface master | ||
address 192.168.5.1 | address 192.168.5.1 | ||
netmask 255.255.255.0 | netmask 255.255.255.0 | ||
Line 54: | Line 91: | ||
</ | </ | ||
- | in questo modo è possibile usare i comandi per avviare o fermare l' | + | in questo modo è possibile usare i comandi per fermare |
< | < | ||
- | ifup wlan0=wifi_master | + | ifdown |
- | ifdown | + | ifup wlan0=master |
</ | </ | ||
- | ===== wpa_supplicant ===== | + | ===== wpa_supplicant |
- | **''/ | + | Si vuole un **sistema automatico** per decidere se attivare l' |
- | < | ||
- | allow-hotplug wlan0 | ||
- | # WiFi in Client (Managed) mode | + | ===== dnsmasq ===== |
- | iface wlan0 inet manual | + | |
- | wpa-roam / | + | |
- | # If network stanza has not " | + | ===== Alimentazione a batteria ===== |
- | iface default inet dhcp | + | |
- | </ | + | |
- | FIXME C'è un problema: l' | + | Si è provato ad alimentare il Raspberry con un **2200mAh Li-Ion Rechargeable Power Bank** [[http://uk.rs-online.com/ |
- | Una conseguenza di tutto questo | + | Nelle nostre condizioni il Raspberry |
- | ===== dnsmasq ===== | + | Una soluzione migliore potrebbe essere quella di utilizzare un circuito specifico per la ricarica/ |
+ | Attenzione alle batterie litio-polimeri! Hanno una resistenza interna molto bassa e quindi sono a rischio di carica/ |
doc/appunti/hardware/raspberrypi_car.1376060188.txt.gz · Last modified: 2013/08/09 16:56 by niccolo