From owner-freebsd-questions@freebsd.org Sat Nov 25 19:14:39 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 7491ADEDBC7 for ; Sat, 25 Nov 2017 19:14:39 +0000 (UTC) (envelope-from support@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44C236AE7B for ; Sat, 25 Nov 2017 19:14:38 +0000 (UTC) (envelope-from support@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id vAPJEbKH013524; Sat, 25 Nov 2017 14:14:37 -0500 (EST) (envelope-from support@safeport.com) Date: Sat, 25 Nov 2017 14:14:37 -0500 (EST) From: DTD To: Sebastian Schwarz cc: freebsd-questions@FreeBSD.ORG Subject: Re: iwm drives does not work for Intel Wireless-AC 3165 In-Reply-To: <873752ji7x.fsf@domain.invalid> Message-ID: References: <873752ji7x.fsf@domain.invalid> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sat, 25 Nov 2017 14:14:37 -0500 (EST) 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:14:39 -0000 On Sat, 25 Nov 2017, Sebastian Schwarz wrote: > On 2017-11-25, DTD wrote: [cut] >> 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 root@mneme:~ # ifconfig wlan0 create wlandev rgephy0 ifconfig: SIOCIFCREATE2: Device not configured Is there some other loader or sysctl and first needs to be done? The system is a straign install into one slice with freebsd-update done after. I've installed xorg and xfce so lots of packages but no system configuration past what I listed. Really appreciate the feedback BTW. [cut] > > 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" > > _____ Douglas Denault http://www.safeport.com support@safeport.com Voice: 301-217-9220 Fax: 301-217-9277