From owner-freebsd-wireless@freebsd.org Thu Mar 2 08:57:44 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 171C9CF51D9 for ; Thu, 2 Mar 2017 08:57:44 +0000 (UTC) (envelope-from aeuii@posteo.de) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D76B0BA6 for ; Thu, 2 Mar 2017 08:57:43 +0000 (UTC) (envelope-from aeuii@posteo.de) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2F28820A85 for ; Thu, 2 Mar 2017 09:57:42 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vYmRT5nJ3z1093 for ; Thu, 2 Mar 2017 09:57:41 +0100 (CET) From: aeuii@posteo.de To: freebsd-wireless@freebsd.org Subject: wlan0 auto-connecting to any open wifi Date: Thu, 02 Mar 2017 09:57:41 +0100 Message-ID: <8637ewxdh6.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 08:57:44 -0000 Hello freebsd-wireless, I would like to prevent a USB Wifi card from automatically connecting to an unencrypted network nearby. It happens whenever the card is plugged to the USB port and the wlan0 interface is brought up. After a few seconds it's connected to the first unencrypted net it can find. How could it be stopped? Thanks for help! Stefan freebsd-version: 11.0-RELEASE-p8 rc.conf: wlans_urtw0="wlan0" ifconfig_wlan0="NOAUTO" ifconfig_urtw0="NOAUTO" dmesg: ugen0.2: at usbus0 urtw0: on usbus0 urtw0: unknown RTL8187L type: 0x8000000 urtw0: rtl8187l rf rtl8225u hwrev none wlan0: Ethernet address: xx:xx:xx:xx:xx:xx wlan0: link state changed to UP