NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53398: iwn0 off after X logout

The following reply was made to PR kern/53398; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
Subject: Re: kern/53398: iwn0 off after X logout
Date: Tue, 26 Jun 2018 22:02:43 +0700

     Date:        Tue, 26 Jun 2018 12:10:00 +0000 (UTC)
     Message-ID:  <>
   | login via xdm
   | fire up xterm
   | su
   | wpa_supplicant -B -i iwn0 -c...
   | dhcpcd -L4 iwn0
 When you exit xdm (or the kernel) will do a session reset, and kill everything
 running in that same session (dhcpcd probably protects itself, I don't think
 wpa_supplicant does that).
   | open a terminal (ctl-alt-f1), login as root, and observe that iwn0 is down.
   | ifconfig iwn0 up
   | and all is well - the connection becomes active and a lease is acquired with no further intervention.
 Start wpa_supplicant (and dhcpcd) from /etc/rc rather than by hand.   You can
 run wpa_gui (from pkgsrc) in the xdm session if you need (or want) to interact
 with wpa_supplicant to get the link up - it isn't needed that wpa_supplicant bring
 up the link from rc.d,  just that it be started from there rather than from the xdm

Home | Main Index | Thread Index | Old Index