FS#28196 - [netcfg] Make syntax for reconnecting more intuitive
Attached to Project:
Arch Linux
Opened by Moritz (ronnie_c) - Tuesday, 31 January 2012, 11:54 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 11 May 2012, 19:23 GMT
Opened by Moritz (ronnie_c) - Tuesday, 31 January 2012, 11:54 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 11 May 2012, 19:23 GMT
|
Details
Description:
When using netcfg with bad wlans, sometimes you have to manually force a reconnect on your network. Currently, netcfg's syntax for reconnection is really counter-intuitive: Either you have to issue two long commands (all_suspend, all_resume) or you have to re-type the network you are currently connected to. Either of which shouldn't be necessary when you are trying to *re*connect. Old use case reconnect: for all connected networks, do: netcfg -r network_name OR netcfg all-suspend netcfg all-resume New use case reconnect: netcfg -r |
This task depends upon
Closed by Jouke Witteveen (jouke)
Friday, 11 May 2012, 19:23 GMT
Reason for closing: Won't implement
Additional comments about closing: You can now reconnect on an interface basis using '-R <iface>'. Implementing '-r' as suggested is like a shotgun shell and not good practice. Regarding long commands: learn to type or install shell completion.
Friday, 11 May 2012, 19:23 GMT
Reason for closing: Won't implement
Additional comments about closing: You can now reconnect on an interface basis using '-R <iface>'. Implementing '-r' as suggested is like a shotgun shell and not good practice. Regarding long commands: learn to type or install shell completion.
reconnect all currently connected networks when called with "netcfg -r" (new, it did not do anything before).
Otherwise, it preserves netcfg's -r current functionality (when called with parameters).