Now that we have the software installed on a Pi, it's time to connect to it and test the connection. I'm using a Windows computer but any kind should work fine
On the Pi, run the command tail -f /var/log/syslog to watch the system log data, handy for checking and debugging whats going on!
Connect with another computer to the AP you made in the previous step
If you can't connect at all, something is wrong with hostapd
First check what ifconfig (mac/linux) or ipconfig (windows) says. You should have IP address in the 192.168.42.10-50 range
Try pinging the Pi, its address is 192.168.42.1 - on windows it will ping 3 times and quit. On mac/linux press Control-C to quit after a few pings. You should get successful pings as seen below
If that doesn't work, something is wrong with hostapd or dhcpd (more likely)
ping 220.127.116.11, if this doesn't work but the previous does, something is wrong with dhcpd or the NAT configuration (more likely)
If everything is good so far, try browsing the internet, sending email, etc. You are now using your Pi as a Wifi Router!
Its possible to set up your router for open or WEP access, but we don't cover that here (and it's not as secure!) You might want to search around for tutorials such as this one that cover hostapd options