Una de las novedades de Fedora 13 es la mejora de NetworkManager en la terminal. Ahora es sumamente sencillo conectarse por wifi desde la consola.
Para esto necesitamos el paquete cnetworkmanager, lo instalamos si no lo tenemos:
$ su -c 'yum install cnetworkmanager'
para ver la lista de ESSIDs disponibles, ejecutamos
$ cnetworkmanager -a
Active | HwAddress | Ssid
-------+-------------------+--------
| 00:21:29:96:86:5C | linksys
| 00:1C:10:8D:09:EB | Nibbler
| 00:1B:11:D1:E9:75 | red
en este ejemplo me voy a conectar a mi red que es Nibbler, para esto ejecuto:
$ cnetworkmanager --connect=Nibbler --wpa-pass=
para más información sobre cómo usar cnetworkmanager les dejo la ayuda:
$ cnetworkmanager -h
Usage: cnetworkmanager [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-t, --terse No table headings and padding, suitable for parsing
-w BOOL, --wifi=BOOL Enable or disable wireless
-o BOOL, --online=BOOL
Enable or disable network at all
--state Print the NM state
--we, --wireless-enabled
Print whether the WiFi is enabled
--whe, --wireless-hardware-enabled
Print whether the WiFi hardware is enabled
-d, --device-list, --dev
List devices
--device-info=DEV, --di=DEV
Info about device DEV (by interface or UDI(TODO))
-a, -n, --ap-list, --ap, --nets
List access points
--ap-info=AP, --ai=AP
Info about access point AP (by hw address or
UDI(TODO))
-u, --usrcon List user connection settings
-s, --syscon List system connection settings
--con-info=[KIND,]ID, --ci=[KIND,]ID
Info about connection settings ID (of the
*user*/system KIND)
-c, --actcon List active connections
--demo Run a random demonstration of the API
--activate-connection=[KIND],ID,[DEV],[APMAC]
activate the KIND(user/system) connection ID on device
DEV using APMAC.
-m, --monitor loop to show dbus signals
-C SSID, --connect=SSID
Connect to a wireless network SSID (creating the
configuration using the key options below)
--unprotected network does not require a key
--wep-hex=KEY use this WEP key of 26 hex digits
--wep-pass=KEY use this WEP passphrase
--wpa-psk-hex=KEY use this WPA key of 64 hex digits
--wpa-pass=KEY use this WPA passphrase


