On 2015-03-18 09:03:18 +0100, Vincent Lefevre wrote: > IIRC, several years ago, it wasn't up. Three months ago, I used > my laptop with wifi only for 1 - 2 weeks, and there wasn't any > problem, so that it is quite recent I think.
Actually my script executed by cron was installed on another machine, and I installed it on my laptop only last month (though I initially wrote it mainly for my laptop!). That's why I wasn't seeing any problem until now. > > I can't remember ever having modified /etc/init.d/networking but I > > find I also have /etc/init.d/networking.dpkg-old. Comparing them, > > there is a paragraph which was: > [...] > > Perhaps I could do some tests to see whether eth0 was up before > entering this script and after... This was due to netplug: it sets the eth* devices up at boot time via its "probe" rule in order to load the drivers. Unfortunately netplug doesn't log anything by default (I added logging messages for the "in" and "out" rules in the past to check that it actually worked, but I hadn't done that for the "probe" rule). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150319104435.ga12...@xvii.vinc17.org