Un hotspot con OSMC e Raspberry

Da lumacawiki.

HOSTAPD

Questo è il servizio che fa da access point.

apt-get install hostapd

File di configurazione /etc/hostapd/hostapd.conf

# Wireless interface
interface=wlan0
driver=rtl871xdrv
ieee80211n=1
device_name=RTL8188CUS
manufacturer=Realtek
ssid=ILSSID
channel=8
country_code=IT
hw_mode=g
# 802.11n
wme_enabled=1
ieee80211n=1
#ht_capab=[HT40+][SMPS-STATIC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

# Authentication and encryption
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=lapassword
wpa_key_mgmt=WPA-PSK WPA-EAP
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wmm_enabled=0

In /etc/default/hostapd aggiungiamo

DAEMON_CONF="/etc/hostapd/hostapd.conf"

Abilitiamolo all'avvio

 systemctl enable hostapd

Per la questione del drier Realtek vedi: