NetworkManager is an advanced network connection tool. It attempts to make networking invisible to the end user, so that when moving into areas you've been before, NetworkManager automatically connects to the last network you chose to connect to.
Check that wireless_tools is installed first, otherwise Networkmanager won't work.
Also check that HAL[] is installed, and loaded as a daemon in rc.conf.
# pacman -S gnome-network-manager
# pacman -S knetworkmanager
Xfce uses the same package as GNOME, however it requires the xfapplet plugin as well, which allows GNOME applets to be displayed within the xfce4-panel:
# pacman -S gnome-network-manager xfce4-xfapplet-plugin
Fluxbox and Other WM's
You will need the hicolor theme to be able to run nm-applet:
# pacman -S gnome-network-manager hicolor-icon-theme
After configuring your system for use with the network manager, to autostart the network manager applet, go to settings --> Autostarted Applications then add, "nm-applet --sm-disable", This should start up the network manager applet on startup, the "--sm-disable option" is used to prevent multiple instances of the nm-applet, you should only need it if multiple instances are running when you startup.
If you want to use NetworkManager on an interface you will have to disable it in /etc/rc.conf. You can do this by placing a '!' in front of the interface of your choice, for example:
INTERFACES=(lo !eth0 !ath0)
NetworkManager parses your /etc/rc.conf to see if you want to have a static or dynamic IP on your interfaces.
So just put your preferred config into it.
example for static IP:
eth0="eth0 172.19.3.18 netmask 255.255.255.0 broadcast 172.19.3.255"
example for dynamic IP:
You must also "disable" the default network daemon, and add the dhcdbd and networkmanager daemons in this order:
DAEMONS=( ... !network dhcdbd networkmanager ... )
Note: If you happen to specify the fam daemon in your array, it must appear after networkmanager. The same also applies to portmap if specified.
Finally, add yourself to the network group as shown below (replacing USERNAME with the appropriate username):
# gpasswd -a USERNAME network