SHARE
Facebook X Pinterest WhatsApp

Configuring Strong Wi-Fi (802.1X) Authentication in Linux, Part II

Written By
EG
Eric Geier
Dec 15, 2009

“In the previous part, we also discovered the two main 802.1X
supplicants (clients): Xsupplicant and wpa_supplicant. We used
wpa_supplicant via Ubuntu’s networking GUI. Now we’re going to
discuss how to manually configure wpa_supplicant using it’s
configuration file, in case your Linux distribution doesn’t
interface with the supplicant.

“Configuring wpa_supplicant via the config file

“If you’ve installed wpa_supplicant yourself, you can set it up
via the configuration file. If the supplicant came with your Linux
distribution, you still might choose to use the configuration file
to fine-tune the authentication and encryption settings. Here are a
few general parameters you may want to set that apply to all
networks you connect to:

eapol_version: Set to either 1 or 2. By default,

wpa_supplicant uses version 2 of EAPOL, as specified in the IEEE
802.1X-2004 standard. However, some APs still support only the
first version.

fast_reauth: Leave set to 1 to enable fast re-authentication for
all supported EAP methods, or set to 2 to disable fast
re-authentication.

“You specify the details of networks you want to connect to in
blocks using brackets. The supplicant will try to connect to the
listed networks in the order they appear in. Before you take the
time to configure all the settings, you might want to check if the
supplicant is working fine with your wireless driver by connecting
to an unencrypted AP first, using the following block:”

Complete
Story

EG

Eric Geier

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.