Raspberry Pi – Wifi hotspot

In order for the Raspberry Pi to act as a WiFi router and access point you need to install some extra software on the Raspberry.

16. 9. 2015

hostapd
dhcp-server

Pre

Konfigurace
Update
Upgrade
Webserver
Wifi
(external disk)

Intorduction

In order for the Raspberry Pi to act as a WiFi router and access point you need to install some extra software on the Raspberry. You are going to need the following pieces of software:

  • hostapd
    HostAPD is a user space daemon for access point and authentication servers. That means it can will turn your Raspberry Pi into a access point that other computers can connect to. It will also handle security such that you can setup a WiFi password.
  • isc-dhcp-server
    isc-dhcp-server is the Internet Systems Consortium’s im­plementation of a DHCP server. A DHCP server is responsible for assigning addresses to computers and devices connection to the WiFi access point.

1. Konfigurace Access Pointu (hostapd)

Instalace

sudo apt-get install hostapd

sudo apt-get install hostapd sudo nano /etc/hostapd/hos­tapd.conf
interface=wlan0
driver=nl80211
#driver=rtl871×drv
ssid=MyPi
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcas­t_ssid=0
wpa=2
wpa_passphrase=ras­pberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
sudo nano /etc/default/hos­tapd
DAEMON_CONF=„/et­c/hostapd/hos­tapd.conf“

http://raspberrypihq.com/…wifi-router/

http://www.maketecheasier.com/…ccess-point/

http://www.daveconroy.com/…-web-server/