rbemmanuel / RPI-Wireless-Hotspot

Configure your Raspberry Pi to act as a WPA encrypted WiFi hotspot, sharing the attatched ethernet connection. Allows the selection from a range of common DNS providers, including unblock-us for netflix. Chromecast support with this feature is also configured.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPI-Wireless-Hotspot

Configures your Raspberry Pi to use an attatched WiFi dongle as a hotspot, broadcasting your ethernet connection to other devices. Could be useful in hotel rooms, college dorms or if you just don't feel like buying a router!

Features:

  • The created hotspot runs automatically on boot, no extra configuration necessary

  • Your new network is WPA encryped, default SSID is "RaspberryPiFi", WPA key is "0123456789A".

  • Once set up, the local network facilites of the Pi will still operate as normal

  • Allows use of alternative DNS server with easy setup (including unblock-us for removing netflix geoblocks)

  • Allows chromecast compatibility with unblock-us by intercepting google's DNS requests on the pi

Requirements:

  1. A Raspberry Pi model B running raspbian

  2. A Raspbian compatible Wifi dongle. This script assumes that your adapter uses the nl80211 drivers in hostapd (the majority of new products should support this). Others can be made to work, but require a custom compilation of hostapd (guides are out there).

  3. An active ethernet connection

Installation:

  • In the terminal, run: git clone https://github.com/harryallerston/RPI-Wireless-Hotspot.git

  • Navigate to folder, and execute "sudo ./install"

  • Confirm that you are happy for changes to be made

  • Choose a alternative DNS or use the default (Google)

  • If you require chromecast support with unblock-us select the appropriate option

  • This should automatically set everything up and leave you ready to go

Notes and configuration

  • To change default SSID, WPA key or WiFi channel, edit /etc/hostapd/hostapd.conf accordingly

  • This setup has been tested on a fresh install of raspbian.

  • It is advised that this be set up on a fresh install

  • If set up on an existing install then any current config files will be backed up with the extension ".old" in the relevant folders prior to installation (this allows returning to original network settings if required)

  • if the hotspot shows up after installation, but your device cannot connect then ssh to your raspberry pi and restart the dhcp service using "sudo service udhcpd restart". This is a known bug currently.

About

Configure your Raspberry Pi to act as a WPA encrypted WiFi hotspot, sharing the attatched ethernet connection. Allows the selection from a range of common DNS providers, including unblock-us for netflix. Chromecast support with this feature is also configured.