LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-04-2021, 10:48 PM   #1
robert1234
LQ Newbie
 
Registered: Nov 2021
Distribution: Gentoo
Posts: 5

Rep: Reputation: Disabled
Networking with University Wifi with OpenBSD and wpa_supplicant


I am trying to learn how to use OpenBSD, and I have been trying to get connected to my University's wifi with wpa_supplicant. I have been able to connect with wpa_supplicant on Linux, but not OpenBSD.
I have the following entry in /etc/wpa_supplicant, which works on Linux but not OpenBSD:
Code:
network={
ssid="my-ssid"
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=PEAP
phase2="auth=MSCHAPV2"
identity="my-username"
password="my-password"
phase1="peapver=0"
}
I try with the following commands as root:
Code:
ifconfig rtwn0 up
rcctl start wpa_supplicant
dhcpcd rtwn0
Then it just times out.

Would anyone be able to help me?

Thanks
 
Old 11-05-2021, 06:38 AM   #2
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 249

Rep: Reputation: 114Reputation: 114
You must have missed the guidance in /usr/local/share/doc/pkg-readmes/wpa_supplicant. Please review it. I can see 802.1X has not been provisioned, and the supplicant daemon is being started at the wrong time without being enabled; rcctl should not normally be used from within a hostname.if(5) file.

Last edited by jggimi; 11-05-2021 at 06:40 AM. Reason: clarity
 
Old 11-05-2021, 11:41 AM   #3
robert1234
LQ Newbie
 
Registered: Nov 2021
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: Disabled
I got the problem solved on a different forum. Thank you.
You need to run
Code:
ifconfig rtwn0 nwid "networkname" wpa wpaakms 802.1x up
wpa_supplicant -Bc /etc/wpa_supplicant.conf -D openbsd -i rtwn0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure wpa_supplicant configuration to handle multiple USB WIiFi devices with single wpa_supplicant configuration file with system chetuneve Linux - Wireless Networking 1 11-18-2020 05:07 PM
OpenBSD: nvidia drivers, screen resolution and FreeBSD binaries on OpenBSD ::: *BSD 2 08-21-2009 05:18 AM
wpa_supplicant and university secure rounters AChi Linux - Wireless Networking 11 12-03-2008 06:42 PM
University wifi doesn't work to me khoma Linux - Wireless Networking 7 12-19-2007 08:51 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration