You are not logged in.
I have a wifi adapter connected to my pc by usb and it is not connecting to my wifi network I have installed network manager and enable it and started it by systemctl and I have also installed some additional packages:
sudo pacman -S wireless_tools wpa_supplicant ifplugd dialog
but still it is not connecting.
how to fix this problem?
Last edited by GauravGhosh (2022-06-29 08:03:21)
Offline
What is the wifi adapters entry from lsusb? Does it appear in the output of `ip a`? What commands did you perform to connect using the wireless adapter? What were the outputs of those commands?
Offline
I am using tb-link wifi adaptor and the modal is TL-WIN823N and I tried connecting to the network though iwd and it said operation failed.
commands:
$ iwctl
NetworkConfigurationEnabled: disabled
StateDirectory: /var/lib/iwd
Version: 1.28
[iwd]# station wlan0 connect wifi
Output:
Type the network passphrase for wifi psk.
Passphrase: **********
Operation failed
Offline
What is the output of
find /etc/systemd -name \*.service -type l -a -xtype f -printf %f\\n
Offline
$ find /etc/systemd -name \*.service -type l -a -xtype f -printf %f\\n
NetworkManager-wait-online.service
dbus-org.freedesktop.timesync1.service
display-manager.service
systemd-timesyncd.service
cups.service
iwd.service
NetworkManager.service
getty@tty1.service
cups.service
dbus-org.freedesktop.nm-dispatcher.service
xdg-user-dirs-update.service
Offline
Choose one from NetworkManager and iwd to manage the interface and stop the other one then try connecting again and see if the result is the same.
Offline
Both of them are not working. First I used network manager and then iwd but both of them did not work and I disable one of them to try another.
Offline
#5 shows both enabled at the same time.
Also please post the actual lsusb output - " tb-link wifi adaptor and the modal is TL-WIN823N" is probably a "TP-Link TL-WN823N" and even that is a meaningless brand - there're at least thre iterations of that model, all w/ different chips.
And post a full system journal,
sudo journalctl -b > /tmp/journal.txt # upload that file somewhere, somehow
Online
will change this link after fixing problem
edit:removed the repo link
Last edited by GauravGhosh (2022-06-29 08:10:09)
Offline
That is not how the internet works…
http://ix.io/ or use a github gist or pastebin.com
Online
is the file not visible to you in github
Offline
You originally posted a local file:// url, wisecrack.
Online
Jun 23 16:04:05 gaurav-desktop kernel: usb 2-3: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
Jun 23 16:04:05 gaurav-desktop kernel: usb 2-3: RTL8192EU MAC: d0:37:45:ab:c7:39
Jun 23 16:04:05 gaurav-desktop kernel: usb 2-3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
...
Jun 23 16:04:07 gaurav-desktop kernel: usbcore: registered new interface driver rtl8xxxu
...
Jun 23 16:04:09 gaurav-desktop systemd[1]: Starting Network Manager...
Jun 23 16:04:09 gaurav-desktop systemd[1]: Started Wireless service.
...
Jun 23 16:04:09 gaurav-desktop iwd[327]: station: Network configuration is disabled.
Jun 23 16:04:09 gaurav-desktop iwd[327]: Wiphy: 0, Name: phy0
Jun 23 16:04:09 gaurav-desktop iwd[327]: Permanent Address: d0:37:45:ab:c7:39
Jun 23 16:04:09 gaurav-desktop iwd[327]: 2.4Ghz Band:
Jun 23 16:04:09 gaurav-desktop iwd[327]: Bitrates (non-HT):
Jun 23 16:04:09 gaurav-desktop iwd[327]: 1.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 2.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 5.5 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 11.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 6.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 9.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 12.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 18.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 24.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 36.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 48.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: 54.0 Mbps
Jun 23 16:04:09 gaurav-desktop iwd[327]: HT Capabilities:
Jun 23 16:04:09 gaurav-desktop iwd[327]: HT20
Jun 23 16:04:09 gaurav-desktop iwd[327]: Short GI for 20Mhz
Jun 23 16:04:09 gaurav-desktop iwd[327]: Short GI for 40Mhz
Jun 23 16:04:09 gaurav-desktop iwd[327]: HT RX MCS indexes:
Jun 23 16:04:09 gaurav-desktop iwd[327]: 0-15
Jun 23 16:04:09 gaurav-desktop iwd[327]: 32
Jun 23 16:04:09 gaurav-desktop iwd[327]: Ciphers: CCMP TKIP
Jun 23 16:04:09 gaurav-desktop iwd[327]: Supported iftypes: station
Jun 23 16:04:10 gaurav-desktop NetworkManager[412]: <info> [1655980450.1030] NetworkManager (version 1.38.2-1) is starting... (for the first time)
Jun 23 16:04:10 gaurav-desktop NetworkManager[412]: <info> [1655980450.1032] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Jun 23 16:04:10 gaurav-desktop systemd[1]: Started Network Manager.
...
Jun 23 16:04:14 gaurav-desktop NetworkManager[412]: <info> [1655980454.1704] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Jun 23 16:04:14 gaurav-desktop NetworkManager[412]: <info> [1655980454.1711] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jun 23 16:04:14 gaurav-desktop polkitd[427]: Started polkitd version 0.120
Jun 23 16:04:14 gaurav-desktop NetworkManager[412]: <info> [1655980454.2724] device (wlan0): set-hw-addr: set MAC address to 86:32:CE:FC:6F:41 (scanning)
Jun 23 16:04:14 gaurav-desktop dbus-daemon[326]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.4' (uid=0 pid=412 comm="/usr/bin/NetworkManager --no-daemon")
Jun 23 16:04:14 gaurav-desktop iwd[327]: Could not register frame watch type 00d0: -114
Jun 23 16:04:14 gaurav-desktop systemd[1]: Starting WPA supplicant...
Jun 23 16:04:14 gaurav-desktop NetworkManager[412]: <info> [1655980454.4631] ovsdb: disconnected from ovsdb
Jun 23 16:04:15 gaurav-desktop dbus-daemon[326]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Jun 23 16:04:15 gaurav-desktop systemd[1]: Started WPA supplicant.
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: Successfully initialized wpa_supplicant
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: nl80211: kernel reports: Match already configured
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
Jun 23 16:04:15 gaurav-desktop NetworkManager[412]: <info> [1655980455.7213] device (wlan0): supplicant interface state: internal-starting -> disconnected
Jun 23 16:04:15 gaurav-desktop NetworkManager[412]: <info> [1655980455.7214] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 23 16:04:15 gaurav-desktop wpa_supplicant[433]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16
Offline
so now what I have to do?
Offline
I highlighted from the log the wireless NIC is a RTL8192EU rev B using the kernel module rtl8xxxu. There are two network services competing for control the of the interface NetworkManager and iwd. I am assuming NetworkManager starts wpa_supplicant otherwise it is three services competing with each other. This prevents any one service from completing a connection.
Offline
But even after removing iwd it is not connecting to the network idk why you can also check the new file on github.
Offline
Perhaps try the solution from https://bbs.archlinux.org/viewtopic.php?id=252446 the 8192eu-dkms driver.
Offline
And post an updated journal.
Online
I have updated it. It is in old repo
Offline
and one more thing to add I have dual boot with windows 10 can it cause problem and I don't have any other card or wifi connecting device connected to my pc.
Offline
Please don't bump, edit your post to mend it unless somebody has replied.
I have updated it. It is in old repo
What?
I have dual boot with windows 10 can it cause problem
3rd link below, mandatory. Don't "believe" it's status, check.
Online
From the last journal you posted
Jun 25 16:45:37 gaurav-desktop kernel: usb 2-3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
If you blacklist rtl8xxxu does the kernel then use the rtl8192eu module?
Offline
I think no because I even don't get the wifi list and it says there is no wifi adapter connected. I have updated the journal again if there is anything you need to see can go to the repo in github.
Offline
Ah, sorry - I missed that you updated "old" repo containing your journal.
Jun 27 22:34:00 gaurav-desktop kernel: wlp0s29f7u3: authentication with 5a:5e:ea:fc:b4:00 timed out
The auth request simply times out w/o repsonse from the AP.
1. disable windows fast start!
2. disable windows fast start!
3. disable windows fast start!
4. might be a MAC filter in the AP?
5. some APs don't like https://wiki.archlinux.org/title/Networ … domization - so disable that
6. disable windows fast start!
Online
it worked I disable the mac filter and it worked. I have a desktop and I never had any issue with win so do I need to do that and I never reboot in win too.
Offline