This article provides a step-by-step guide to setting up a home wireless network (IEEE 802.11 also known as Wi-Fi) on Linux.
Steps
Most wireless adapters are not designed to work on Linux OS, there are no developed drivers and firmware, which inevitably leads to problems. Thanks to significant efforts from the Linux community and some vendors, it has been decided to remedy this situation and recently Linux vendors have released distributions that support a significant number of wireless cards.
The Ubuntu Wi-Fi Documentation is a good, and frequently updated guide with information on which cards are supported in the latest versions of Ubuntu (the latest versions of other distros should have similar levels of support). It also lists cards that have free software for users who have a philosophical (or otherwise) objection to closed source drivers.
Method 1 of 3: Installing a New Router

Step 1. Connect your router to the internet if you want to share your internet

Step 2. Connect the router to your computer using a network cable

Step 3. Launch your browser and enter the "192.168.0.1" address or your server address of the router

Step 4. Enter the username and password from your router (often "admin" and
admin!), then enter your ISP.

Step 5. Turn on the wireless option, set up WEP (or WPA) encryption, and enter the network password
Method 2 of 3: Locate your wireless adapter

Step 1. Your wireless adapter should be automatically detected and available in the configuration of your distribution network tools (NetworkManager)
In the event that the card is "NOT" found, do the following:

Step 2. Enter iwconfig in a terminal to see that the wireless network has been detected

Step 3. Enter sudo lshw (or lspci or lsusb) in the hardware list and get detailed information about the chipset and what your card is in use
Try searching the internet or posting to the support forums to find out if the chipset supports your card.

Step 4. If you are using Linux Mint, try MintWifi

Step 5. You may need to use NdisWrapper and Windows driver
Search the Ndiswrapper manual or ask the forums for help.
Method 3 of 3: Connecting to the network

Step 1. If your distribution uses NetworkManager, there should be an icon next to the clock that you can click on

Step 2. Select "Encryption" (WEP or WPA) and enter the passcode
