DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th May 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default [Solved] OpenBSD cannot connect to the WiFi

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
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD

Last edited by LeFrettchen; 17th May 2018 at 03:24 PM. Reason: Syntax & public key
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I connect to unprotected Wifi ? e1-531g OpenBSD General 17 15th August 2017 07:44 PM
connect to wifi networks without GUI spermwhale_warrior NetBSD Installation and Upgrading 6 24th November 2015 07:27 PM
connect to OpenBSD BOX with VNC mfaridi OpenBSD General 9 14th April 2010 08:38 PM
How to connect Free VPN with OpenBSD mfaridi OpenBSD General 19 9th February 2009 12:52 PM
connect to openbsd box (ssh) milo974 Other BSD and UNIX/UNIX-like 4 3rd January 2009 02:44 AM


All times are GMT. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick