How to Make Your Linux Machine a Virtual Router from Ethernet Connection

Start with the Terminal., Update your system., Type the following: sudo apt-get install ap-hotspot , Configure., Wait for the connection., Turn your router on!

6 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Start with the Terminal.

    You'll be using the terminal for this method, so open up your terminal and type in: sudo add-apt-repository ppa:nilarimogard/webupd8
  2. Step 2: Update your system.

    After having added the source above, you'll update your system.

    In terminal, type: sudo apt-get update ,, Now that you've actually installed everything as instructed above, it's type to configure your "virtual router"/hotspot.

    In terminal, type: sudo ap-hotspot configure , If you're connected to an Ethernet cable, it should detect your network as something like etch0
    -- just continue.

    Once it asks to name your network, name it something like awesomenetwork.

    Your WPA password should be of the following length: "fivefifty".

    No longer, no shorter. , Now that you've fully configured your network, you can type the following in terminal: sudo ap-hotspot start.

    This will start your hotspot.
  3. Step 3: Type the following: sudo apt-get install ap-hotspot

  4. Step 4: Configure.

  5. Step 5: Wait for the connection.

  6. Step 6: Turn your router on!

Detailed Guide

You'll be using the terminal for this method, so open up your terminal and type in: sudo add-apt-repository ppa:nilarimogard/webupd8

After having added the source above, you'll update your system.

In terminal, type: sudo apt-get update ,, Now that you've actually installed everything as instructed above, it's type to configure your "virtual router"/hotspot.

In terminal, type: sudo ap-hotspot configure , If you're connected to an Ethernet cable, it should detect your network as something like etch0
-- just continue.

Once it asks to name your network, name it something like awesomenetwork.

Your WPA password should be of the following length: "fivefifty".

No longer, no shorter. , Now that you've fully configured your network, you can type the following in terminal: sudo ap-hotspot start.

This will start your hotspot.

About the Author

J

Julie Moore

Julie Moore is an experienced writer with over 7 years of expertise in education and learning. Passionate about sharing practical knowledge, Julie creates easy-to-follow guides that help readers achieve their goals.

46 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: