no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | nm_cli [2012/05/28 10:34] (current) – created brot | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== WIFI Verbindungen mit dem NetworkManager - ohne GUI ====== | ||
+ | Nicht nur bei der Installation von Gentoo steht man ab und an vor dem Problem eine Verbindung ins WLan herstellen zu wollen während man nur eine Konsole zur Verfügung hat. Der NetworkManager ist mittlerweile Standard bei vielen Distributionen, | ||
+ | |||
+ | ===== WIFI-Beispielkonfiguration ===== | ||
+ | |||
+ | Die Beispielkonfiguration sieht folgendermasen aus: | ||
+ | |||
+ | <code text / | ||
+ | # The following is a simple NetworkManager system connection file | ||
+ | # Edit it and drop it over to / | ||
+ | # | ||
+ | # Be sure to set the UUID for each new connections file. | ||
+ | # | ||
+ | # The NetworkManager daemon watched that directory (with inotify), so no | ||
+ | # need to poke it after dropping the file there. | ||
+ | # | ||
+ | # This file only includes some common options. For a full reference, see | ||
+ | # / | ||
+ | |||
+ | [connection] | ||
+ | type=802-11-wireless | ||
+ | id=an_arbitrary_name | ||
+ | ## You MUST create a new uuid. use the output of e.g. genuuid or | ||
+ | ## 'cat / | ||
+ | ## copying one file to another | ||
+ | # | ||
+ | |||
+ | [802-11-wireless] | ||
+ | ssid=the_bssid_of_the_access_point | ||
+ | mode=infrastructure | ||
+ | |||
+ | ## Only enable this if the connection is encrypted: | ||
+ | # | ||
+ | |||
+ | # Also be sure to set the proper values in the following section: | ||
+ | |||
+ | [802-11-wireless-security] | ||
+ | |||
+ | ## WPA2: | ||
+ | # | ||
+ | #psk=The Secret | ||
+ | |||
+ | ## WEP: | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | ===== Aktivieren der Verbindung ===== | ||
+ | |||
+ | nmcli con up id wifi-example | ||