From owner-freebsd-questions@freebsd.org Thu Jan 24 17:22:41 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B39BB14B6849 for ; Thu, 24 Jan 2019 17:22:41 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-oln040092007039.outbound.protection.outlook.com [40.92.7.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F80D742B6 for ; Thu, 24 Jan 2019 17:22:39 +0000 (UTC) (envelope-from carmel_ny@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sM7e/1TwvxURSj4sTfqMFK7q2JMPIp+1reVFispiXB8=; b=GMk1ZP7bmuRx3sB6J+BVLEnWUDP+x/iRHsDuhSx/arMtv5mg8y3tqcVbE1KgRxtYwq3xxHhFTImWzWPzT9I3CHZoZrbfulUFvmm2JVYu4PjKI4jouSGnAgVKFwfqokwc9QaFjrgrZVpgqNqzOrtXZsG4PfXPEjX6hetEUYwC+TmKQ8vIG+yU86y9ooMAS2+ZUS9PpAQ8mBZyMPAKvoXsjpm2Ejl/cd6AB0g2eTg3qS8n58/DYQ/3a7BdGIAtzyhogw2pA8kRx7PtfbM1MQzcPxG6tbIUH2L3KAtiQorM3MwGw/9q/ceZckBD2Q32QXKWTMpClaJGCqr9elbBSfg4OA== Received: from BY2NAM03FT010.eop-NAM03.prod.protection.outlook.com (10.152.84.56) by BY2NAM03HT147.eop-NAM03.prod.protection.outlook.com (10.152.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1558.11; Thu, 24 Jan 2019 17:22:38 +0000 Received: from MWHPR04MB0495.namprd04.prod.outlook.com (10.152.84.55) by BY2NAM03FT010.mail.protection.outlook.com (10.152.84.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.11 via Frontend Transport; Thu, 24 Jan 2019 17:22:38 +0000 Received: from MWHPR04MB0495.namprd04.prod.outlook.com ([fe80::54e2:c696:902a:de4a]) by MWHPR04MB0495.namprd04.prod.outlook.com ([fe80::54e2:c696:902a:de4a%11]) with mapi id 15.20.1558.016; Thu, 24 Jan 2019 17:22:38 +0000 From: Carmel NY To: FreeBSD Subject: Wireless interface Thread-Topic: Wireless interface Thread-Index: AQHUtAlnpLyouHF10EGiifEuwf8DKQ== Date: Thu, 24 Jan 2019 17:22:37 +0000 Message-ID: Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN8PR12CA0012.namprd12.prod.outlook.com (2603:10b6:408:60::25) To MWHPR04MB0495.namprd04.prod.outlook.com (2603:10b6:300:72::8) x-mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i686-w64-mingw32) x-incomingtopheadermarker: OriginalChecksum:1EFD0772E8EDF80501F63FC42CDF1D1A1FE00653347508BD40805DD26D06E4EB; UpperCasedChecksum:DCA6BEA6DEE8E897A7EB80265ACB5134BA7C3E08EA0D4890BEB25CAF0B668438; SizeAsReceived:8401; Count:64 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [dKdv+ME6hrjYhO8RaEIAJcw2XRAyxYoxmPFjFBu8c8U=] x-microsoft-original-message-id: <20190124122232.00003204@outlook.com> x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2NAM03HT147; 6:3RDVPe/ao1aRbviG2AbU32icFYDrsGiuVu3ZhzuEHo3KoMkmQzGmB8WRsnYxcUi9HXumCMu8Os4O5CZGB4yoomO3Ut9uih1xmk0DYycIAlHAyQvCOIzVpkzh0mN9elcDViRXgF3CQ39Sytij58sfSQFmaU4a4kZCtNTvCkrYwAg4iXluj/m+0fr9Rt/oo/YiNhQUX7JoR6/JaR/dr0Hm0Xq1oVEaxVvd1KClKlcn9sQEyQ4NjTuyAUsRuo6yz0VAHpsNCYCK/h0AZKk4QR7MLtlojCSWOjZkSFjSurr/l7ouP3bLhGo8fSIzzMCbBlGT2yZhTBJ7swt8fwqhXv0MwXcOxevlaKn7BMAStKJZkw5NVDnxJ0xE4TuEOFyh4oScBnPW/01RH1GCXxAVBVH2xrZkuHCzKMY3Pn6yf7n/Hx4FFq6DgIwMokpGPTH+e/sgp07vADfOral5AKzdMCxJIw==; 5:TWFhPimKgzkFFMSjytU5Onky9RslJGsA0PUfP2P44A7osqySiK2xiEBeC/FDdCYmPIyZOifoNoJEWHeVG9Nh833lzEeKQg5AqL+BmqkG6pb1+1/TIjw3aC7nrd24CKyiZROr4rTtpG6mHVHC6vvGv02f9eEus8VHQHpBVNKsBLsh2ZtfpNj+RUMKRxiE9rW0qDPVqM2EXUGZ+I40oMopKA==; 7:l89VRP8CfB63UmNqw9+xPDyLf2FIJ+z0nKNJSvt5s1WVKUDZSMIvhgmBf1uTvutXg6ouLjAUl3meuSel6IJrwj57DbRV3cE2nSwPbXH7QWlVZCEggQHN2D/HDE+4sJCFwP5tAT5s+SjS7pitweVKBw== x-incomingheadercount: 64 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(20181119070)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:BY2NAM03HT147; x-ms-traffictypediagnostic: BY2NAM03HT147: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:BY2NAM03HT147; BCL:0; PCL:0; RULEID:; SRVR:BY2NAM03HT147; x-microsoft-antispam-message-info: tIs4uAH2QIaMJWCq9z+q3qC4BVN6ckCxEZQDDrt85P8YDxtWTfIxCdPDoQskINyp Content-Type: text/plain; charset="us-ascii" Content-ID: <1E08EE4BBA3300438C8568044206A05D@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: d79ef70f-6ea6-4c73-f786-08d68220890e X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2019 17:22:36.8446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM03HT147 X-Rspamd-Queue-Id: 6F80D742B6 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=GMk1ZP7b; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of carmel_ny@outlook.com designates 40.92.7.39 as permitted sender) smtp.mailfrom=carmel_ny@outlook.com X-Spamd-Result: default: False [2.10 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; NEURAL_HAM_MEDIUM(-0.92)[-0.925,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/14]; FREEMAIL_FROM(0.00)[outlook.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; RCVD_IN_DNSWL_NONE(0.00)[39.7.92.40.list.dnswl.org : 127.0.3.0]; MX_GOOD(-0.01)[cached: outlook-com.olc.protection.outlook.com]; NEURAL_HAM_SHORT(-0.01)[-0.009,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[outlook.com]; REPLYTO_EQ_TO_ADDR(5.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[outlook.com.dwl.dnswl.org : 127.0.3.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2019 17:22:41 -0000 Okay, I had some free time today, so I decided to try and get the wireless interface up and running on my FreeBSD 12.0 / amd 64 machine. I thought I correctly configured the "wpa_supplicant.conf" file and entered the correct into into the "/etc/rc.conf" file, but it is still not working correctly. Anyway, this is the output when I attempt to restart= the network. # service netif restart Stopping dhclient. dhclient not running? (check /var/run/dhclient/dhclient.wlan0.pid). Stopping Network: lo0 em0 wlan0. lo0: flags=3D8048 metric 0 mtu 16384 options=3D680003 groups: lo nd6 options=3D21 em0: flags=3D8c02 metric 0 mtu 1500 options=3D81249b ether 00:1a:a0:89:ca:e4 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D21 wlan0: flags=3D8802 metric 0 mtu 1500 ether 00:1b:fc:81:85:7f groups: wlan ssid Scorpio-2g channel 3 (2422 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29 Destroyed wlan(4) interfaces: wlan0. Created wlan(4) interfaces: wlan0. sendmsg on em0: Permission denied sendmsg on em0: Permission denied sendmsg on em0: Permission denied Starting Network: lo0 em0 wlan0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 em0: flags=3D8843 metric 0 mtu 1500 options=3D81249b ether 00:1a:a0:89:ca:e4 inet6 fe80::21a:a0ff:fe89:cae4%em0 prefixlen 64 scopeid 0x1 inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D23 wlan0: flags=3D8843 metric 0 mtu 1500 ether 00:1b:fc:81:85:7f groups: wlan ssid Scorpio-2g channel 9 (2452 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29 The "/var/run/dhclient/dhclient.wlan0.pid" exists, so I am not sure what that error message is all about. Plus, I have no idea what the "sendmsg on em0: Permission denied" repeated three times is referring to. The "wpa_supplicant.conf file: network=3D{ ssid=3D"Scorpio-2g" scan_ssid=3D1 key_mgmt=3DWPA-PSK psk=3D"SECRET" } >From the "/etc/rc.conf file": ## Wireless wlans_bwi0=3D"wlan0" ifconfig_wlan0=3D"ssid Scorpio-2g DHCP" the "dmesg" output for this device: bwi0: mem 0xfdefe000-0xfdefffff i= rq 16 at device 1.0 on pci2 bwi0: BBP: id 0x4318, rev 0x2, pkg 0 bwi0: MAC: rev 9 bwi0: PHY: type 2, rev 7, ver 3 bwi0: RF: manu 0x17f, type 0x2050, rev 8 bwi0: invalid antenna gain in sprom It is situations like this that make me love Microsoft. Connecting a wireless network should not require user intervention other than choosing the network and entering the password. --=20 Carmel