How to Set up a Wireless Network in Linux

A walkthrough of wireless (IEEE 802.11 also known as WiFi) home networking with Linux. Most wireless adapters are not designed for use in Linux and depend on non-free proprietary drivers and firmware which inevitably leads to problems....

Method 1 of 3:

Set up your new router

  1. Picture 1 of How to Set up a Wireless Network in Linux
    Plug your router into your internet socket if you want to share your internet.
  2. Picture 2 of How to Set up a Wireless Network in Linux
    Plug your router into your PC with an ethernet cable.
  3. Picture 3 of How to Set up a Wireless Network in Linux
    Go to your browser and type in the address "http://192.168.0.1" or whichever address the router's web server is listening.
  4. Picture 4 of How to Set up a Wireless Network in Linux
    Enter your username and password from your router (often "admin" and "admin") then your internet service provider.
  5. Picture 5 of How to Set up a Wireless Network in Linux
    Enable wireless and set your encryption (WEP or WPA) and type a memorable passkey.
Method 2 of 3:

Detecting your wireless adapter

  1. Picture 6 of How to Set up a Wireless Network in Linux
    Your wireless adapter should be detected automatically by your distribution and should be available in your distribution's network config tools (as of early 2012 most distributions use Network Manager). Only if the card is *not* detected, go through the following troubleshooting steps:
  2. Picture 7 of How to Set up a Wireless Network in Linux
    Type iwconfig into the terminal to see what wireless network interfaces have been detected.
  3. Picture 8 of How to Set up a Wireless Network in Linux
    Type sudo lshw (or lspci or lsusb) to list hardware and get details on the chipset that your card uses. Try searching the Internet or posting in the help forums for your Linux distribution to see if there's support for the chipset your card uses.
  4. Picture 9 of How to Set up a Wireless Network in Linux
    If you're using Linux Mint, try MintWifi.
  5. Picture 10 of How to Set up a Wireless Network in Linux
    You may need to use a ndiswrapper and your Windows driver, look up the ndis wrapper documentation or ask for help in the forums/mailing lists for your distribution.
Method 3 of 3:

Connecting to a network

  1. Picture 11 of How to Set up a Wireless Network in Linux
    If your distribution is using NetworkManager there should be an icon near the clock which you can click on.
  2. Picture 12 of How to Set up a Wireless Network in Linux
    Choose your "Encryption" (WEP or WPA) and enter your passkey.
  3. Picture 13 of How to Set up a Wireless Network in Linux
    If your distribution is not using NetworkManager you may need to look up its documentation or ask for help in it its forums.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile