From: James Prestwood <prestwoj@gmail.com>
To: Kentaro Yamaguchi <kentaro.y@gmail.com>, iwd@lists.linux.dev
Subject: Re: How to connect specifying the BSSID?
Date: Mon, 4 Mar 2024 04:23:28 -0800 [thread overview]
Message-ID: <1aebf48a-0ed4-4605-a03b-5f6e0706ed71@gmail.com> (raw)
In-Reply-To: <CAKbf6axbkp5E1M8Pvm1SbPOQFtzxX8Cdwj9YjbYNy0aekHDHzw@mail.gmail.com>
Hi Kentaro,
On 3/3/24 8:31 PM, Kentaro Yamaguchi wrote:
> Dear iwd users and developers,
>
> With mesh, I would like to check whether it is faster to connect
> directly to the child device or the parent device.
> Therefore, please tell me how to connect using iwd from the client and
> specifying the BSSID.
>
> According to the comment made 5 years ago at the link below, there is
> no way to connect by specifying the BSSID.
> This has been answered, but is the situation still the same?
> https://bbs.archlinux.org/viewtopic.php?id=237074&p=5
Yes IWD connections are SSID based and IWD chooses the best BSS based on
how it ranks.
For testing IWD does have a "developer mode" which lets you connect to
BSSID's specifically but this mode isn't something meant for
general/production use. But if you only want to test one vs the other
you could use it:
# Start IWD in developer mode (-E)
iwd -E
# Scan first (developer mode doesn't autoconnect)
iwctl station wlan0 scan
iwctl debug wlan0 get-networks
iwctl wlan0 connect <bssid>
Thanks,
James
>
> I tried the following, but I was unable to connect due to an error.
> I know that using wpa_supplicant as the Network Manager backend will
> work. However, in that case I would like to use IWD because I have
> problems with 6GHz connectivity.
>
> 1. Specify iwd as wifi.backend of NetworkManager and restart.
> 2. nmcli device wifi connect [SSID] password [Password]
> 3. nmcli connection down [SSID]
> 4. nmcil connection modify [SSID] wifi.bssid [BSSID]
> 5. nmcli connection up [SSID]
>
> Error (from journal log)
> -------------------------------------
> Mar 01 16:38:48 livazplusNetworkManager[1408]: <info>
> [1709278728.5365] device (wlp4s0): Activation: starting connection
> 'Buf-MLO' (019cd427-8f11-4c84-9625-db03895b510b)
> Mar 01 16:38:48 livazplus NetworkManager[1408]: <info>
> [1709278728.5367] device (wlp4s0): state change: disconnected ->
> prepare (reason 'none', sys-iface-state: 'managed')
> Mar 01 16:38:48 livazplus NetworkManager[1408]: <info>
> [1709278728.5370] device (wlp4s0): state change: prepare -> failed
> (reason 'none', sys-iface-state: 'managed')
> Mar 01 16:38:48 livazplus NetworkManager[1408]: <warn>
> [1709278728.5374] device (wlp4s0): Activation: failed for connection
> 'Buf-MLO'
>
> My environment is below.
> --------------------------------------
> Lubuntu 23.10
> Kernel 6.7.6
> IWD 2.8
> NetworkManager 1.44.2
> Intel BE200
> [ 5.297551] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ
> Version: 0.0.4.125
> [ 5.302086] iwlwifi 0000:01:00.0: loaded firmware version
> 86.fb5c9aeb.0 gl-c0-fm-c0-86.ucode op_mode iwlmvm
> [ 5.764947] iwlwifi 0000:01:00.0: loaded PNVM version 8443a58d
> --------------------------------------
>
> Thanks in advance!
> Kentaro Yamaguchi
>
next prev parent reply other threads:[~2024-03-04 12:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 4:31 How to connect specifying the BSSID? Kentaro Yamaguchi
2024-03-04 12:23 ` James Prestwood [this message]
2024-03-05 10:20 ` Kentaro Yamaguchi
2024-03-05 12:11 ` James Prestwood
2024-03-06 5:26 ` Kentaro Yamaguchi
[not found] ` <CAKbf6aw-YXxxtPFKrQW-42jrzUW5dBMdW-RjQqf4tAr-fkdaFA@mail.gmail.com>
2024-03-06 12:14 ` James Prestwood
2024-03-07 4:10 ` Kentaro Yamaguchi
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=1aebf48a-0ed4-4605-a03b-5f6e0706ed71@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
--cc=kentaro.y@gmail.com \
/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