Date: Sat, 25 Nov 2017 14:14:37 -0500 (EST) From: DTD <support@safeport.com> To: Sebastian Schwarz <seschwar@gmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: iwm drives does not work for Intel Wireless-AC 3165 Message-ID: <alpine.BSF.2.00.1711251407290.72866@bucksport.safeport.com> In-Reply-To: <873752ji7x.fsf@domain.invalid> References: <alpine.BSF.2.00.1711251316400.72866@bucksport.safeport.com> <873752ji7x.fsf@domain.invalid>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1711251407290.72866>
