From: daniel antoine <univac55@gmail.com>
To: "iwd@lists.linux.dev" <iwd@lists.linux.dev>
Subject: iwctl interactive mode error
Date: Fri, 20 Oct 2023 15:37:46 +0200 [thread overview]
Message-ID: <CA+iibzCp0HZwBsoGM7i4k8v86JJWoDC7UDrEMsnqOoezKLcnyg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5517 bytes --]
Hi gents
After compiling iwd at the last commit I have tried to see the status
of the network with the iwctl command. When I launch the command i
have thisantoine@grat-os1:~$ iwctl
Waiting for IWD to start...Waiting for IWD to start...[iwd]# [iwd]#
[iwd]# NetworkConfigurationEnabled: disabled
[iwd]# [iwd]# StateDirectory: /var/lib/iwd
[iwd]# [iwd]# Version: 2.8
[iwd]#
The prompt [iwd]# is repeated several times and when I try to enter a
command I got this message
Waiting for IWD to start...Waiting for IWD to start...[iwd]# [iwd]#
[iwd]# NetworkConfigurationEnabled: disabled
[iwd]# [iwd]# StateDirectory: /var/lib/iwd
[iwd]# [iwd]# Version: 2.8
[iwd]# station list
bck:sta
if I force the command it's worse
Waiting for IWD to start...Waiting for IWD to start...[iwd]# [iwd]#
[iwd]# NetworkConfigurationEnabled: disabled
[iwd]# [iwd]# StateDirectory: /var/lib/iwd
[iwd]# [iwd]# Version: 2.8
[iwd]# station list
[iwd]# s[iwd]# s Devices in Station Mode
*
[iwd]# s[iwd]# s----------------------------------------------------------------------------------------------------
[iwd]# s[iwd]# s Name State Scanning
ing
[iwd]# s[iwd]# s------------------------------------------------------------------------------------------------
[iwd]# s[iwd]# s wlan0 connected
[iwd]# s[iwd]# s
[iwd]# s[iwd]# s[iwd]# s[iwd]# s stati[iwd]# stati
It looks like the tab is active all the time and tries to send
commands repeatedly . The screen is garbled and there is a click at
each tab
The result of a help command
[iwd]# helpd]# s[iwd]# s[iwd]# s stati[iwd]# stati
[iwd]# [iwd]#
[iwd]# [iwd]# iwctl version 2.8
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]# Usage
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]# iwctl [--options] [commands]
[iwd]# [iwd]#
[iwd]# [iwd]# Available options
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]# Options Description
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]# --username
Provide username
[iwd]# [iwd]# --password
Provide password
[iwd]# [iwd]# --passphrase
Provide passphrase
[iwd]# [iwd]# --dont-ask
Don't ask for missing
credentials
[iwd]# [iwd]# --help Display help
[iwd]# [iwd]#
[iwd]# [iwd]# Available commands
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]# Commands Description
[iwd]# [iwd]# --------------------------------------------------------------------------------
[iwd]# [iwd]#
Adapters:
[iwd]# [iwd]# adapter list
List adapters
[iwd]# [iwd]# adapter <phy> show
Show adapter info
[iwd]# [iwd]# adapter <phy> set-property <name> <value> Set property
[iwd]# [iwd]#
Ad-Hoc:
[iwd]# [iwd]# ad-hoc list
List devices in Ad-hoc mode
[iwd]# [iwd]# ad-hoc <wlan> start <"network name"> <passphrase>
Start or join an existing
[iwd]# [iwd]#
Ad-Hoc network called "network
[iwd]# [iwd]#
name" with a passphrase
[iwd]# [iwd]# ad-hoc <wlan> start_open <"network name">
Start or join an existing open
[iwd]# [iwd]#
Ad-Hoc network called "network
[iwd]# [iwd]# name"
[iwd]# [iwd]# ad-hoc <wlan> stop
Leave an Ad-Hoc network
[iwd]# [iwd]#
Access Point:
[iwd]# [iwd]# ap list
List devices in AP mode
[iwd]# [iwd]# ap <wlan> start <"network name"> <passphrase>
Start an access point called
[iwd]# [iwd]#
"network name" with a
[iwd]# [iwd]# passphrase
[iwd]# [iwd]# ap <wlan> start-profile <"network name">
Start an access point based on
[iwd]# [iwd]# a
disk profile
[iwd]# [iwd]# ap <wlan> stop
Stop a started access point
[iwd]# [iwd]# ap <wlan> show Show AP info
[iwd]# [iwd]# ap <wlan> scan
Start an AP scan
[iwd]# [iwd]# ap <wlan> get-networks
Get network list after
[iwd]# [iwd]# scanning
[iwd]# [iwd]#
Devices:.......
I am able to launch the command in non interactive mode without problem
antoine@grat-os1:~$ iwctl ap list
Devices in Access Point Mode
--------------------------------------------------------------------------------
Name Started
--------------------------------------------------------------------------------
No devices in access point mode available.
CY^E
antoine@grat-os1:~$ iwctl dpp list
DPP-capable Devices
--------------------------------------------------------------------------------
Name
--------------------------------------------------------------------------------
wlan0
^T^XA\^E
but there is strange characters at the end of the command display
There are no compilation errors. I send you my Pkgfile for iwd. I have
tried to test with version 2.7 and it's the same.
Libedit has been upgraded to version 20230828-3.1 I don't know if it
is related to.
Best regards
Daniel
[-- Attachment #2: Pkgfile --]
[-- Type: application/octet-stream, Size: 1046 bytes --]
makedepends=(dbus python-docutils readline)
description="Internet Wireless Daemon"
url="https://git.kernel.org/cgit/network/wireless/iwd.git/"
packager="Yaolinux Team"
maintainer="Dania"
name=iwd
version=2.8
#Last commit on iwd repo
_commit1=2c7bf2756e2b91911615db9fe08297601d493c98
#Last commit on ell repo
_commit2=eb139e23abf35ec8bf922fc640aa1292826225a3
prepare() {
git clone https://git.kernel.org/pub/scm/libs/ell/ell.git ell
cd ell
git checkout ${_commit2}
cd ..
git clone https://git.kernel.org/pub/scm/network/wireless/iwd.git iwd
cd iwd
git checkout ${_commit1}
autoreconf -fiv
}
build() {
cd iwd
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/iwd \
--enable-wired \
--enable-ofono \
--enable-hwsim \
--enable-libedit \
--disable-tools
make
make install DESTDIR=$PKG
install -dm700 $PKG/var/lib/ead/
install -dm700 $PKG/var/lib/iwd/
}
next reply other threads:[~2023-10-20 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 13:37 daniel antoine [this message]
2023-10-20 13:48 ` iwctl interactive mode error James Prestwood
[not found] ` <CA+iibzCmYAEOVo0EEiWKn9xWAQFMgSKFrJA8hffGEmLTxrsb-g@mail.gmail.com>
[not found] ` <89efa890-4809-44b6-9ad4-1077294e3fd8@gmail.com>
[not found] ` <CA+iibzAWVa+Tk995LwoTsVT8CTfQF=Ta6k6WYrrvX5DMLK5KZw@mail.gmail.com>
2023-11-03 17:07 ` daniel antoine
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=CA+iibzCp0HZwBsoGM7i4k8v86JJWoDC7UDrEMsnqOoezKLcnyg@mail.gmail.com \
--to=univac55@gmail.com \
--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 read-only IMAP folder(s) and NNTP newsgroup(s).