Difference between revisions of "Wireless network configuration"
|Line 389:||Line 389:|
# modprobe driverXXX
# modprobe driverXXX
If <code>iwlist wlan0 scan</code> displays <code>Interface does not support scanning</code> then you probably forgot to install the firmware. You
If <code>iwlist wlan0 scan</code> displays <code>Interface does not support scanning</code> then you probably forgot to install the firmware. You may have to bring up the interface first, e.g. <code>ifconfig wlan0 up</code> scanning work.
==Part II: Wireless management==
==Part II: Wireless management==
Revision as of 16:32, 22 May 2010
Configuring wireless is a two-part process; the first part is to identify and ensure the correct driver for your wireless device is installed, (they are available on the installation media, so make sure you install them) and to configure the interface. The second is choosing a method of managing wireless connections. This article covers both parts, and provides additional links to wireless management tools.
About new Arch systems: The wireless drivers and tools are available during Arch set-up under the base-devel category. Be sure to install the proper driver for your card. Udev will usually load the appropriate module, thereby creating the wireless interface, in the initial live system of the installer, as well as the newly installed system on your hard drive. If you are configuring your wireless functionality after, and not during, Arch installation, simply ensure the required packages are installed with pacman, (driver, firmware if needed, wireless_tools, wpa_supplicant, etc.) and follow the guidelines below.
- 1 Part I: Identify Card/Install Driver
- 1.1 Identify and Discover if Supported
- 1.2 How it works
- 1.3 Installation
- 1.4 Drivers and firmware
- 1.4.1 wlan-ng
- 1.4.2 rt2860 and rt2870
- 1.4.3 w322u
- 1.4.4 rtl8180
- 1.4.5 rtl8192e
- 1.4.6 rt2x00
- 1.4.7 rt2500, rt61, rt73 (obsolete)
- 1.4.8 madwifi-ng
- 1.4.9 ath5k
- 1.4.10 ath9k
- 1.4.11 ipw2100 and ipw2200
- 1.4.12 iwl3945, iwl4965 and iwl5000-series
- 1.4.13 ipw3945 (obsolete)
- 1.4.14 orinoco
- 1.4.15 ndiswrapper
- 1.4.16 prism54
- 1.4.17 ACX100/111
- 1.4.18 BCM43XX
- 1.4.19 b43
- 1.4.20 broadcom-wl
- 1.4.21 rtl8187
- 1.4.22 zd1211rw
- 1.5 Test installation
- 2 Part II: Wireless management
- 3 See also
- 4 External links
Part I: Identify Card/Install Driver
Identify and Discover if Supported
First you will need to check and see if the Linux kernel has support for your card or if a user-space driver is available for it.
- Identify your card
- You can find your card type by running
lspci | grep -i net
from the command line.
- Or, if you have a USB device, run
- Discover if card is supported
- The Ubuntu Wiki has a good list of wireless cards and whether or not they are supported either in the Linux kernel or by a user-space driver (includes driver name).
- Linux Wireless Support and The Linux Questions' Hardware Compatibility List (HCL) also have a good database of kernel-friendly hardware.
- The kernel page additionaly has a matrix of supported hardware.
- If your card isn't listed
- If your wireless hardware isn't listed above, likely it is supported only under Windows (some Broadcom, 3com, etc). For these you will need to use ndiswrapper. Ndiswrapper is a wrapper script that allows you to use some Windows drivers in Linux. See the compatibility list here. You will need the Template:Filename and Template:Filename files from your Windows install. If you have a newer card, or more exotic card, you might want to look up your exact model name and 'linux' and search the internet before doing this step.
How it works
The default Arch kernel is modular, meaning many of the drivers for machine hardware reside on the hard drive and are available as modules. At boot, udev takes an inventory of your hardware. Udev will load appropriate modules (drivers) for your corresponding hardware, and the driver, in turn, will allow creation of a kernel interface.
The interface name for different drivers and chipsets will vary. Some examples are wlan0, eth1, and ath0.
- Note: Udev is not perfect. If the proper module is not loaded by udev on boot, simply modprobe it and add the module name to etc/rc.conf on the MODULES= line. Note also that udev may (rarely) erroneously load more than one driver. In this case the drivers may effectively cancel each other out. Be sure to blacklist the unwanted module on the MODULES= line by prefixing it with a bang (!).
If you have wired internet available
If you have wired ethernet available, and are simply adding wireless functionality to an existing system, and did not include wireless_tools during initial installation, use pacman to install:
# pacman -S wireless_tools
The drivers' corresponding package names are all highlighted in bold on this page. The packages can be installed during initial package selection on the Arch installation media and can also be installed later with pacman, e.g.:
# pacman -S madwifi
If you have only wireless internet available
The wireless_tools package is now available as part of the base system and is also on the live installation media (CD/USB stick image) under the base-devel category.
You cannot initialize wireless hardware without these user-space tools, so ensure they are installed from the installer media, (during package selection), especially if you have no other means of networking other than wirelessly. Otherwise, you will be stuck in a recursion when you reboot your newly installed Arch system; you will need wireless_tools and drivers, but in order to get them, you will need wireless_tools and drivers.
Drivers and firmware
Methods and procedures for installing drivers for various chip-sets are covered below. In addition, certain chip-sets require the installation of corresponding firmware (also covered below).
This driver support PRISM based cards, which are hard to find now. The PRISM card is an IEEE 802.11 compliant 2.4 GHz DSSS WLAN network interface card that uses the Intersil PRISM chip-set for its radio functions and the AMD PCNet-Mobile chip (AM79C930) for its Media Access Controller (MAC) function. The supported adapters can be found from here: http://www.linux-wlan.org/docs/wlan_adapters.html.gz
For wlan-ng you do not need the wireless_tools package as mentioned above. Instead you will need to learn the tools in the wlan-ng26-utils package: wlancfg and wlanctl-ng.
rt2860 and rt2870
In kernel since 2.6.29 and requires no extra packages. It can be configured using the standard wpa_supplicant and iwconfig tools.
It has a wide range of options that can be configured with iwpriv. These are documented in the source tarballs available from Ralink
For rt2870sta, also see Rt2870
Treat this Tenda card as an rt2870sta. See: Rt2870
Realtek rtl8180 PCI/Cardbus 802.11b now fully supported in the kernel. It can be configured using the standard wpa_supplicant and iwconfig tools.
The driver is part of the kernel package but it needs a firmware to work. The firmware is available in AUR.
Unified driver for Ralink chip-sets (replaces rt2500,rt61,rt73 etc). In kernel since 2.6.24, some devices require extra firmware. It can be configured using the standard wpa_supplicant and iwconfig tools.
Some chips require a firmware file, which can be installed as follows, depending on the chip-set:
pacman -S rt2x00-rt71w-fw
pacman -S rt2x00-rt61-fw
rt2500, rt61, rt73 (obsolete)
* PCI/PCMCIA based rt2500 series chip-sets. * PCI/PCMCIA based rt61 series chip-sets * USB based rt73 series chip-sets.
Drivers are now obsolete and unsupported. The rt2x00 driver family is stable and to be used instead.
Support standard iwconfig tools for unencrypted and WEP connections, although it can be quite sensitive to the order of commands. The driver does support WPA (using hardware encryption), but in a non-standard way. wpa_supplicant appears to include special support for this driver, and it is also possible to negotiate a WPA connection manually using iwpriv commands. See these instructions for details.
Package: madwifi (and optionaly madwifi-utils)
The module is called ath_pci.
Note there are newer modules maintained by MadWifi team:
- ath5k will eventually phase out ath_pci and sometimes it's already better pick than ath_pci for some chipsets.
- ath9k is the new, official, superior driver for newer Atheros hardware see below.
for the older driver, or:
for the development version. Note that not all cards work with ath5k yet.
If using ath_pci, you may need to blacklist ath5k by adding it to the MODULES=array in /etc/rc.conf, and subsequently prefixing it with a bang (!):
MODULES=(!ath5k forcedeth snd_intel8x0 ... ...)
Some users may need to use the 'countrycode' option when loading the MadWifi driver in order to use channels and transmit power settings that are legal in their country/region. In the Netherlands, for example, you would load the module like this:
modprobe ath_pci countrycode=528
You can verify the settings with the iwlist command. See man iwlist and the CountryCode page on the MadWifi wiki. To have this setting automatically applied during boot, add the following to /etc/modprobe.d/modprobe.conf:
options ath_pci countrycode=528
ath5k is preferable driver for AR5xxx chipsets (even for those which are already working with madwifi-ng and for few chipsets older than AR5xxx. For example madwifi have some issues when used with popular Wistron CM9 card and ath5k can handle it much better, but patched madwifi-ng can be still occasionaly usefull for some special cases of operation like aircrack-ng (ath5k should work too, but it's not complete yet) also some modes or iwpriv settings like turbo are not currently supported by ath5k. If you have some troubles with ath5k, you can try core/kernel26-lts (2.6.27) which already contains ath5k (introduced in 2.6.25) and seems to be working better in some cases (eg. with Wistron CM9 again).
If you have some conflict with ath_pci, you should blacklist (and unload using rmmod or reboot) folowing drivers...
MODULES=( ... !ath_hal !ath_pci !ath_rate_amrr !ath_rate_onoe !ath_rate_sample !wlan !wlan_acl !wlan_ccmp !wlan_scan_ap !wlan_scan_sta !wlan_tkip !wlan_wep !wlan_xauth ... )
then modprobe ath5k manualy or reboot. wlan0 (or wlanX) in sta mode should spawn and become ready to use.
ath9k is Atheros' officially supported driver for the newer 11n chip-sets. All of the chips with 11n capabilities are supported, with a maximum throughput around 180 Mbps. To see a complete list of supported hardware, check this page.
Working modes: Station, AP and Adhoc.
ath9k has been part of the kernel as of 2.6.27. Support seems alright as of 2.6.32 (see details on linuxwireless.org). (In the unlikely event that you have stability issues that trouble you, you could try using the compat-wireless package. An ath9k mailing list exists for support and development related discussions.)
ipw2100 and ipw2200
Fully supported in the kernel, but requires additional firmware. It can be configured using the standard wpa_supplicant and iwconfig tools.
Depending on which of the chips you have, use either:
pacman -S ipw2100-fw
pacman -S ipw2200-fw
If installing after initial Arch installation, the module may need to be reloaded for the firmware to be loaded; run the following as root:
rmmod ipw2200 modprobe ipw2200
Enabling the radiotap interface
Launch the following (as root):
rmmod ipw2200 modprobe ipw2200 rtap_iface=1
Enabling the LED
Most laptops will have a front LED to indicate when the wireless is connected (or not). Run the following (as root) to enable this feature:
echo "options ipw2200 led=1" >> /etc/modprobe.d/ipw2200.conf
or if using sudo:
echo "options ipw2200 led=1" | sudo tee -a /etc/modprobe.d/ipw2200.conf
iwl3945, iwl4965 and iwl5000-series
Intel's open source WiFi drivers for Linux (See iwlwifi) will work for both the 3945 and 4965 chipsets since kernel v2.6.24. And iwl5000-series chipsets (including 5100BG, 5100ABG, 5100AGN, 5300AGN and 5350AGN) module has been supported since kernel 2.6.27, by the intree driver iwlagn.
Installing Firmware (Microcode)
Install the appropriate firmware package for your chipset:
# pacman -S iwlwifi-3945-ucode
# pacman -S iwlwifi-4965-ucode
# pacman -S iwlwifi-5000-ucode
If you need wireless connectivity to access pacman's repositories, the firmware files are also available direct from Intel. See this page, select and download the archive.
After downloading, you must extract and copy the *.ucode file to the firmware directory, commonly /lib/firmware
# tar zxvf iwlwifi-XXXX-ucode-XXX.XX.X.XX.tgz # cd iwlwifi-XXXX-ucode-XXX.XX.X.XX/ # cp iwlwifi-XXXX-X.ucode /lib/firmware/
Loading the Driver
If MOD_AUTOLOAD is set to yes in /etc/rc.conf (it is by default) that should be all that is required. Simply check for the presence of the drivers by running ifconfig -a from a terminal. There should be a listing for wlan0.
To manually load the driver at startup, edit /etc/rc.conf as root and add iwl3945 or iwl4965 respectively to the MODULES array. For example:
MODULES=( ... b44 mii iwl3945 snd-mixer-oss ...)
The drivers should now load after a reboot, and running ifconfig -a from a terminal should report wlan0 as a new network interface.
- The windows NETw4x32 driver can be used with ndiswrapper as an alternative to the iwl3945 and ipw3945 drivers
- In some cases (specifically a Dell Latitude D620 with Arch 2008.06, though it could happen elsewhere) after installation you may have both iwl3945 and ipw3945 in your MODULES=() section of rc.conf. The card will not work with both modules loaded, so you will have to ! out the ipw3945 module and then reboot or remove the module manually before you can use your wireless card.
- By default iwl3945 is configured to only work with networks on channels 1-11. Higher ranges are not allowed in some parts of the world (US). In the EU however channels 12 and 13 are used quite common. To make iwl3945 scan for all channels, add "options cfg80211 ieee80211_regdom=EU" to /etc/modprobe.d/options. With "iwlist f" you can check which channels are allowed.
- If you want to enable more channels on Intel Wifi 5100 (and quite possible other cards too) you can do that with the crda package. After install, edit /etc/conf.d/wireless-regdom and uncomment the line where your country code is found. Add wireless-regdom to your DAEMONS in rc.conf and restart (which is the easiest thing to do). You should now, when writing sudo iwlist wlan0 channel, have access to more channels (depending on your location).
# pacman -S ipw3945 ipw3945-ucode ipw3945d
To initialize the driver on startup, edit /etc/rc.conf as root and add ipw3945 to the MODULES array and ipw3945d to the DAEMONS array. For example:
MODULES=(... mii ipw3945 snd-mixer-oss ...)
DAEMONS=(syslog-ng ipw3945d network ...)
Note: The ipw3945d daemon must be inserted BEFORE all other network daemons in the array.
This should be part of the kernel package and be installed already.
Note: Some orinoco chipsets are Hermes I/II. You can use http://aur.archlinux.org/packages.php?ID=9637 to replace the orinoco driver and gain WPA support. See http://ubuntuforums.org/showthread.php?p=2154534#post2154534 for more information.
To use the driver, blacklist orinoco_cs in rc.conf (!orinoco_cs in the MODULES array) and add wlags49_h1_cs. Example:
MODULES=(!snd_pcsp !eepro100 !orinoco_cs wlags49_h1_cs)
Ndiswrapper is not a real driver, but you can use it when there are no native Linux kernel drivers for your wireless chips. So it is very useful in some situations. To use it you need the *.inf file from your Windows driver (the *.sys file must also be present in the same directory). Be sure to use drivers appropriate to your architecture (i.e. 32/64bit). If you need to extract these files from an *.exe file, you can use either cabextract or wine. Ndiswrapper is included on the Arch Linux installation CD.
Follow these steps to configure ndiswrapper.
#Install the driver to /etc/ndiswrapper/* ndiswrapper -i filename.inf #List all installed driver for ndiswrapper ndiswrapper -l #Write configuration file in /etc/modprobe.d/ndiswrapper.conf ndiswrapper -m depmod -a
Now the ndiswrapper install is almost finished; you just have to update /etc/rc.conf to load the module at boot (below is a sample of my config; yours might look slightly different):
MODULES=(ndiswrapper snd-intel8x0 !usbserial)
The important part is making sure that ndiswrapper exists on this line, so just add it alongside the other modules. It would be best to test that ndiswrapper will load now, so:
modprobe ndiswrapper iwconfig
and wlan0 should exist. Check this page if you're having problems: Ndiswrapper installation wiki.
Download the firmware driver for your appropriate card from this site. Rename the firmware file to 'isl3890'. If nonexistent, create the directory /lib/firmware and place the file 'isl3890' in it. This should do the trick. 
If that did not work, try this:
- Reload the prism module (modprobe p54usb or modprobe p54pci, depending on your hardware)
alternatively remove your wifi card and then reconnect it
- Use the "dmesg" command, and look at the end of the output it prints out.
Look for a section looking like this:
firmware: requesting isl3887usb_bare p54: LM86 firmware p54: FW rev 22.214.171.124 - Softmac protocol 3.0
and try renaming the firmware file to the name corresponding to the part bolded here.
packages: tiacx tiacx-firmware
The driver should tell you which firmware it needs; check /var/log/messages.log or use the dmesg command.
Link the appropriate firmware to '/lib/firmware':
ln -s /usr/share/tiacx/acx111_126.96.36.199/tiacx111c16 /lib/firmware
For another way to determine which firmware revision number to use, see the "Which firmware" section of the acx100.sourceforge wiki. For ACX100, you can follow the links provided there, to a table of card model number vs. "firmware files known to work"; you can figure out the rev. number you need, by looking at the suffix there. E.g. a dlink_dwl650+ uses "1.9.8.b", in which case you'd do this:
ln -s /usr/share/tiacx/acx100_1.9.8.b/* /lib/firmware
If you find that the driver is spamming your kernel log, for example because you're running Kismet with channel-hopping, you could put this in /etc/modprobe.d/modprobe.conf:
options acx debug=0
Broadcom wireless hardware that have the 43xx series chipsets no longer have to use ndiswrapper on kernel versions 2.6.17 and above. The Broadcom driver has been updated since the BCM43XX verion and most users they will want to use the #b43 driver.
hwd -sto determine that you have an appropriate card. Example:
Network : Broadcom Corp.|BCM94306 802.11g NIC module: unknownFor a list of supported devices, see this.
pacman -S b43-fwcutterto install the firmware cutter application.
- Download the Windows driver file for your card from which to extract the firmware.
- If you download the driver from Dell's website, you must run in on a Windows machine or under WINE (it is a .exe file that extracts itself to C:\Dell\[driver numbers]). Or you may try ,  or . You will not need it after the next step, so location where it is saved is not important.
bcm43xx-fwcutter -w /lib/firmware /home/<user>/Desktop/wl_apsta.oYou may have to create /lib/firmware first.
- Restart, and configure your device as normal. You may want to add bcm43xx into the modules section of your rc.conf file. Good luck!
This driver is the successor to the bcm43xx driver, and is included in kernel from 2.6.32 on.
If you haven't discovered you card make yet, run:
lspci | grep Network
To see if your Broadcom card is supported and to identify the proper module, look here. For known card models in various computers, look here. Define the module to use in Template:Filename and blacklist the other module to prevent possible problems or confusion.:
MODULES=(... !b43legacy b43) # or MODULES=(... !b43 b43legacy)
Install the corresponding Broadcom 43xx firmware package for your hardware. The packages are on the AUR:
b43-firmware b43-firmware-newest # for newer cards b43-firmware-legacy # for older cards
Note that b43-firmware may not work correctly if you are using kernel 2.6.31 or later. Use b43-firmware-newest instead.
Restart, and configure your device as normal. For more detailed information and installation manuals of b43 driver see b43 homepage
A suggestion for a step by step using your terminal:
sudo pacman -S git
Create a new folder to your home (wifi or any other name)
git clone http://git.bu3sch.de/git/b43-tools.git
tar xjf broadcom-wl-188.8.131.52.tar.bz2
sudo ../../fwcutter/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
reboot your computer
Note: those steps were taken from
Some recent Broadcom 43xx cards not supported by bcm43xx or b43. Not just for some 4312 cards. See the Broadcom 4312 wiki page. It is available in AUR. These chipsets are used in most Dell laptops, among others.
zd1211rw is a driver for the ZyDAS ZD1211 802.11b/g USB WLAN chipset and it is included in recent versions of the Linux kernel. See  for a list of supported devices. You only need to install the firmware for the device:
pacman -S zd1211-firmware
After loading your driver run
to ensure a wireless interface (wlanx, ethx, athx) is created.
If no such interface is visible, modprobing it might work. To start your driver, use the rmmod and modprobe commands (if rmmod fails, continue with modprobe).
Example: if your driver is called "driverXXX", you would run the following commands:
# rmmod driverXXX # modprobe driverXXX
iwlist wlan0 scan displays
Interface does not support scanning then you probably forgot to install the firmware. You may have to bring up the interface first, e.g.
ifconfig wlan0 up before scanning will work.
Part II: Wireless management
Assuming that your drivers are installed and working properly, you will need to choose a method for managing your wireless connections. The following subsections will help you decide the best way to do just that.
Procedure and tools required will depend on several factors:
- The desired nature of configuration management; from a completely manual command line setup procedure repeated at each boot to a software-managed, automated solution
- The encryption type (or lack thereof) which protects the wireless network
- The need for network profiles, if the computer will frequently change networks (such as a laptop)
This table shows the different methods that can be used to activate and manage a wireless network connection, depending on the encryption and management types, and the various tools that are required. Although there may be other possibilities, these are the most frequently used:
|Management||No encryption/WEP||WPA/WPA2 PSK|
|Manual, need to repeat at each computer reboot||
|Automatically managed, centralized without network profile support||define interface in
|Automatically managed, with network profiles support|
More choice guide:
|auto connect at boot||with net-profiles daemon config in rc.conf||yes||yes|
|auto connect if dropped
or changed location
|with net-auto-wireless daemon config in rc.conf||yes||yes|
|support 3G Modem||yes|
|GUI (proposes to manage and connect/disconnect
profiles from a systray icon.
Automatic wireless detection is also availabl)
|console tools||with wifi-select (AUR)||wicd-curses(part of wicd package)||cnetworkmanager (AUR)|
Whatever your choice, you should try to connect using the manual method first. This will help you understand the different steps that are required and debug them in case a problem arose. Another tip: if possible (e.g. if you manage your wifi access point), try connecting with no encryption, to check everything works. Then try using encryption, either WEP (simpler to configure -- but crackable in a matter of minutes, so it's hardly more secure than an unencrypted connection) or WPA.
When it comes to easy of use, NetworkManager (with Gnome network-manager-applet) and wicd have good GUIs and can provide a list of available networks to connect, they prompt for passwords, which is straightforward and highly recommended. (Note Gnome network-manager-applet also works under xfce4 if you install xfce4-xfapplet-plugin first, also there are applet available for KDE.)
The programs provided by the package wireless_tools are the basic set of tools to set up a wireless network. Moreover, if you use WPA/WPA2 encryption, you will need the package wpa_supplicant. These powerful userspace console tools work extremely well and allow complete, manual control from the shell.
These examples assume your wireless device is
wlan0 with the appropriate device name.
1. (Optional, may be required) Some cards require that the kernel interface be activated before you can use the wireless_tools:
# ifconfig wlan0 up
2. (Optional, may be required) See what access points are available:
# iwlist wlan0 scan
3. Depending on the encryption, you need to associate your wireless device with the access point to use and pass the encryption key.
Assuming you want to use the ESSID named
- No encryption
# iwconfig wlan0 essid "MyEssid"
using an hexadecimal key:
# iwconfig wlan0 essid "MyEssid" key 1234567890
using an ascii key:
# iwconfig wlan0 essid "MyEssid" key s:asciikey
You need to edit the
/etc/wpa_supplicant.conf file as described in WPA_Supplicant. Then, issue this command:
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
This is assuming your device uses the
wext driver. If this does not work, you may need to adjust these options. Check WPA_Supplicant for more information and troubleshooting.
Regardless of the method used, you can check if you have associated successfully as follows:
# iwconfig wlan0
4. Finally, provide an IP address to the network interface. Simple examples are:
# dhcpcd wlan0
for DHCP, or
# ifconfig wlan0 192.168.0.2 # route add default gw 192.168.0.1
for static IP.
There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.
Standard network daemon
- The /etc/rc.conf file is sourced by the network script. Therefore, you may define and configure a simple wireless setup within /etc/rc.conf for a centralized approach with wlan_<interface>="<interface> essid <essid>" and INTERFACES=(<interface1> <interface2>). The name of the network goes in place of MyEssid.
# /etc/rc.conf eth0="dhcp" wlan0="dhcp" wlan_wlan0="wlan0 essid MyEssid" # Unencrypted #wlan_wlan0="wlan0 essid MyEssid key 1234567890" # hex WEP key #wlan_wlan0="wlan0 essid MyEssid key s:asciikey" # ascii WEP key INTERFACES=(eth0 wlan0)
Not all wireless cards are
wlan0. Determine your wireless interface with ifconfig -a.
Atheros-based cards, for example, are typically
ath0, so change
wlan_ath0="ath0 essid MyEssid key 12345678"
Also define ath0 in the INTERFACES=line.)
- Alternatively, you may define wlan_<interface> within /etc/conf.d/wireless, (which is also sourced by the network script), for a de-centralized approach:
# /etc/conf.d/wireless wlan_wlan0="wlan0 essid MyEssid"
These solutions are limited for a laptop which is always on the move. It would be good to have multiple Network Profiles and be able to easily switch from one to another. That is the aim of network managers, such as netcfg.
netcfg provides a versatile, robust and fast solution to networking on Arch.
It uses a profile based setup and is capable of detection and connection to a wide range of network types. This is no harder than using graphical tools. Following the directions above, you can get a list of wireless networks. Then, as with graphical tools, you will need a password.
Netcfg Easy Wireless LAN (newlan)
newlan is a mono console application that starts a user-friendly wizard to create netcfg profiles, it supports also wired connections.
Or use the AUR helper of your choice.
newlan must be run with root privileges:
# sudo newlan -n mynewprofile
Autowifi is a daemon that configures your wireless network automatically depending on the ESSID. Once configured, no user interaction is necessary and no GUI tools are required.
Wicd is a network manager that can handle both wireless and wired connections. It is written in Python and Gtk with fewer dependencies than NetworkManager, making it an ideal solution for lightweight desktop users. Wicd is now available in the extra repository for both i686 and x86_64.
NetworkManager is an advanced network management tool that is enabled by default in most popular GNU/Linux distributions. In addition to managing wired connections, NetworkManager provides worry-free wireless roaming with an easy-to-use GUI program for selecting your desired network.
WiFi Radar is Python/PyGTK2 utility for managing wireless profiles (and only wireless). It enables you to scan for available networks and create profiles for your preferred networks.
See: Wifi Radar
Wlassistant is a very intuitive and straightforward GUI application for managing your wireless connections.
Install from AUR: http://aur.archlinux.org/packages.php?ID=1726
Wlassistant must be run with root privileges:
# sudo wlassistant
One method of using wlassistant is to configure your wireless card within /etc/rc.conf, specifying the access point you use most often. On startup, your card will automatically be configured for this ESSID, but if other wireless networks are needed/available, wlassistant can then be invoked to access them. Background the network daemon in /etc/rc.conf, by prefixing it with a @, to avoid boot delays.