Posted by aleksander
My friend Tomasz gave me yesterday the configuration to enable Wireless Networking at system-level (skipping NetworkManager) for Ubuntu. It’s just modifying /etc/network/interfaces to setup the Wireless device directly there:
iface lo inet loopback
iface wlan0 inet dhcp
I wanted the same in my home Fedora 10 server, but as you already may know, Fedora 10 is based on Red Hat, so forget about the debian-like network configuration, and welcome to the system-config-* scripts!
You can edit your system-level network configuration, executing, as root:
(or clicking on System->Administration->Network)
In the Wireless Settings tab you should select “Managed” mode, and I also specified the correct SSID of my home wireless network. Be really careful if adding the WEP key in HEX, as you must prepend “0x” to the whole key or it won’t work.
I thought that this would be enough, but nope. NetworkManager is launched by default at system startup, not the /etc/init.d/network script, which is disabled by default. You just need to disable NetworkManager, and enable the standard “network” script in order to have the system-level wireless configuration, executing, as root:
$> service NetworkManager stop
$> chkconfig --level 35 NetworkManager off
$> service network start
$> chkconfig --level 35 network on
I really like chkconfig, but not sure if the “service” command is a needed replacement of executing the script from /etc/init.d directly.