Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am in the process of creating a carputer which will be controlled via a web browser on my android device. I plan to use a raspberry pi with a USB wireless adapter, which will serve a simple website.

If I use the USB wifi adapter to turn the raspberry pi into an access point/ad-hoc network, can I serve the website from the same device?

At what address (e.g. would I locate the website on my android browser once connecting to the ad-hoc network?

share|improve this question
+1 for mentioning carputer. – Dejan Mar 27 '13 at 19:26
Depending on what OS you run on the PI, and what services, the IP would be whatever IP you configure it to use. Without more details, it would be impossible to figure out more about your proposed configuration to have any kind of meaningful feedback. – killermist Mar 28 '13 at 0:43
Thanks killermist, I'm using Occidentalis v02. – Rob Gibbons Mar 28 '13 at 4:34

I see no reason why you should not be able to use it. The address would be whatever your Raspberry's IP is. You will need to install and configure a web server on the PI (apache for example). Once the webserver is up and running, any device on the same network as the PI should be able to connect to the webserver using the PI's IP.

As pointed out by J. Novack below, you should also have the PI serve as a DHCP server or set up all devices that connect to the PI's network to have static IPs.

share|improve this answer
You will need to serve DHCP off the RaspberryPi as well so that your Android device (or anything connecting to it) will get an IP Address automatically. – jnovack Mar 27 '13 at 19:13
Thanks for the tip J, do you have any advice to get started serving DHCP? I'm using Occidentalis v02 – Rob Gibbons Mar 28 '13 at 4:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.