-1

My laptop runs 14.04. It receives connection through WiFi. However, I have a couple of Windows laptop in vicinity which requires internet connection. Is there any way that my laptop acts as server to provide internet connection via ethernet or wifi to other laptops ?

user227495
  • 4,089
  • 17
  • 56
  • 101
  • I prefer to use it as a internet server. Also, mine is not a wired network, it is wireless. – user227495 Sep 22 '15 at 13:19
  • I was expecting something simple. The answer in the suggested link is way above my head. – user227495 Sep 22 '15 at 13:27
  • I am just wondering why you want suck a setup? Can't you connect the other device directly to the WiFi network? – daltonfury42 Sep 22 '15 at 13:27
  • The duplicate thread is for Wi-Fi.

    I get that it seemed a bit too comprehensive. One of those answers links to this article, maybe that's simpler to perform? http://ubuntuhandbook.org/index.php/2014/09/3-ways-create-wifi-hotspot-ubuntu/

    – Promille Sep 22 '15 at 13:34
  • if you have another network card, you could use that, set up a "NAT" environment and use the machine as a router... – JoSSte Sep 22 '15 at 13:38
  • @JonasStumphStevnsvig I am trying to have a setup that receive via Wireless adapter and share via ethernet adapter. – user227495 Sep 22 '15 at 13:44
  • Check out this answer too: http://askubuntu.com/a/609199/44179 – Seth Sep 22 '15 at 13:57
  • @user227495 that was exactly was I thought. effectively you would be using your laptop as a router duplicate of http://askubuntu.com/questions/3063/share-wireless-connection-with-wired-ethernet-port – JoSSte Sep 22 '15 at 14:08

1 Answers1

0

I understand that you have a laptop which gets internet via WiFi and wishes to share the internet to other PCs via a different network. You want your laptop to act as the connection between the two networks.

In other words, you want to make your laptop, which has an internet connection to act as a gateway on a separate network that you create and connect all other devices to it. Here is the guide I followed. The documentation is for arch linux, but it will work on Ubuntu too. Here is an answer in another SE site that applies this idea.

But it is to be noted that a WiFi card can't connect to two different networks simultaneously. So if the the connection to the network from which you get internet is via WiFi, the second network you create should be via Ethernet.

daltonfury42
  • 5,499
  • Thanks, I will give a try. I am having a office setup where I cannot give WiFi password to the laptop users. – user227495 Sep 22 '15 at 13:41