Wifi working on Dell XPS 15 2019 using iwlwifi with Killer AX1650x chipset and lagg0

I have got wifi working on my Dell XPS 15 2019 with the following chipset

Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW), REV=0x340

which is supported by Iwlwifi

and for extra brownie points i have got it working with the lagg0 failover device

Example 3. Failover Mode Between Ethernet and Wireless Interfaces

after i set everything up i unplugged my ethernet and it switched to wifi instantly

whats great about the lagg0 failover is you dont have to restart any services

im gobsmacked the wifi works

i have freebsd installed on a macbook air 2011 and macbook pro retina 2015
which use broadcom chips, i will have to see if i can get wifi working on those machines as well

probably not that would be pushing my luck
no luck

i have a usb alfa wifi card which i use with the macs
i wonder if i could set that card to be a fallback device

what you have to do is set the ethernet mac address to the wifi cards mac address
following the freehand book link above

Code:
/etc/rc.conf

Code:
# laggo
# ethernet mac address set to wifi mac address
ifconfig_ue0="ether 78:2b:46:ee:27:a3"
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA"
create_args_wlan0="country GB"
cloned_interfaces="lagg0 lo1"
ifconfig_lagg0="up laggproto failover laggport ue0 laggport wlan0 DHCP"

lo1 in cloned_interfaces is for my jail and not needed for the wifi
so if your not using a jail you can remove that

also you can use the lagg0 device in your pf config
so you dont have to edit you pf config change the int_if and restart pf

Code:
/etc/pf.conf

int_if set to lagg0

Code:
int_if="lagg0"

Firefox in a jail with nat also work with pf and wifi

Code:
ifconfig

Code:
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 78:2b:46:ee:27:a3
    groups: wlan
    ssid Triangulum channel 11 (2462 MHz 11g) bssid 94:db:c9:78:9d:cb
    regdomain ETSI country GB authmode WPA2/802.11i privacy ON
    deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7
    scanvalid 60 protmode CTS wme roaming MANUAL
    parent interface: iwlwifi0
    media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    status: associated
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 78:2b:46:ee:27:a3
    hwaddr 00:00:00:00:00:00
    inet 192.168.1.131 netmask 0xffffff00 broadcast 192.168.1.255
    laggproto failover lagghash l2,l3,l4
    laggport: wlan0 flags=5<MASTER,ACTIVE>
    groups: lagg
    media: Ethernet autoselect
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo1: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 10.10.0.1 netmask 0xffffff00
    inet 10.10.0.2 netmask 0xffffffff
    inet 10.10.0.3 netmask 0xffffffff
    inet 10.10.0.4 netmask 0xffffffff
    inet 10.10.0.6 netmask 0xffffffff
    inet 10.10.0.7 netmask 0xffffffff
    inet 10.10.0.8 netmask 0xffffffff
    inet 10.10.0.9 netmask 0xffffffff
    inet 10.10.0.10 netmask 0xffffffff
    inet 10.10.0.11 netmask 0xffffffff
    inet 10.10.0.12 netmask 0xffffffff
    inet 10.10.0.5 netmask 0xffffff00
    inet6 fe80::1%lo1 prefixlen 64 scopeid 0x4
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80008<VLAN_MTU,LINKSTATE>
    ether 78:2b:46:ee:27:a3
    hwaddr 00:50:b6:10:e9:75
    media: Ethernet autoselect (none)
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


Dell XPS 15 2019

i cropped the image with emacs which has a function called image-crop
you just drag a rectangle over the image to define the drop area press return and save

vSHjXHkPKQ9FXzvnsojYTf.jpg
 
i have a usb alfa wifi card which i use with the macs
i wonder if i could set that card to be a fallback device
The Alfa USB device I used with run(4) interface has hostAP and has good range. The RT2870 ones.

It is old and everything else I tried from them is unsupported.
(As far as Alfa AWUS036*** type boxes. These are much better than sticks with external antenna.)

It is a very specific buy. I wanted best USB Wireless and this is what I bought. 35-40 bucks it was not cheap nor expensive.
 
i managed to get the alfa card working with lagg0
so if i unplug the ethernet it switches to the alfa card

also if you boot up without the alfa wifi card plugged in the ethernet still works
 
Back
Top