Wireless Daemon for Linux
 help / color / mirror / Atom feed
* Setup help request
@ 2024-01-01 19:26 Mauro Condarelli
  2024-01-01 23:03 ` James Prestwood
  0 siblings, 1 reply; 14+ messages in thread
From: Mauro Condarelli @ 2024-01-01 19:26 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 2879 bytes --]

Hi,
I just installed `IWD version 2.3` on a small MiniPC (Beelink, if it matters) sporting a
`Intel Corporation Wireless 3165 (rev 81)` PCI Wireless adapter.
O.S. is a fairly up-to-date "Debian GNU/Linux 12 (bookworm)"
Installation was done via standard Debian package (`apt install iwd`)
I am trying to use it as Access Point (infrastructure).
I have in my config:
---------------------------------
root@lxd:~# cat /etc/iwd/main.conf
[General]
EnableNetworkConfiguration=true
#AddressRandomization=network
#RoamThreshold=-70
#RoamThreshold5G=-76
[Network]
#NameResolvingService=resolvconf
#
#EnableIPv6=true
---------------------------------
root@lxd:~# cat /var/lib/iwd/ap/beelink.ap
[Security]
Passphrase=****************

[IPv4]
Address=192.168.250.1
Gateway=192.168.250.1
Netmask=255.255.255.0
DNSList=8.8.8.8
LeaseTime=3600
IPRange=192.168.250.200,192.168.250.209
root@lxd:~#
---------------------------------

I am testing manually so I did:

---------------------------------
root@lxd:/etc/systemd/network# /usr/libexec/iwd -d >/tmp/iwd.log 2>&1 &
[1] 112842
root@lxd:/etc/systemd/network# iwctl
NetworkConfigurationEnabled: enabled
StateDirectory: /var/lib/iwd
Version: 2.3
[iwd]# device list
Devices                                   *
--------------------------------------------------------------------------------
   Name                  Address               Powered Adapter     Mode
--------------------------------------------------------------------------------
   wlan0                 84:c5:a6:4c:ff:31     on phy0        ap

[iwd]# device wlan0 set-property Mode ap
[iwd]# ap wlan0 start-profile beelink
[iwd]# ap wlan0 show
                              Access Point Interface
--------------------------------------------------------------------------------
   Settable  Property              Value
--------------------------------------------------------------------------------
             Started               yes
             Name                  beelink
             Scanning              no
             Frequency             2437
             PairwiseCiphers
             GroupCipher           CCMP-128
[iwd]#

[iwd]#

root@lxd:/etc/systemd/network#
---------------------------------

Sometimes I can see a "beelink" SSID with Fritz sniffer app
or even from my desktop, but I was never able to connect.

I attach logs I am unable to interpret.

Any hint about what to check/change would be very welcome as
I'm completely out of my depth here.

Target would be to have (if at all possible, of course) a dual band (2.4G/5G)
bridged Access Point.

Many Thanks in Advance.
Mauro

[-- Attachment #2: iwd.log --]
[-- Type: text/x-log, Size: 11972 bytes --]

Wireless daemon version 2.3
src/main.c:main() Using configuration directory /etc/iwd
Loaded configuration from /etc/iwd/main.conf
src/storage.c:storage_create_dirs() Using state directory /var/lib/iwd
src/main.c:nl80211_appeared() Found nl80211 interface
src/module.c:iwd_modules_init() 
src/wsc.c:wsc_init() 
src/eap.c:__eap_method_enable() 
src/eap-wsc.c:eap_wsc_init() 
src/eap-md5.c:eap_md5_init() 
src/eap-tls.c:eap_tls_init() 
src/eap-ttls.c:eap_ttls_init() 
src/eap-mschapv2.c:eap_mschapv2_init() 
src/eap-sim.c:eap_sim_init() 
src/eap-aka.c:eap_aka_prime_init() 
src/eap-aka.c:eap_aka_init() 
src/eap-peap.c:eap_peap_init() 
src/eap-gtc.c:eap_gtc_init() 
src/eap-pwd.c:eap_pwd_init() 
src/manager.c:manager_wiphy_dump_callback() New wiphy phy0 added (0)
src/manager.c:manager_wiphy_dump_done() 
src/manager.c:manager_filtered_wiphy_dump_done() 
Wiphy: 0, Name: phy0
	Permanent Address: 84:c5:a6:4c:ff:31
	2.4Ghz Band:
		Bitrates (non-HT):
			 1.0 Mbps
			 2.0 Mbps
			 5.5 Mbps
			11.0 Mbps
			 6.0 Mbps
			 9.0 Mbps
			12.0 Mbps
			18.0 Mbps
			24.0 Mbps
			36.0 Mbps
			48.0 Mbps
			54.0 Mbps
		HT Capabilities:
			HT40
			Short GI for 20Mhz
			Short GI for 40Mhz
		HT RX MCS indexes:
			0-7
		HT TX MCS differ, max NSS: 2
	5Ghz Band:
		Bitrates (non-HT):
			 6.0 Mbps
			 9.0 Mbps
			12.0 Mbps
			18.0 Mbps
			24.0 Mbps
			36.0 Mbps
			48.0 Mbps
			54.0 Mbps
		HT Capabilities:
			HT40
			Short GI for 20Mhz
			Short GI for 40Mhz
		HT RX MCS indexes:
			0-7
		HT TX MCS differ, max NSS: 2
		VHT Capabilities:
			Short GI for 80Mhz
			Max RX MCS: 0-9 for NSS: 1
			Max TX MCS: 0-9 for NSS: 1
	Ciphers: BIP-CMAC-128 CCMP-128 TKIP
	Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
src/manager.c:manager_interface_dump_done() 
src/manager.c:manager_create_interfaces() creating wlan0
src/manager.c:manager_create_interfaces() creating wlan0-p2p
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for phy0 is 00
src/manager.c:manager_config_notify() Notification of command New Interface(7)
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/manager.c:manager_new_station_interface_cb() 
src/netdev.c:netdev_create_from_genl() Created interface wlan0[23 e]
src/manager.c:manager_config_notify() Notification of command New Interface(7)
src/manager.c:manager_new_p2p_interface_cb() 
src/p2p.c:p2p_device_update_from_genl() Created P2P device f
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/wiphy.c:wiphy_reg_notify() Notification of command Wiphy Reg Change(113)
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for phy0 is XX
src/netdev.c:netdev_set_4addr() netdev: 23 use_4addr: 0
src/netdev.c:netdev_initial_up_cb() Interface 23 initialized
src/netconfig.c:netconfig_new() Creating netconfig for interface: 23
src/station.c:station_enter_state() Old State: disconnected, new state: autoconnect_quick
src/station.c:station_quick_scan_trigger() regdom is updating, delaying quick scan
src/rrm.c:rrm_add_frame_watches() 
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/station.c:station_enter_state() Old State: autoconnect_quick, new state: autoconnect_full
src/scan.c:scan_periodic_start() Starting periodic scan for wdev e
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 1
src/wiphy.c:wiphy_radio_work_next() Starting work item 1
src/manager.c:manager_config_notify() Notification of command Set Interface(6)
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev e
src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev e
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/wiphy.c:wiphy_reg_notify() Notification of command Wiphy Reg Change(113)
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for phy0 is IT
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:scan_parse_bss_information_elements() Load: 8/255
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_done() get_scan_done
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 10
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a6' with SSID: , freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() BSS has hidden SSID
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a4' with SSID: TIM-12904656, freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() Added new Network "TIM-12904656" security psk
src/station.c:station_add_seen_bss() Processing BSS '92:fd:73:bc:fc:a5' with SSID: TIM-12904656, freq: 2417, rank: 591, strength: -1700, data_rate: 72.2
src/station.c:station_autoconnect_start() 
src/station.c:station_autoconnect_next() autoconnect: Trying SSID: TIM-12904656
src/station.c:station_autoconnect_next() autoconnect: '8e:fd:73:bc:fc:a4' freq: 5260, rank: 2955, strength: -3500
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
src/wiphy.c:wiphy_radio_work_done() Work item 1 done
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:scan_parse_bss_information_elements() Load: 8/255
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_done() get_scan_done
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 10
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a6' with SSID: , freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() BSS has hidden SSID
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a4' with SSID: TIM-12904656, freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() Processing BSS '92:fd:73:bc:fc:a5' with SSID: TIM-12904656, freq: 2417, rank: 591, strength: -1700, data_rate: 72.2
src/station.c:station_autoconnect_start() 
src/station.c:station_autoconnect_next() autoconnect: Trying SSID: TIM-12904656
src/station.c:station_autoconnect_next() autoconnect: '8e:fd:73:bc:fc:a4' freq: 5260, rank: 2955, strength: -3500
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
src/scan.c:scan_periodic_timeout() e
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 2
src/wiphy.c:wiphy_radio_work_next() Starting work item 2
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev e
src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev e
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:scan_parse_bss_information_elements() Load: 7/255
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_done() get_scan_done
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 20
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a6' with SSID: , freq: 5260, rank: 2955, strength: -3200, data_rate: 433.3
src/station.c:station_add_seen_bss() BSS has hidden SSID
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a4' with SSID: TIM-12904656, freq: 5260, rank: 2955, strength: -3200, data_rate: 433.3
src/station.c:station_add_seen_bss() Processing BSS '92:fd:73:bc:fc:a5' with SSID: TIM-12904656, freq: 2417, rank: 591, strength: -2400, data_rate: 72.2
src/station.c:station_autoconnect_start() 
src/station.c:station_autoconnect_next() autoconnect: Trying SSID: TIM-12904656
src/station.c:station_autoconnect_next() autoconnect: '8e:fd:73:bc:fc:a4' freq: 5260, rank: 2955, strength: -3200
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
src/wiphy.c:wiphy_radio_work_done() Work item 2 done
src/agent.c:agent_register() agent register called
src/agent.c:agent_register() agent :1.47 path /agent/112875
src/scan.c:scan_periodic_timeout() e
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 3
src/wiphy.c:wiphy_radio_work_next() Starting work item 3
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev e
src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev e
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:scan_parse_bss_information_elements() Load: 8/255
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_done() get_scan_done
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 40
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a6' with SSID: , freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() BSS has hidden SSID
src/station.c:station_add_seen_bss() Processing BSS '8e:fd:73:bc:fc:a4' with SSID: TIM-12904656, freq: 5260, rank: 2955, strength: -3500, data_rate: 433.3
src/station.c:station_add_seen_bss() Processing BSS '92:fd:73:bc:fc:a5' with SSID: TIM-12904656, freq: 2417, rank: 591, strength: -1700, data_rate: 72.2
src/station.c:station_autoconnect_start() 
src/station.c:station_autoconnect_next() autoconnect: Trying SSID: TIM-12904656
src/station.c:station_autoconnect_next() autoconnect: '8e:fd:73:bc:fc:a4' freq: 5260, rank: 2955, strength: -3500
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
src/wiphy.c:wiphy_radio_work_done() Work item 3 done
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/station.c:station_free() 
src/netconfig.c:netconfig_destroy() 
src/scan.c:scan_periodic_stop() Stopping periodic scan for wdev e
src/station.c:station_roam_state_clear() 23
src/netdev.c:netdev_set_interface_event() Interface type changed from station to ap
src/manager.c:manager_config_notify() Notification of command Set Interface(6)
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/wiphy.c:wiphy_reg_notify() Notification of command Wiphy Reg Change(113)
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for phy0 is XX
src/ap.c:ap_validate_band_channel() AP using frequency 2437 and channel width 40MHz
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
Frame didn't validate as MMPDU
src/netdev.c:netdev_unicast_notify() Unicast notification Frame(59)
Frame didn't validate as MMPDU
src/agent.c:agent_disconnect() agent :1.47 disconnected
src/agent.c:agent_free() agent free 0x5573bef1e6d0
Terminate
src/netdev.c:netdev_free() Freeing netdev wlan0[23]
src/device.c:device_free() 
Removing scan context for wdev e
src/scan.c:scan_context_free() sc: 0x5573bef16be0
src/netdev.c:netdev_link_notify() event 16 on ifindex 23
src/netdev.c:netdev_mlme_notify() MLME notification Stop AP(16)
src/module.c:iwd_modules_exit() 
src/eap.c:__eap_method_disable() 
src/eap-wsc.c:eap_wsc_exit() 
src/eap-md5.c:eap_md5_exit() 
src/eap-tls.c:eap_tls_exit() 
src/eap-ttls.c:eap_ttls_exit() 
src/eap-mschapv2.c:eap_mschapv2_exit() 
src/eap-sim.c:eap_sim_exit() 
src/eap-aka.c:eap_aka_prime_exit() 
src/eap-aka.c:eap_aka_exit() 
src/eap-peap.c:eap_peap_exit() 
src/eap-gtc.c:eap_gtc_exit() 
src/eap-pwd.c:eap_pwd_exit() 
src/dpp.c:dpp_exit() 
src/offchannel.c:offchannel_exit() 
Removing scan context for wdev f
src/scan.c:scan_context_free() sc: 0x5573bef15290
src/wsc.c:wsc_exit() 
src/wiphy.c:wiphy_free() Freeing wiphy phy0[0]
D-Bus disconnected, quitting...

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-01-02 20:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-01 19:26 Setup help request Mauro Condarelli
2024-01-01 23:03 ` James Prestwood
2024-01-02  0:34   ` Mauro Condarelli
2024-01-02 13:01     ` James Prestwood
2024-01-02 14:07       ` Mauro Condarelli
2024-01-02 14:40         ` James Prestwood
2024-01-02 17:10           ` Denis Kenzior
2024-01-02 15:11         ` Mauro Condarelli
2024-01-02 15:36           ` James Prestwood
2024-01-02 17:09             ` Mauro Condarelli
2024-01-02 17:30               ` James Prestwood
2024-01-02 17:45                 ` Mauro Condarelli
2024-01-02 19:52                   ` James Prestwood
2024-01-02 20:30                     ` Mauro Condarelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox