Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 have a wired interconnection in my ubuntu laptop. I want to share this connection to my Nexus 7. I tried creating a Ad-hoc connection but N7 doesn't recognise ad-hoc wifi. So I found my old wireless router ( Beetel 450TC1 ) and connected both my laptop and N7. I ran a web server in my laptop and I am able to see it in N7. Now, How do I forward my wired internet connection to N7? I think I must run some proxy server to forward all requests to eth0 interface. Any ideas, how to set this up?

share|improve this question
If you have setup the router in between the Internet (ADSL or Cable modem) connection and the laptop. Then both the laptop and the N7 should be able to connect to the Internet via the router's WiFi. If this is not the case, please edit the question and explain. – user68186 Oct 24 '12 at 12:45

You need some packages and have to configure it: 1. HostAPD 2. DHCP 3. ip masquerading

To know how to configure these packages please read this article:

share|improve this answer

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.