From: Denis Kenzior <denkenz at gmail.com>
To: iwd at lists.01.org
Subject: Re: iwd configure location and files
Date: Tue, 14 Dec 2021 14:42:19 -0600 [thread overview]
Message-ID: <b4e82a5c-5ab2-7f32-e54e-a5cb04877766@gmail.com> (raw)
In-Reply-To: CAA=hcWTGQ4+9Vm+Srog0KtQ85R2-o61WT0uPjw+GwB=G9mrXMg@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]
Hi Jupiter,
On 12/12/21 10:39 PM, Jupiter wrote:
> Thanks all for your advice.
>
> Further debugging it, it seems failing DHCP was caused by an error of
> Deauthentication even, not clear if the iwd error caused mwifiex
> disconnected from WiFi modem or the mwifiex cause iwd fall:
You probably need to share full logs. From what I remember from your previous
logs, iwd was connecting successfully to the AP but DHCP client was not able to
start. I think you need to determine why that happens. I suspect an strace or
additional logging will be required on your system. Perhaps permissions are not
setup correctly?
<snip>
> Aug 04 15:26:03 solar iwd[345]: Received Deauthentication event,
> reason: 2, from_ap: true
That just means the AP has deauthenticated us. This may be because we're not
able to 4-Way handshake properly, or because we aren't requesting a DHCP
address, or any other reason.
> I followed the document to enable all CRYPTO setup so I don't think it
> is a CRYPTO configured issue in the kernel.
>
iwd would refuse to start if these options are not present. So this is most
likely not the culprit.
> Also searching the Internet to find someone added
> ControlPortOverNL80211=False to resolve that issue on kernel 5.9.2,
> but it did not work on my kernel 5.10.59:
>
> # cat /etc/iwd/main.conf
> [General]
> EnableNetworkConfiguration=True
> ControlPortOverNL80211=False
If EnableNetworkConfiguration is set to False, does iwctl show you as
successfully connected?
>
> The other issue is the error from_ap, but I am connecting to a home
> WiFi modem, it should use a station, not ap, right? Or doesn't matter?
No, this is fine. The message just states that AP was the initiator of the
disconnect and not the local (iwd) device.
Regards,
-Denis
next reply other threads:[~2021-12-14 20:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 20:42 Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-13 4:39 iwd configure location and files Jupiter
2021-12-02 15:47 Daniel Wagner
2021-12-01 9:24 Jupiter
2021-11-30 23:53 Denis Kenzior
2021-11-30 23:25 Jupiter
2021-11-30 22:51 Jupiter
2021-11-30 22:46 James Prestwood
2021-11-30 22:42 Denis Kenzior
2021-11-30 22:38 Jupiter
2021-11-30 22:36 KeithG
2021-11-30 22:01 Denis Kenzior
2021-11-30 21:40 James Prestwood
2021-11-30 21:29 Jupiter
2021-11-30 20:52 James Prestwood
2021-11-30 20:45 Jupiter
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=b4e82a5c-5ab2-7f32-e54e-a5cb04877766@gmail.com \
--to=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