On Tue, Nov 17, 2015 at 08:15:26AM +0100, Remi Locherer 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 >
Aaron, your built-in (and unsupported) wireless card is: > > vendor "Realtek", unknown product 0x8723 (class network subclass > > miscellaneous, rev 0x00) at pci2 dev 0 function 0 not configured Which seems to be an RTL8723AE card. This could be supported by rtwn(4) eventually, which should then behave as you expect. If someone wants to send me an RTL8723AE I'll add it to my TODO wifi hardware pile... there's a couple other realteks in there already.
