From owner-freebsd-questions@freebsd.org Thu Jan 24 21:13:24 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 8235B14BEB4C for ; Thu, 24 Jan 2019 21:13:24 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-oln040092006096.outbound.protection.outlook.com [40.92.6.96]) (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 EA53C8754C for ; Thu, 24 Jan 2019 21:13:22 +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=GlVCFXc6QSsrTG99vgNZ643N7aiCaJdr0ucwtVesuIA=; b=m+YuuVB+qTV7i1PihrZFiN9oH6TNl82CfjF/7JAeTWEk9pSB15IccunlDybOsTkSiJgK38Xk6duzNa88aXzxQnBtEK7wNwBGZzIXe1n0i4Hgug8V1ZMzCSoFVSoC0wFJlhAe9L9wHIBZd1IzfchzW0RINLn3wiKCAKjNSuFH3Ho84g+uRY7asZ/A/xcNvMj/Y/Ge4hcI7R/EnL+rXIaTJAQ4OSQSyT9k7r1paD8X4Ata/ETwYbBHxFmnXz7QKe/lhVqZDPget28Dcubm+4dUcZLt/bPYedKZ/w5NEk4flcx1y368OtZqxyxL3WBetEjY4pvdVowOM4lJ6jK6zuKqog== Received: from DM3NAM03FT041.eop-NAM03.prod.protection.outlook.com (10.152.82.51) by DM3NAM03HT184.eop-NAM03.prod.protection.outlook.com (10.152.83.61) 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 21:13:21 +0000 Received: from MWHPR04MB0495.namprd04.prod.outlook.com (10.152.82.55) by DM3NAM03FT041.mail.protection.outlook.com (10.152.83.207) 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 21:13:21 +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 21:13:21 +0000 From: Carmel NY To: FreeBSD Subject: Re: Wireless interface Thread-Topic: Wireless interface Thread-Index: AQHUtAlnpLyouHF10EGiifEuwf8DKQ== Date: Thu, 24 Jan 2019 21:13:20 +0000 Message-ID: References: <5C4A0DE8.1070602@gmail.com> In-Reply-To: <5C4A0DE8.1070602@gmail.com> Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR12CA0037.namprd12.prod.outlook.com (2603:10b6:405:70::23) 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:A64F22FDAF1E79B5F83A456370D555C350FB0E0B7C7EF83F5AE10397C1CA341A; UpperCasedChecksum:C56375E55E70BBB79481D3F9EC370D3C1209593472D7AB45FEB2699040A36ACC; SizeAsReceived:8573; Count:66 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Wvt5MIzb9bZui0NVKnS6xS5/HasrH+pUY4tIQFH+cEY=] x-microsoft-original-message-id: <20190124161315.00001a35@outlook.com> x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM3NAM03HT184; 6:jxlfioedvnR1xNe20bc+wpAeJGtVyUoyBMCyliClCDQUK+VXKU/eU5Kygd332RJDL0FHsB1l/XQFYO+Uqpr38PlORrIIZcIKj4mAtpKYgoQOaLJgFyA51muEmOTmzoaOAziK1q4j/+gscprpL7qA/a2pJMLWehsqBVawUBd6WvstrFbd1G7Jt6+7XiyzKKMzgHGo6OO3zZxJ8hrfelHFy3vo4JuyG1EyCX+fEv42RSq+zRk+Ka+cK1Ls5yU1FTIYKP47+LETyLeb74KHi0SZ+S9ktB4O8MBXIhhT3H5hVKJrQX8VQyZvlAFWgbUAqrmWKrgvmVKWKCijL3F0A9g3IKZb8yJM6qpu9I90lZiqMoFt1RFKgXGw/G/3cxIL2n53tkhJEREdcidL23mS/Duzo0523auojzhHbWy4WuIsFd/+Pkq//gTxgk1of3mR9VNAHtKxLiMC3j1BGzecWfmbLA==; 5:E6bapxGOYXeAexIBPEP7LLHEYFYFW2gI1twQXWF/9prOIGBJH0fd32K+L+PiIhF9WBLm/MlLLj9OLBwD5YYvgb3g8/2Kq7Ubo/am8s/C2HzzfFsU/a6NrtH00U5YmTBzfI/lQfnpLuWNOLE/tYJzSfro4iOAZV8sVoXB8QD8/5X5HxO9FahicyOj9CZuKsm34sJ6wkzuta1RYv3tzDzwuA==; 7:AcRxGz1LUyN4EosOtfQSFzwslMy78NklV0T9mNbo1lPURp9vqB95ZuK6fRQ3TQDY5m09ySXC1e2VRGR0EUbPzpizN5NOVsd0D1gSZxp1buradP12D7pjnHoXas0eH7ql3sn94FQqPIBVpup/Q8cEHA== x-incomingheadercount: 66 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:DM3NAM03HT184; x-ms-traffictypediagnostic: DM3NAM03HT184: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:DM3NAM03HT184; BCL:0; PCL:0; RULEID:; SRVR:DM3NAM03HT184; x-microsoft-antispam-message-info: HyTVB+XW3DyBDdWNp3PNyDt3WOjcIi9iuE/4M2L+pUQqUw1WfTnGISL0ukBommj+ Content-Type: text/plain; charset="us-ascii" Content-ID: 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: 41f2b452-c1d0-4b91-d3d1-08d68240c43b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2019 21:13:20.0185 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT184 X-Rspamd-Queue-Id: EA53C8754C X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=m+YuuVB+; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of carmel_ny@outlook.com designates 40.92.6.96 as permitted sender) smtp.mailfrom=carmel_ny@outlook.com X-Spamd-Result: default: False [2.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/14]; FREEMAIL_FROM(0.00)[outlook.com]; 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]; MX_GOOD(-0.01)[cached: outlook-com.olc.protection.outlook.com]; 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]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.902,0]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.951,0]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.47)[0.466,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[96.6.92.40.list.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 21:13:24 -0000 On Thu, 24 Jan 2019 14:11:36 -0500, Ernie Luzar stated: >Carmel NY wrote: >> 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. >>=20 >> # 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 >>=20 >> 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. >>=20 >> The "wpa_supplicant.conf file: >> network=3D{ >> ssid=3D"Scorpio-2g" >> scan_ssid=3D1 >> key_mgmt=3DWPA-PSK >> psk=3D"SECRET" >> } >> =20 >>>From the "/etc/rc.conf file": =20 >> ## Wireless >> wlans_bwi0=3D"wlan0" >> ifconfig_wlan0=3D"ssid Scorpio-2g DHCP" >>=20 >> the "dmesg" output for this device: >> bwi0: mem >> 0xfdefe000-0xfdefffff irq 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 >>=20 >> 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 > >I had this problem when I followed the handbook instructions for=20 >configuring a wifi card I plugged into my machine back in January >2017. Through trial and error with a lot of tcpdump logs finally >figured out that; my firewall was blocking a igmp packet to 224.0.0.22. > >Whats happening is the wifi device on the host is trying to verify >that the wifi device has public internet access as part of the start >up process. It tries 3 times and then gives up without issuing any=20 >meaningful error message. > >Be aware that the wifi setup info in the handbook is very out dated. Unfortunately, my playtime for this quarter is pretty much used up. Perhaps in three or four months I will revisit this issue. --=20 Carmel