On Sun, Oct 16, 2016 at 09:14:31AM -0500, Dan Greene wrote:

> I edited /etc/networking/interfaces.d/wlan0 on my system using jo
> to change the configuration. When saving, many editors, including
> joe, leave backups that end with a tilde '~'. When I run
> $ ifup wlan0
> or when the system tries to bring up the interface at boot, the
> system loads the backup created by the editor in addition to the
> current version, and as a result, gets confused. (I believe it tries
> to set the route twice.)
> 
> This, of course, results in the network not working, and the reason is
> not obvious, leading to wasted time trying to fix it.

I suspect something else is happening here, because ifup only reads
those files that consists only of a-z, A-Z, 0-9, _ and -. So files with
a tilde, whereever they appear in the filename, are ignored.

In order to find out what the real problem is, could you send me a copy
of your /etc/network/interfaces, /etc/network/interfaces.d/wlan0? Also,
do ifdown wlan0, and then run this command:

ifup -v wlan0 2>&1 >ifup.log

And send me a copy of ifup.log. You can of course also look at it
yourself, it should tell you exactly what ifup is trying to do and what
commands it is executing.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to