|Yeah, We got Pi!|
Pi Wireless Access Point
sudo apt-get install hostapd udhcpd
save and close.
sudo vi /etc/default/udhcpdadd a hash to comment the line as shown below:-
sudo vi /etc/network/interfacesdelete "iface wlan0 inet dhcp" and replace with :-
In the same file, add hashes to comment the lines as shown below:-
#allow-hotplug wlan0 #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf #iface default inet dhcpsave and close.
Next we configure the access point.
sudo iwlist wlan0 scan | lessnow we configure the AP software.
sudo vi /etc/hostapd/hostapd.conf
save and close.
sudo vi /etc/default/hostapdchange #DAEMON_CONF="" to:- save and close
Next we configure the routing between the interfaces.
sudo vi /etc/sysctl.confadd the following to the bottom of the file to enable forwarding in the kernel:-
save and close
run the following routing commands in the shell:-
then save this config using :-
sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
sudo vi /etc/network/interfacesadd the following line to the botom of the file to restore on boot.:-
sudo update-rc.d hostapd enable sudo update-rc.d udhcpd enable... and very finally:-
sudo shutdown -rF nowto restart your access point.
You should be able to view who is connected using :-
It is coded mostly using Vi, or at least the edit function of MC,
but also sometimes using Notepad++ or wordpad on Window$.
Images are processed using GIMP, Imagemagick or PSP7.
It was designed to be 800 pixels wide in 2003 to ensure resolution issues are not big issues. This has proven to be a good move as the website works as is on most smart phones. More information on the freely available software is available from the link on the sites home page.
If you have any questions, just contact me using the message function on the home page.