You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

+++
title = 'iwlwifi and FreeBSD'
aliases = '/posts/2023-04-23-iwlwifi-and-freebsd'
summary = '''Finally this `iwlwifi` driver works. I'm curios for how long this will last...'''
date = '2023-04-23T20:47:11+0200'
lastmod = '2023-11-18T21:58:00+0000'
categories = [ 'computerstuff' ]
tags = [ 'freebsd', 'networking' ]
# showBreadcrumbs = true
# showDate = false
# showReadingTime = false
# showWordCount = false
# showPagination = false
# feed_exclude = true
# site_exclude = true
+++
Finally. `if_iwlwifi` works (sometimes) on my WiFi network at home!
Those are the relevant parts in my `/etc/rc.conf` configuration file.
```ini
static_routes="thor_lan thor_wifi"
route_thor_lan="-net 192.168.2.0/24 192.168.1.1"
route_thor_wifi="-net 192.168.1.0/24 192.168.2.1"
ifconfig_re0="DHCP"
create_args_wlan0="country AT metric 100 ssid AP1"
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
create_args_wlan1="country AT ssid AP2"
wlans_run0="wlan1"
ifconfig_wlan1="WPA SYNCDHCP defaultif"
```
In fact I only made a single change to the suggested options from the handbook.
```ini
create_args_wlan0="regdomain ETSI2 country AT"
```
As you can see, I removed the `redgomain ETSI2` part. I've also tried _ETSI_ so
far but that also didn't work.
This works with a Killer Wi-Fi 6 AX1650 card. I haven't tried this with the
Intel AX200(NGW) card that originally was built into my laptop.
{{< alert triangle-exclamation >}}
This works for me sometimes. But random panics still occur!
{{< /alert >}}