Commit Graph

51 Commits

Author SHA1 Message Date
Dan Winship
461920bb96 cli: add NMC_RESULT_ERROR_NOT_FOUND and use as appropriate
This will allow callers to distinguish "no such connection" from
"connection failed to activate", etc.

https://bugzilla.redhat.com/show_bug.cgi?id=1022256
2013-11-22 13:51:25 -05:00
Dan Winship
9a532db182 cli: add "nmcli con load file..."
https://bugzilla.gnome.org/show_bug.cgi?id=709830
2013-11-15 13:39:40 -05:00
Jiří Klimeš
79ac1cf089 cli: add support for getting/setting hostname to nmcli (rh #1018510)
https://bugzilla.redhat.com/show_bug.cgi?id=1018510
2013-11-13 12:19:51 +01:00
Dan Williams
7d57386e04 cli: add support for 'nmcli dev connect ifname XXX' 2013-10-31 15:45:21 -05:00
Dan Williams
42c7ea85a1 cli: add support for 'nmcli con up ifname XXX'
Passes a NULL connection to nm_client_activate_connection() allowing
NetworkManager to pick the best available connection for the interface.
2013-10-31 15:45:20 -05:00
Jiří Klimeš
20a9723c70 man: fix 'nmcli con reload' description in nmcli manual page
Pointed out by swadeley@redhat.com
2013-10-31 14:14:03 +01:00
Stephen Wadeley
b752252fc4 man: some improvements to language and style in nmcli manual page
Signed-off-by: Stephen Wadeley <swadeley@redhat.com>
2013-10-31 13:19:53 +01:00
Yuri Chornoivan
61de24ba35 Fix typos
https://bugzilla.gnome.org/show_bug.cgi?id=710505
2013-10-19 11:49:18 -04:00
Jiří Klimeš
62d113f6c2 cli: accept 'primary' bonding option 2013-10-02 11:48:07 +02:00
Jiří Klimeš
641526781a man: update nmcli manual page for 'nmcli networking connectivity' 2013-09-12 15:48:03 +02:00
Thomas Haller
c3ea945c19 nmcli: fix errors in nmcli help output and man page
Fix some spelling errors and wrong parameter description. Also add the
team connection to the manual page.

https://bugzilla.redhat.com/show_bug.cgi?id=997566

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-08-28 15:26:50 +02:00
Thomas Haller
253b783129 man: reword nmcli manual page introducation
See https://bugzilla.redhat.com/show_bug.cgi?id=960071

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-08-20 14:51:51 +02:00
Thomas Haller
2fedf0a3f4 man: fix spelling error in man/nmcli.1.in
Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-08-19 11:42:42 +02:00
Dan Williams
ff40555e84 man: clarify connections and devices in nmcli 2013-08-13 15:31:06 -05:00
Dan Williams
55c00a299c man: minor cleanups
Move object descriptions onto the same line as the object name.
2013-08-13 15:31:06 -05:00
Thomas Haller
244548b790 man: reword description for man nmcli (connection down)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-08-09 09:06:54 +02:00
Jiří Klimeš
6993b5b2a1 man: add 'nmcli-examples' manual page with examples of nmcli usage
(and add a reference to 'nmcli-examples' to other man pages)
2013-07-22 13:43:54 +02:00
Jiří Klimeš
5ee7f488e7 man: update nmcli manual page for 'connection modify' 2013-07-22 13:37:17 +02:00
Jiří Klimeš
44debdf4ce man: update nmcli manual page for 'connection edit' 2013-07-22 13:37:17 +02:00
Jiří Klimeš
74d0fcb97b man: update/fix options for 'nmcli con add' in nmcli manual page 2013-07-22 10:30:07 +02:00
Dan Winship
1f81851017 core: add monitor-connection-files=false and ReloadConnections
Add a "monitor-connection-files" config option, which can be set to
"false" to disable automatic reloading of connections on file change.

To go with this, add a new ReloadConnections method on
o.fd.NM.Settings that can be used to manually reload connections, and
add an nm-cli command to call it.
2013-06-14 12:57:47 -03:00
Jiří Klimeš
a91eafdf95 cli: 'con add': make ifname mandatory (except bond,bridge,vlan) (bgo #698113)
Optional 'ifname' allowed creating connection applicable to all interfaces,
which was confusing for some users. Now we require the user to provide ifname
to lock the connection for an interface. An "unbound" connection can be
created with ifname "*".

$ nmcli connection add type eth ifname eth0

$ nmcli connection add type eth
now becomes
$ nmcli connection add type eth ifname "*"

bond, bridge:
- when ifname is not specified or is "*",
  interface name is generated (nm-bond, nm-bridge)
vlan:
- when ifname is not specified or is "*",
  vlan device is named "dev.id"

Note: the quotes around * are required to suppress shell expansion.
2013-06-13 10:29:22 +02:00
Jiří Klimeš
55e816b36e man: nmcli man page update for numeric bonding modes 2013-05-16 10:44:17 +02:00
Jiří Klimeš
68dd1cf880 man: nmcli man page update for '--wait' and removing '--nowait', '--timeout'
and '--private' -> 'private yes|no' change
2013-05-16 10:37:57 +02:00
Jiří Klimeš
1ca514581f man: minor cleanup in nmcli manual page (for 'nmcli device wimax list') 2013-05-14 10:16:59 +02:00
Jiří Klimeš
67eea30566 man: update nmcli manual page for 'nmcli connection add' 2013-05-07 19:41:37 +02:00
Jiří Klimeš
2699de9383 man: nmcli manual page - remove references to D-Bus API
It doesn't belong to the man page and is not much beneficial for most users
anyway.
2013-04-30 09:44:41 +02:00
Jiří Klimeš
a6a330581c man: update nmcli man page description for 'connection down' 2013-04-29 10:21:59 +02:00
Jiří Klimeš
57a2dbd640 man: put back '\-' instead of nicer '\(en' in NAME section to shut up lexgrog
mandb is completely OK with nice En dash.
2013-04-29 09:36:27 +02:00
Jiří Klimeš
8215fd92fc cli: rename 'nmcli dev wifi scan' to 'nmcli dev wifi rescan' (bgo #698241) 2013-04-24 10:22:57 +02:00
Jiří Klimeš
3bf97fafe7 cli: rename 'iface' --> 'ifname' in all commands 2013-04-24 10:04:37 +02:00
Jiří Klimeš
b68dbf8e07 man: update nmcli manual page for recent changes 2013-04-08 16:14:11 -05:00
Pavel Šimerda
bb8c75bd53 remove obsolete nm-tool
Use nmcli instead.
2013-03-04 22:11:45 +01:00
Tomas Pospisek
7b9a581d9c man: reference nm-applet and nm-connection-editor in various manpages (bgo #578906) 2013-02-15 16:21:51 -06:00
Jiří Klimeš
231dd82124 man: add reference to nm-settings (5) to other man pages 2013-02-05 18:26:16 +01:00
Jiří Klimeš
915cfe8ce8 docs: update FSF address in license headers 2012-07-26 16:25:20 +02:00
Jiří Klimeš
d5abf328cd man: update nmcli's return codes 2012-07-26 09:59:28 +02:00
Jiří Klimeš
2b222c66fa man: update nmcli man page
- fix some errors and formatting
- add EXAMPLES section with several examples of nmcli invocation
2012-05-29 14:41:44 +02:00
Jiří Klimeš
aa5ed42941 man: document 'nmcli nm wimax' in nmcli's man page 2012-04-30 13:50:15 +02:00
Jiří Klimeš
0a98d14e48 cli: add a command for listing permissions - nmcli nm permissions 2012-04-30 13:32:55 +02:00
Jiří Klimeš
e7bd96266b man: make nmcli man page more readable
There are a few changes making the text less awkward after a native speaker's
proofreading.
2012-04-30 10:29:36 +02:00
Jiří Klimeš
38a988cb5e cli: add 'connect to SSID' feature: nmcli dev wifi connect <SSID> ...
This is similar to clicking a Wi-Fi network's SSID in a GUI applet.
The command does this:
- creates new connection (fills the user data specified via options, the
  connection is then completed with default parameters by NM)
- and then activates the connection on a Wi-Fi device.

WPA-Enterprise is not supported as it requires a plethora of parameters and
they can't be obtained automatically.
Also, the created connection uses 'auto' IP method, which means that if the
Wi-Fi network doesn't support DHCP, the connection will albeit be created,
however the activation will fail (IP configuration won't be available).
2012-04-28 22:33:30 +02:00
Jiří Klimeš
c01db4ac51 cli: add 'nmcli con delete' command for removing configured connections 2011-09-06 15:07:58 +02:00
Jiří Klimeš
b7e853c362 cli: use nm_access_point_get_bssid() instead of nm_access_point_get_hw_address()
nm_access_point_get_hw_address() is deprecated in 0.9.
Also change 'hwaddr' parameter for 'nmcli dev wifi list' to 'bssid'. 'hwaddr'
still works but is deprecated and not documented any more.
2011-09-06 13:37:23 +02:00
Dan Williams
8b41f70dd5 Merge remote branch 'origin/master' into rm-userset 2010-09-27 10:30:46 -05:00
Jiří Klimeš
5e7b4e7d15 man: update nmcli man page 2010-09-22 14:25:15 +02:00
Dan Williams
6e287e4179 Merge remote branch 'origin/master' into rm-userset 2010-09-16 17:10:49 -05:00
Jiří Klimeš
e8d2942320 man: nmcli man page update - added ENVIRONMENT VARIABLES section 2010-09-09 14:22:34 +02:00
Jiří Klimeš
a093792cd0 man: add "EXIT STATUS" section to nmcli man page 2010-08-26 16:11:59 +02:00
Daniel Gnoutcheff
c17d0b0980 nmcli: remove user settings support
Remove all support for user settings services from nmcli. Update its
manpage to reflect this.

Manpage edits also anticipate changes to be made in regards to how
secrets are managed.
2010-08-06 13:05:46 -04:00