Hi everybody.
I solved the problem, so I just create this thread to help if anybody encounters the same issue, and also as a reminder...
I recently moved in a new house, with a new internet provider.
And I had trouble to connect OpenBSD to the WiFi...
In my new house, I was able to connect to the WiFi with Windows, iOS or Android, not with OpenBSD.
I started to check the
nwid &
wpakey values in the
/etc/hostname.iwn0 file, they were both valid.
So I scanned iwn0, the WiFi SSID is SFR_37E8 :
Code:
$ doas ifconfig iwn0 scan | grep SFR_37E8
ieee80211: nwid SFR_37E8 wpakey 0x5bbb809fde21756fee4e9794770ec3bfd2d35f96e57210a9089667d9647d28b1 wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
nwid SFR_37E8 chan 6 bssid 30:7e:cb:e8:37:ec -68dBm HT-MCS15 privacy,short_slottime,wpa1
Then I've noticed OpenBSD try to connect with wpa2 (by default) but my ISP box provides only wpa1.
So I modified the
/etc/hostname.iwn0 file, and added
wpaprotos wpa1 :
Code:
# Routeur CISCO
#
# nwid Wifidici57535pournouszx
# wpakey ShutUpAndHack201457zk
# Box SFR
#
nwid SFR_37E8
wpakey <oops!ofcourseIchangedit>
wpaprotos wpa1
dhcp
And here we go again, the net is back