From owner-freebsd-questions@freebsd.org Sat Nov 25 19:01:26 2017 Return-Path: Delivered-To: freebsd-questions@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 00F37DED6E6 for ; Sat, 25 Nov 2017 19:01:26 +0000 (UTC) (envelope-from seschwar@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95B896A5C3 for ; Sat, 25 Nov 2017 19:01:25 +0000 (UTC) (envelope-from seschwar@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id y80so27842791wmd.0 for ; Sat, 25 Nov 2017 11:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:mail-followup-to:date :message-id:mime-version; bh=vdypK25/CboZ4ex3ctl9ygqMRD94+A2e/RpuxIrkdNE=; b=K71JFK8KuLSie6sX7T4vVd1vIhUPwB7zYgHhJ6t5VHnGeGz/B8JJHKtUzd9KL/o7nJ HyuhWn3dM0O55+pGDLolocATBn2xEwbJC7buJ4zqCTi9ONFHv9xav7U7TeINiG5gis3B kMZJk4TjuUl2q/7jmd5jwYoPFFWebCYTrI+xKNxo6uDLN/QXE7RFkejUY5ZXVC9Tu46d 4IqIBxedjY87bn5w/r/Jd6XpcqMl3c0YCkJEbHHJkXuJSHoVG3GkeBUdHJ7/zMQnickB 0FF3l0wOT21u5nalWCBWxN4jlP4KXZX6tOnsLzkXTQOmV/q1bG74seeqWPmRwTrfzvKi EGDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :mail-followup-to:date:message-id:mime-version; bh=vdypK25/CboZ4ex3ctl9ygqMRD94+A2e/RpuxIrkdNE=; b=cNAtOeewI+WDJDyjRRSGqSaFSYVjyQgS8NWKHixWS+2N1u7gEiZA+BoFAZdoXUfJR7 ge3Jh9AeYWv/EorcN2TazqyVUva81V6dtKcEjfHUKz9iuvaHxscjPQgk0gS+zOmrDq/6 7ErbJQLUnyqs8corV/CaYMOvmQrJPgMAw8DqHh0qcz48XsTwDeFYUhv5eY79AIJYKePx fE0VVkfDIaDnsiftI5upsWU13kyWavvgP+Uf3iFVzCVw1FUThldjpVOcf4a+N5E6cf+q 0aZwLryCGWsfK1A96y/605b3nHPDI9oYQE6KsqsaIFFodjGGwkR+EJYy7nug+2KjnQ8p aP6g== X-Gm-Message-State: AJaThX7JR2NbWfZki7kQ5UO/EQHhBNUaGVzdOBIp7+ER8587+z6+Lzqu 0jdlpNkB/rY8Fo/JqgW34VY= X-Google-Smtp-Source: AGs4zMboNVeJ3fNO7R2P8rPe0LyYJUEcY+n+hILZUw2Q1WLM902bTK/TwhZ1uLGS4SbNAXf2PX4YAg== X-Received: by 10.28.234.71 with SMTP id i68mr13068523wmh.7.1511636484044; Sat, 25 Nov 2017 11:01:24 -0800 (PST) Received: from localhost (dyndsl-092-252-012-048.ewe-ip-backbone.de. [92.252.12.48]) by smtp.gmail.com with ESMTPSA id n143sm26592518wmd.31.2017.11.25.11.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Nov 2017 11:01:23 -0800 (PST) From: Sebastian Schwarz To: DTD , freebsd-questions@FreeBSD.ORG Subject: Re: iwm drives does not work for Intel Wireless-AC 3165 In-Reply-To: References: Mail-Followup-To: DTD , freebsd-questions@FreeBSD.ORG Date: Sat, 25 Nov 2017 20:01:22 +0100 Message-ID: <873752ji7x.fsf@domain.invalid> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 19:01:26 -0000 On 2017-11-25, DTD wrote: > My laptop is a Lenovo ideapad 700. Windows shows 4 networking devices: Intel > wireless bluetooth, Intel blue tooth RFCOMM TDI, Intel Dual Band Wireless-AC > 3165, Realtek PCIe GBE controller. I got this system because as of 10.3 FreeBSD > had support for Wireless-AC 3165. > > uname -a > FreeBSD mneme.boltsys.com 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 > 06:12:40 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > pciconf -lv > pcib1@pci0:0:1:0: class=0x060400 card=0x380a17aa chip=0x19018086 rev=0x07 > hdr=0x01 > vendor = 'Intel Corporation' > device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)' > class = bridge > subclass = PCI-PCI > none5@pci0:2:0:0: class=0x028000 card=0x42108086 chip=0x31668086 rev=0x99 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Dual Band Wireless-AC 3165 Plus Bluetooth' > class = network > re0@pci0:3:0:0: class=0x020000 card=0x004717aa chip=0x816810ec rev=0x15 hdr=0x00 > vendor = 'Realtek Semiconductor Co., Ltd.' > device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' > class = network > subclass = ethernet > > I think the none5@ means the iwm driver does not support this card. I had added > the following to /boot/loader.conf: > > if_iwm_load="YES" > iwm3160fw_load="YES" > iwm7260fw_load="YES" > iwm7265fw_load="YES" > iwm8000Cfw_load="YES" > > On the next boot that got: > > rgephy0: PHY 1 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000ba seT-FDX, 1000baseT-FDX-master, > 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow > > This I think is an error as RGEPHY(4): rgephy - RealTek RTL8168/8169/8110/8211 > series 10/100/1000 Gigabit Ethernet PHY driver. It should be iwm0 I would think. > Anyway it can not be configured. > > ifconfig rgephy0 add inet 192.168.2.124 netmask 255.255.255.0 > ifconfig: interface rgephy0 does not exist > > ifconfig wlan create wlandev inet 192.168.2.124 netmask 255.255.255.0 > ifconfig: SIOCIFCREATE2: Device not configured You have to create the WLAN interface from the actual wlan device: # ifconfig wlan0 create wlandev rgephy0 > ifconfig wlan create rgephy0 inet 192.168.2.124 netmask 255.255.255.0 > ifconfig: must specify a parent device (wlandev) when creating a wlan device > > ifconfig wlan create wlandev rgephy0 inet 192.168.2.124 netmask 255.255.255.0 > ifconfig: SIOCIFCREATE2: Device not configured > > It seems to be an Intel design requirement to add stuff to invalidate FreeBSD > wireless support. I think FreeBSD 7 or earlier was the last time wifi worked for > me. Anyone know if there are plans to support any of the usb wireless devices? > > > _____ > Douglas Denault > http://www.safeport.com > support@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Unfortunately the Handbook is not as clear on the WLAN setup as it could be. It took me a few hours to realize iwn0 wasn't meant to show up in ifconfig's output. After the drivers have attached you can list the available WLAN devices using the command "sysctl net.wlan.devices": # sysctl net.wlan.devices net.wlan.devices: iwn0 You then have to create the actual WLAN interface from it: # ifconfig wlan0 create wlandev iwn0 # ifconfig wlan0 up Now run wpa_supplicant to associate it with an access point: # wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0 -P /var/run/wpa_supplicant/wlan0.pid Then configure its IP address either statically: # ifconfig wlan0 inet 192.168.2.124/24 or dynamically: # dhclient wlan0 ifconfig_wlan0="DHCP" wlans_iwn0="wlan0"