[PLUG] Disconnect eth1 from the command line without sudo

David dafr+plug at dafr.us
Fri Nov 21 19:34:05 UTC 2014


On 11/21/2014 11:23 AM, John Jason Jordan wrote:

< snip >

> That was the trick. I replaced both with ifup and ifdown, and now it
> reconnects:

< snip >

That's great news.

Now all you need to do is add a sanity check in the script (suggestion: 
positive ping test for IP or skip wget), drop it into cron, and you 
never have to do anything manually again.

dafr




More information about the PLUG mailing list