Difference between revisions of "Wifi kiosk"

From Kiwix
Jump to navigation Jump to search
Line 17: Line 17:
Add to the /etc/network/interfaces
Add to the /etc/network/interfaces


<source lang="text">
# wlan
# wlan
auto wlan0
auto wlan0
Line 24: Line 25:
wireless-essid KIWIX
wireless-essid KIWIX
wireless-mode ad-hoc
wireless-mode ad-hoc
</source>


Try to start the interface with: ifconfig wlan0 up
Try to start the interface with: ifconfig wlan0 up

Revision as of 08:25, 12 February 2011

This page is a HOWTO to create a Kiwix Wifi kiosk, a simple wifi hotspot which allow user to surf on Wikipedia using kiwix-serve and also provide all necessary files to download.

1 - Hardware

Almost all hardware may be able to help to build such a wifi hotspot. We use a small PC based on a x86 and using a USB wifi dongle. To install Debian on the computer, we use an additional USB HD.

2 - OS Installation

Install unetbootin and start it. unetbootin propose you to install a debian stable netinstall on your USB key, do it. Boot your target computer on the usb key and install Debian stable choosing the options "Web server" and "SSH server".

3 - Install additional packages

You should now be able to connect to you computer using SSH, you may consequently to all the next steps remotly. Install the following packags : wireless-tools, dnsmasq Check that you wirelss card is correctly recognized.

4 - Configuration network

Add to the /etc/network/interfaces

# wlan
auto wlan0
iface wlan0 inet static
address 192.168.1.1
netmask 255.255.255.0
wireless-essid KIWIX
wireless-mode ad-hoc

Try to start the interface with: ifconfig wlan0 up

5 - Configuration of DNS & DHCP

Enable the option in /etc/dnsmasq.conf :

  • bogus-priv
  • address = /#/192.168.1.1
  • interface=wlan0
  • dhcp-range=192.168.1.50,192.168.1.150,1h