network-manager
Differences
This shows you the differences between two versions of the page.
| — | network-manager [2020-05-18 02:39:57] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Network manager ====== | ||
| + | |||
| + | I have tried NetworkManager and Wicd and was unable to configure them to do what I wish (despite being just a regular laptop user). People keep asking what do I use instead: my own scripts. They are very simple and crude, but easier to use and debug than some daemons, at least for my use-case. | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Config files: wpa_supplicant blocks in / | ||
| + | < | ||
| + | network={ | ||
| + | ssid=" | ||
| + | psk=" | ||
| + | priority=1000 | ||
| + | disabled=0 | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Scripts: | ||
| + | |||
| + | * cn: connect to a wifi network. Argument: network handle (or pick one automatically if none is given) | ||
| + | * cne: connect to an ethernet network (could be extended to use a fixed MAC, 802.1x or static IP - I use such network only very rarely, so it's not scripted) | ||
| + | * cnlog: log basic information about network we have just connected to | ||
| + | * rn: drop connection to network | ||
| + | * swi: switch interfaces. Arguments: old, new. E.g. swi eth0 wlan0 to switch from wired to wireless. Does not take care about DHCP client, so your lease may expire. | ||
| + | * warn_services: | ||
| + | |||
| + | ===== BUGS ===== | ||
| + | |||
| + | * Option to disable roaming between APs of the same SSID. I have not found how to do this in wpa_supplicant. | ||
| + | * Make adding a new wireless network easier. | ||
