Re: How to restart wifi net after suspend to ram

2015-10-30 Thread Raf Czlonka
On Sat, Oct 31, 2015 at 04:52:19AM GMT, Артур Истомин wrote:

> I have usb wifi dongle. Every time after suspend to ram I should 
> manualy restart it with command "sh /etc/netstart urtwn0"
> 
> Is it possible automaticaly restart it?

Put it in a shell script called /etc/apm/resume.

---
#!/bin/sh

sleep 5 # adjust to your needs
/bin/sh /etc/netstart urtwn0
---

Regards,

Raf

P.S. man 8 apmd :^)



How to restart wifi net after suspend to ram

2015-10-30 Thread Артур Истомин
I have usb wifi dongle. Every time after suspend to ram I should 
manualy restart it with command "sh /etc/netstart urtwn0"

Is it possible automaticaly restart it?

Thanks.