I'm attempting to change a setting in the following file:
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
...and change the setting from
wifi.powersave = 3
to
wifi.powersave = 2
based on the recommendations here: WiFi randomly disconnected on Ubuntu 18.04 LTS
However I get the following error after editing and saving the file in vim:
>>> /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf: syntax error near line 1 <<<
What now?
There are four errors like this before the "What now?" - two for line 1 and two for line 2. Any recommendations? Just attempting to fix a Wifi connection issue. Thanks.
visudo
rather thanvim
itself? What doestype -a vim
say? – steeldriver Apr 05 '20 at 23:38