My Asus UX305F laptop has been running OpenBSD 6.5 to 6.9 quite happily. Did a clean install of 7.0 because of the changed partition size requirements. The internet works for a while and then suddenly can't find the server it was connected to.
The WiFi using iwm0 has the problems, axe0 the Ethernet via USB has not failed so far. I turn off iwm0 using doas ifconfig iwm0 down and then use an external USB to ethernet connector. I have searched the web and tried various things but so far nothing fixes it. The release notes for 7.0 show both DNS and iwm0 have been changed. Is there a problem with the updated iwm0? logs and various .conf files shown below. Any ideas? DaveT ux305f$ uname -a OpenBSD ux305f.lan 7.0 GENERIC.MP#2 amd64 syspatch is up to date. pkg_add -u is up to date. from dmesg iwm0 at pci2 dev 0 function 0 "Intel AC 7265" rev 0x59, msi /var/log/messages has repeated entries like this:- Nov 28 09:22:17 ux305f ntpd[98379]: DNS lookup tempfail Dec 13 13:21:14 ux305f unwind[40036]: bad packet: too short Dec 13 13:21:45 ux305f last message repeated 4 times Dec 13 13:23:40 ux305f last message repeated 11 times Dec 13 13:29:45 ux305f last message repeated 33 times Dec 13 13:29:55 ux305f ntpd[90670]: DNS lookup tempfail Dec 13 13:29:55 ux305f ntpd[90670]: DNS lookup tempfail Dec 13 13:30:00 ux305f unwind[40036]: bad packet: too short Dec 13 13:30:46 ux305f last message repeated 6 times Sometimes it also logs this:- Dec 5 11:36:36 ux305f /bsd: iwm0: fatal firmware error Dec 5 11:36:37 ux305f /bsd: iwm0: could not remove MAC context (error 35) I have tried various things to try and make it work properly. Killing ntpd didn't help. Editing resolv.conf to add the 208.67.222.222 Open DNS server didn't help because resolvd adds nameserver 192.168.1.254 as the first line. So I made resolv.conf read-only. And still resolvd added nameserver 127.0.0.1 as the first line. I didn't have a /etc/dhclient.conf so I created one with the single line supersede domain-name-servers 1.1.1.1 so it uses Cloudflare as recommended by openbsdhandbook.com. That didn't help either. my /etc/hostname.iwm0 file is:- join MY-HOUSE wpakey my-password join FRIENDS-HOUSE wpakey friends-password dhcp inet autoconf up until 5th December inet autoconf was inet6 autoconf. That change didn't help either. cat /etc/resolv.conf nameserver 192.168.1.254 # resolvd: iwm0 nameserver 208.67.222.222 # Open DNS nameserver 208.67.220.220 # Open DNS cat /etc/unwind.conf forwarder 208.67.222.222 cat ntpd.conf # $OpenBSD: ntpd.conf,v 1.16 2019/11/06 19:04:12 deraadt Exp $ # # See ntpd.conf(5) and /etc/examples/ntpd.conf servers pool.ntp.org server time.apple.com server 1.uk.pool.ntp.org server 2.uk.pool.ntp.org server 3.uk.pool.ntp.org server time.cloudflare.com sensor * constraint from "9.9.9.9" # quad9 v4 without DNS constraint from "2620:fe::fe" # quad9 v6 without DNS constraints from "www.google.com" # intentionally not 8.8.8.8 cat /etc/hostname.axe0 autoconf inet6 autoconf cat /etc/resolv.conf nameserver 127.0.0.1 # resolvd: unwind #nameserver 192.168.1.254 # resolvd: axe0 nameserver 208.67.222.222 # Open DNS nameserver 208.67.220.220 # Open DNS ifconfig ux305f$ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 index 3 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 iwm0: flags=a48802<BROADCAST,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6,AUTOCONF4> mtu 1500 lladdr 5c:e0:c5:69:07:3a index 1 priority 4 llprio 3 groups: wlan egress media: IEEE802.11 autoselect (HT-MCS0 mode 11n) status: no network ieee80211: join MY-WIFI wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet6 fe80::5ee0:c5ff:fe69:73a%iwm0 prefixlen 64 scopeid 0x1 inet 192.168.1.66 netmask 0xffffff00 broadcast 192.168.1.255 enc0: flags=0<> index 2 priority 0 llprio 3 groups: enc status: active axe0: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6,AUTOCONF4> mtu 1500 lladdr 38:4b:76:f0:5e:72 index 4 priority 0 llprio 3 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::3a4b:76ff:fef0:5e72%axe0 prefixlen 64 scopeid 0x4 inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 index 5 priority 0 llprio 3 groups: pflog ux305f$