Creating a wireless access point with hostapd
This recipe sets up the Raspberry Pi as a wireless access point – as a hub that other wireless devices can use to connect to the local network – or to services that are running on the Raspberry Pi.
Out of the box, the Raspbian Linux distribution supports connecting the Raspberry Pi to an existing wireless network using a wireless USB adapter. This recipe goes beyond using the Raspberry Pi as a network client and instead configures the Raspberry Pi as a network hub for other wireless devices. If the Raspberry Pi is also connected to a local network via a TCP cable, the Raspberry Pi acts as wireless network router enabling other devices to connect to the local network through the Raspberry Pi.