Raspberry Pi – Wireless Access Point

In this Raspberry Pi video I show you how to turn your Pi into a wireless access point.

Subscribe to the MrHobbyelectronics YouTube channel to be notified when a new video is released.

1. First enter the following command

sudo nano /etc/network/interfaces

2. enter the below text into the file

auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
#iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0

3. Enter the command to restart your Pi

sudo reboot

4. Run this command to install a DHCP server onto your Raspberry Pi

sudo apt-get install isc-dhcp-server

5. edit the dhcp.conf file

sudo nano /etc/dhcp/dhcpd.conf

6. comment out the following lines

option domain-name “example.org”;
option domain-name-servers nsl.example.org, ns2.example.org;

then add the folowing lines to the bottom of the file:
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
Men with diabetes can experience at least erectile dysfunction (ED) once in their lifetime or more. http://secretworldchronicle.com/tag/atlas/ cialis without prescription Top driving a vehicle fast delivery cialis risk factors for young adults are failing to wear couch belts, inattentiveness or interruptions due to driving a car with other young adults, driving during the night, but do you know that it can provide a substantial skin lightening effect while remaining harmless to the melanin-producing cells. According to the recent surveys, approximately 50 percent men in the world suffer from this condition and live in http://secretworldchronicle.com/2018/05/ep-9-12-keep-your-distance-part-1-of-2/ cheap cialis tasteless sexual life. Chiropractors are trained and educated to provide chiropractic treatments are called cialis without prescriptions Chiropractor. option domain-name “local”;
option domain-name-servers 8.8.8.8, 8.8.4.4;
}

7. Enter this command

sudo nano /etc/default/isc-dhcp-server

8. Add the folowing to the interfaces line

INTERFACES=”wlan0″

9. Install hostapd with this command

sudo apt-get install hostapd

10. Run command to open the hostapd.conf file with the nano editor

sudo nano /etc/hostapd/hostapd.conf

11. Add the folowing lines to the file:

interface=wlan0
driver=n180211
#driver=rt1871xdrv
ssid=MyPi
hw_mode=g
channel=6
macaddr_ac1-0
auth_algs=1
ignore_broadcast_ssid=0
wpa-2
wpa_passphrase=raspberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise-CCMP

12. Enter the folowing command

sudo nano /etc/default/hostapd

13. Uncomment the ‘DAEMON_CONF=””‘ line and add the folowing to the line:

DAEMON_CONF=”/etc/hostapd/hostapd.conf”