iwd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: Florian Coste <florian.coste@nairwolf.net>, iwd@lists.linux.dev
Subject: Re: Unable to connect to a EAP-PEAP network
Date: Tue, 23 May 2023 06:17:05 -0700	[thread overview]
Message-ID: <36865aa6-6eb4-2ba3-7a7d-fa028accdd8f@gmail.com> (raw)
In-Reply-To: <43a3d110-4e6d-f50c-be66-3bf1d0499983@nairwolf.net>

Hi Florian,

On 5/23/23 5:50 AM, Florian Coste wrote:
> Hello,
> 
> I'm trying to setup a wireless connection to a EAP-PEAP network. My 
> company gave me this picture as the only documentation available, so I'm 
> trying to replicate this NetworkManager GUI setting that you can find 
> here: https://i.imgur.com/KB38bDr.png
> 
> Basically, it should be:
> * Authentication EAP-PEAP
> * No certificate
> * Inner authentication: MSCAPV2
> 
> The SSID of the network I'm trying to connect is called "Company 
> France", so I have a file located at "/var/lib/iwd/Company 
> France.8021x". There is a space in the SSID but I belive it should not 
> cause any issue as soon as the file name and the SSID is matching.
> 
> Here's the .8021x config file I'm using: 
> https://iwd.wiki.kernel.org/networkconfigurationsettings#eap-peap_with_tunneled_eap-mschapv2
> 
> In case I made a mistake by copying/pasting the config, I've pushing 
> what I'm using here: http://ix.io/4ww1
> 
> I'm launching iwd in debug mode and I see two issues I'm unable to 
> understand.
> 
> First, when I'm writing the file, I have the following error: "Error 
> loading /var/lib/iwd//Company France.8021x". Is there a typo somewhere, 
> the log doesn't explain why the file couldn't be loaded. Here's the full 
> log: http://ix.io/4wvU

If you're able to start a connection below the file must be ok now?

> 
> Second issue I have is when I'm trying to connect to this SSID. In the 
> config file, I don't have username and password set, so iwd ask me them 
> when I'm trying to connect.
> 
> Then I have this error: EAP negotiation stopped after the Identity 
> exchange, this can happen when the EAP-Identity value is not what the 
> authenticator expects

Did you try uncommenting/setting the EAP-Identity? In the past other 
users have noticed that some RADIUS servers require this to be set.

Thanks,
James

> 
> You can find complete logs here: http://ix.io/4wvX
> 
> Could you help me to understand what's going on ? My first intution is I 
> have a dubious typo in the 8021x file but I'm unable to find it.
> 
> Thanks for your help in advance.
> 
> 

      reply	other threads:[~2023-05-23 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23 12:50 Unable to connect to a EAP-PEAP network Florian Coste
2023-05-23 13:17 ` James Prestwood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36865aa6-6eb4-2ba3-7a7d-fa028accdd8f@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=florian.coste@nairwolf.net \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).