Posts: 11
Joined: Wed Jan 01, 2014 4:16 am

WiFI Server

Thu Jan 09, 2014 4:19 pm

I am doing a project as a part of my curriculam....as i am a newbie i cant understand the procedures for making the Pi a webserver over wifi.

In the project i want Pi as a web server over WiFi(LAN)...so that i can access it from a mobile phone that supports wifi. then i want to run a Python script in Pi written using PySerial to send a string to arduino interfaced using USB, When i click on a button in the webpage hosted in Pi

How to do it?? please anybody help..!!!

User avatar
Posts: 40833
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: WiFI Server

Fri Jan 10, 2014 12:18 am

Split the tasks into two.

1. Get an active WiFi interface running.
2. Get Apache2, lighttpd, nginx (or some other) web server running.

Search using Google.
"WiFi raspberry pi site:raspberrypi.org" and you'll turn up hundreds of threads. Qualify that search with your WiFi dongle model and you'll trim the results to usable levels.

Getting apache2 running is trivial once you have a working network

sudo apt-get install apache2
And start writing HTML in /var/www

Best of luck with that.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Posts: 11
Joined: Wed Jan 01, 2014 4:16 am

Re: WiFI Server

Sun Jan 12, 2014 7:10 am

thanks for the response.....
so i can actually get .py running in an apache server??

ok thanks surely search for it
finally thnx again

Return to “Networking and servers”