From owner-freebsd-mobile@freebsd.org Fri Nov 23 15:19:07 2018 Return-Path: Delivered-To: freebsd-mobile@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 E8A0D1149727 for ; Fri, 23 Nov 2018 15:19:06 +0000 (UTC) (envelope-from freebsd-mobile@phoe.frmug.org) Received: from frmug.org (enterprise.frmug.org [IPv6:2a01:e0d:1:3:58bf:fa61:0:1]) (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 350088DFAB for ; Fri, 23 Nov 2018 15:19:06 +0000 (UTC) (envelope-from freebsd-mobile@phoe.frmug.org) Received: by frmug.org (Postfix, from userid 66) id C220C12C833; Fri, 23 Nov 2018 16:19:03 +0100 (CET) Received: by memo2.memo.frmug.org (Postfix, from userid 1001) id D134117067; Fri, 23 Nov 2018 16:17:48 +0100 (CET) Date: Fri, 23 Nov 2018 16:17:48 +0100 From: Bertrand Petit To: freebsd-mobile@freebsd.org Subject: No wlan0 interface created for an Intel(R) Centrino(R) Wireless-N 2200 BGN device Message-ID: <20181123151748.GL2026@memo2.memo.frmug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Rspamd-Queue-Id: 350088DFAB X-Spamd-Result: default: False [-4.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_SPF_NEUTRAL(0.00)[?all]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[frmug.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[frmug.org]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; RCVD_IN_DNSWL_NONE(0.00)[1.0.0.0.0.0.0.0.1.6.a.f.f.b.8.5.3.0.0.0.1.0.0.0.d.0.e.0.1.0.a.2.list.dnswl.org : 127.0.10.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR]; IP_SCORE(-1.43)[ipnet: 2a01:e00::/26(-4.11), asn: 12322(-3.01), country: FR(-0.02)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 15:19:07 -0000 I am experiencing difficulties with an Intel wifi module installed in a second-hand X230 Lenovo laptop and may need your help to make it work. I'm using 11.2-STABLE (revison 339256), wlan-related modules are linked in kernel, I flashed the latest Lenovo firmware, the device is enabled in the BIOS, hardware switch is on the "on" position, and the antena led is lighted. Identification: # lspci -nn | grep Centri 03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2200 [8086:0891] (rev c4) Loading the iwn module yields: # kldload /boot/kernel/iwn*fw.ko # kldload if_iwn # dmesg | grep Centri iwn0: mem 0xf1c00000-0xf1c01fff irq 17 at device 0.0 on pci2 # sysctl net.wlan.devices net.wlan.devices: iwn0 At that point all looks good, however the expected clonable wlan0 network interface is not created: # ifconfig | grep flags em0: flags=8843 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 vboxnet0: flags=8843 metric 0 mtu 1500 Is this device actually supported? If it is, what could be the curlpit? If it is not, could you recommend a replacement supported PCIe module? -- %!PS -- Bertrand Petit /D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D /O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont 22 scalefont setfont l s P(x)s exch P T O l show showpage From owner-freebsd-mobile@freebsd.org Fri Nov 23 15:34:53 2018 Return-Path: Delivered-To: freebsd-mobile@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 CB1B31149C67 for ; Fri, 23 Nov 2018 15:34:53 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (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 4D5308E8B1 for ; Fri, 23 Nov 2018 15:34:51 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.lissoft.com.ua ([109.237.91.29] helo=thinkpad.flex-it.com.ua) by mail.flex-it.com.ua with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gQDTd-000Dd5-IG for freebsd-mobile@freebsd.org; Fri, 23 Nov 2018 17:34:41 +0200 Subject: Re: No wlan0 interface created for an Intel(R) Centrino(R) Wireless-N 2200 BGN device To: freebsd-mobile@freebsd.org References: <20181123151748.GL2026@memo2.memo.frmug.org> From: Alexandr Krivulya Message-ID: <153f52f2-b9fb-9cb9-4322-e65e360470b6@shurik.kiev.ua> Date: Fri, 23 Nov 2018 17:34:36 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181123151748.GL2026@memo2.memo.frmug.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-SA-Exim-Connect-IP: 109.237.91.29 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on mail.flex-it.com.ua); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4D5308E8B1 X-Spamd-Result: default: False [-0.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.02)[-0.025,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.69)[-0.688,0]; NEURAL_SPAM_SHORT(0.12)[0.117,0]; MX_GOOD(-0.01)[graal.shurik.kiev.ua]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(0.00)[country: UA(0.02)]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 15:34:54 -0000 Hi! You need to load firmware in your /boot/loader.conf if_iwn_load="YES" iwn2000fw_load="YES" iwn2030fw_load="YES" not sure wich firmware is correct, see man 4 iwn. You need also corresponding interface settings in /etc/rc.conf wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" 23.11.18 17:17, Bertrand Petit пишет: > I am experiencing difficulties with an Intel wifi module installed in > a second-hand X230 Lenovo laptop and may need your help to make it work. I'm > using 11.2-STABLE (revison 339256), wlan-related modules are linked in kernel, > I flashed the latest Lenovo firmware, the device is enabled in the BIOS, > hardware switch is on the "on" position, and the antena led is lighted. > > Identification: > > # lspci -nn | grep Centri > 03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2200 [8086:0891] (rev c4) > > Loading the iwn module yields: > > # kldload /boot/kernel/iwn*fw.ko > # kldload if_iwn > # dmesg | grep Centri > iwn0: mem 0xf1c00000-0xf1c01fff irq 17 at device 0.0 on pci2 > # sysctl net.wlan.devices > net.wlan.devices: iwn0 > > At that point all looks good, however the expected clonable wlan0 network > interface is not created: > > # ifconfig | grep flags > em0: flags=8843 metric 0 mtu 1500 > lo0: flags=8049 metric 0 mtu 16384 > vboxnet0: flags=8843 metric 0 mtu 1500 > > Is this device actually supported? If it is, what could be the > curlpit? If it is not, could you recommend a replacement supported PCIe > module? >