Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem connecting to wifi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Tue Apr 06, 2021 7:59 am    Post subject: problem connecting to wifi Reply with quote

I have 2 gentoo laptops, I have created a wireless network using hostapd on the first.
I try to connect to that network on the second but I get:
Code:
samsung ~ # nmcli d wifi connect home password '*****'
Error: No network with SSID 'home' found.
samsung ~ # nmcli d wifi rescan
samsung ~ # nmcli d wifi list
IN-USE  BSSID              SSID      MODE   CHAN  RATE        SIGNAL  BARS  SECURIT>
        80:5E:4F:E9:3B:9F  home      Infra  10    54 Mbit/s   45      **    WPA2   >
        D8:29:18:CA:83:D4  WECA83CC  Infra  6     270 Mbit/s  44      **    WPA1 WP>
        94:A7:B7:20:8E:A0  Engineer  Infra  11    130 Mbit/s  44      **    WPA1 WP>
samsung ~ # nmcli d wifi connect home password '*****'
Error: Connection activation failed: (53) The Wi-Fi network could not be found.
samsung ~ #


I tested connecting to the first laptop's network using an android phone and it worked.
I do not know where to begin to look, any ideas?

journalctl:
Code:

Apr 06 12:00:18 samsung wpa_supplicant[304]: wlp2s0: SME: Trying to authenticate with 80:5e:4f:e9:3b:9f (SSID='home' freq=2457 MHz)
Apr 06 12:00:18 samsung kernel: wlp2s0: authenticate with 80:5e:4f:e9:3b:9f
Apr 06 12:00:18 samsung kernel: wlp2s0: send auth to 80:5e:4f:e9:3b:9f (try 1/3)
Apr 06 12:00:18 samsung NetworkManager[1102]: <info>  [1617703218.2185] device (wlp2s0): supplicant interface state: scanning -> authenticating
Apr 06 12:00:19 samsung kernel: wlp2s0: send auth to 80:5e:4f:e9:3b:9f (try 2/3)
Apr 06 12:00:20 samsung kernel: wlp2s0: send auth to 80:5e:4f:e9:3b:9f (try 3/3)
Apr 06 12:00:21 samsung kernel: wlp2s0: authentication with 80:5e:4f:e9:3b:9f timed out
Apr 06 12:00:21 samsung wpa_supplicant[304]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="home" auth_failures=1 duration=10 reason=CONN_FAILED
Apr 06 12:00:21 samsung NetworkManager[1102]: <info>  [1617703221.7420] device (wlp2s0): supplicant interface state: authenticating -> disconnected
Apr 06 12:00:31 samsung NetworkManager[1102]: <warn>  [1617703231.7036] device (wlp2s0): Activation: (wifi) association took too long, failing activation
Apr 06 12:00:31 samsung NetworkManager[1102]: <info>  [1617703231.7038] device (wlp2s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Tue Apr 06, 2021 12:00 pm    Post subject: Reply with quote

Can you connect to ANY wifi using nmcli?

Some wifi .config from my kernel
Code:

CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_IPWIRELESS=m
CONFIG_USB_SERIAL_SIERRAWIRELESS=m
CONFIG_ACER_WIRELESS=m
CONFIG_ASUS_WIRELESS=m
CONFIG_HP_WIRELESS=m


CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEBUGFS=y
CONFIG_IWLWIFI_DEVICE_TRACING=y
CONFIG_MWIFIEX=m
CONFIG_MWIFIEX_SDIO=m
CONFIG_MWIFIEX_PCIE=m
CONFIG_MWIFIEX_USB=m
CONFIG_RTLWIFI=m
CONFIG_RTLWIFI_PCI=m
CONFIG_RTLWIFI_USB=m
CONFIG_RTLWIFI_DEBUG=y
CONFIG_VIRT_WIFI=m

CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_ADMTEK=y
CONFIG_WLAN_VENDOR_ATH=y
CONFIG_WLAN_VENDOR_ATMEL=y
CONFIG_WLAN_VENDOR_BROADCOM=y
CONFIG_WLAN_VENDOR_CISCO=y
CONFIG_WLAN_VENDOR_INTEL=y
CONFIG_WLAN_VENDOR_INTERSIL=y
CONFIG_WLAN_VENDOR_MARVELL=y
CONFIG_WLAN_VENDOR_MEDIATEK=y
CONFIG_WLAN_VENDOR_MICROCHIP=y
CONFIG_WLAN_VENDOR_RALINK=y
CONFIG_WLAN_VENDOR_REALTEK=y
CONFIG_WLAN_VENDOR_RSI=y
CONFIG_WLAN_VENDOR_ST=y
CONFIG_CW1200_WLAN_SDIO=m
CONFIG_CW1200_WLAN_SPI=m
CONFIG_WLAN_VENDOR_TI=y
CONFIG_WLAN_VENDOR_ZYDAS=y
CONFIG_WLAN_VENDOR_QUANTENNA=y
CONFIG_USB_NET_RNDIS_WLAN=m



Maybe this one
CONFIG_WIRELESS_EXT=y
_________________
:)
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Wed Apr 07, 2021 4:18 am    Post subject: Reply with quote

yes i was able to connect to another wifi network from my home router
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum