Thank you very much, Remi!

I will try this and report back.

--Aaron

On Mon, Nov 16, 2015 at 11:15 PM, Remi Locherer <[email protected]>
wrote:

> On Mon, Nov 16, 2015 at 09:07:26PM -0800, [email protected] wrote:
> > >Synopsis:    On resuming from sleep, laptop with urtwn(4) USB WiFi
> dongle doesn't have Internet
> > >Category:    system kernel amd64
> > >Environment:
> >       System      : OpenBSD 5.8
> >       Details     : OpenBSD 5.8-current (GENERIC.MP) #1616: Sun Nov 15
> 20:58:13 MST 2015
> >                        [email protected]:
> /usr/src/sys/arch/amd64/compile/GENERIC.MP
> >
> >       Architecture: OpenBSD.amd64
> >       Machine     : amd64
> > >Description:
> >       I started up my laptop without ever starting X, closed the lid to
> >       suspend it, and then opened it. There was no wifi even after a few
> minutes.
> >       I had to run "doas sh /etc/netstart urtwn0" to start it.
>
> Hi Aaron
>
> The reason for this is USB devices are detached during suspend.
>
> You can use hotplugd(8) to automatically run the netstart script if
> urtwn is inserted (which is also the case when you resume). You can find
> an example attach scrip in the manual.
>
> Remi
>
>

Reply via email to