You are not logged in.

#1 2020-08-12 13:07:24

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

[SOLVED] wifi-menu scanning failed netctl cannot find hot spot

Hello everybody,

I am using netctl via wired connection to a router. The router's wifi is disabled.

I have a profile for the hot spot from the phone and everything was working when I was using the wifi from the router.

Now wifi-menu fails to find the hot spot from the phone

wifi-menu
Scanning for networks... failed
No networks found
ls /etc/netctl
examples/  hooks/  interfaces/  wired  wlo1-AndroidAP  wlo1-MTEL-0FFF
cat /etc/netctl/wlo1-AndroidAP
Description='Automatically generated profile by wifi-menu'
Interface=wlo1
Connection=wireless
Security=wpa
ESSID=AndroidAP
IP=dhcp
Key=\***
systemctl status netctl-auto@AndroidAp.service
● netctl-auto@AndroidAp.service - Automatic wireless network connection using netctl profiles
     Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
       Docs: man:netctl.special(7)
netctl start wlo1-AndroidAP
Job for netctl@wlo1\x2dAndroidAP.service failed because the control process exited with error code.
See "systemctl status "netctl@wlo1\\x2dAndroidAP.service"" and "journalctl -xe" for details.
journalctl -xe
░░ A start job for unit network.target has finished successfully.
░░ 
░░ The job identifier is 1365.
Aug 12 15:48:46 G0 systemd[1]: Created slice system-netctl.slice.
░░ Subject: A start job for unit system-netctl.slice has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit system-netctl.slice has finished successfully.
░░ 
░░ The job identifier is 1368.
Aug 12 15:48:46 G0 systemd[1]: Starting Networking for netctl profile wlo1-AndroidAP...
░░ Subject: A start job for unit netctl@wlo1\x2dAndroidAP.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit netctl@wlo1\x2dAndroidAP.service has begun execution.
░░ 
░░ The job identifier is 1367.
Aug 12 15:48:47 G0 network[1320]: Starting network profile 'wlo1-AndroidAP'...
Aug 12 15:48:52 G0 network[1320]: Failed to bring the network up for profile 'wlo1-AndroidAP'
Aug 12 15:48:52 G0 systemd[1]: netctl@wlo1\x2dAndroidAP.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit netctl@wlo1\x2dAndroidAP.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 12 15:48:52 G0 systemd[1]: netctl@wlo1\x2dAndroidAP.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit netctl@wlo1\x2dAndroidAP.service has entered the 'failed' state with result 'exit-code'.
Aug 12 15:48:52 G0 systemd[1]: Failed to start Networking for netctl profile wlo1-AndroidAP.
░░ Subject: A start job for unit netctl@wlo1\x2dAndroidAP.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit netctl@wlo1\x2dAndroidAP.service has finished with a failure.
░░ 
░░ The job identifier is 1367 and the job result is failed.
Aug 12 15:48:52 G0 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlo1\x2dAndroidAP comm="systemd" exe="/usr/lib/systemd/systemd" hostnam>
Aug 12 15:48:52 G0 kernel: audit: type=1130 audit(1597236532.599:53): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlo1\x2dAndroidAP comm="systemd" exe="/usr/l>

and here is the wired output

systemctl status netctl-ifplugd@enp4s0.service
● netctl-ifplugd@enp4s0.service - Automatic wired network connection using netctl profiles
     Loaded: loaded (/usr/lib/systemd/system/netctl-ifplugd@.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-08-12 15:43:29 EEST; 54s ago
       Docs: man:netctl.special(7)
   Main PID: 564 (ifplugd)
     Status: "online"
      Tasks: 7 (limit: 4521)
     Memory: 4.7M
     CGroup: /system.slice/system-netctl\x2difplugd.slice/netctl-ifplugd@enp4s0.service
             ├─564 /usr/bin/ifplugd -i enp4s0 -r /etc/ifplugd/netctl.action -bfIns
             ├─586 dhcpcd: enp4s0 [ip4]
             ├─587 dhcpcd: [privileged actioneer] enp4s0 [ip4]
             ├─588 dhcpcd: [control proxy] enp4s0 [ip4]
             ├─592 dhcpcd: [BPF ARP] enp4s0 192.168.8.100
             └─720 dhcpcd: [network proxy] 192.168.8.100

Aug 12 15:43:35 G0 dhcpcd[586]: enp4s0: rebinding lease of 192.168.8.100
Aug 12 15:43:40 G0 dhcpcd[586]: enp4s0: DHCP lease expired
Aug 12 15:43:40 G0 ifplugd[564]: client: enp4s0: DHCP lease expired
Aug 12 15:43:40 G0 dhcpcd[586]: enp4s0: soliciting a DHCP lease
Aug 12 15:43:44 G0 dhcpcd[586]: enp4s0: offered 192.168.8.100 from 192.168.8.1
Aug 12 15:43:44 G0 dhcpcd[586]: enp4s0: probing address 192.168.8.100/24
Aug 12 15:43:49 G0 dhcpcd[586]: enp4s0: leased 192.168.8.100 for 86400 seconds
Aug 12 15:43:49 G0 dhcpcd[586]: enp4s0: adding route to 192.168.8.0/24
Aug 12 15:43:49 G0 dhcpcd[586]: enp4s0: adding default route via 192.168.8.1
Aug 12 15:43:49 G0 ifplugd[564]: client: Started network profile 'wired'

I am lost.

Any help is highly appreciated.

Thank you in advance!

Last edited by amaro (2020-08-12 16:37:24)

Offline

#2 2020-08-12 14:36:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: [SOLVED] wifi-menu scanning failed netctl cannot find hot spot

Try a manual connection and see where it fails.
https://wiki.archlinux.org/index.php/Ne … ireless#iw

everything was working when I was using the wifi from the router

5GHz ./. 2.4 GHz and limited support in the client?

Online

#3 2020-08-12 16:35:56

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] wifi-menu scanning failed netctl cannot find hot spot

@seth

Thank you, seth!

Offline

#4 2020-08-12 19:18:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: [SOLVED] wifi-menu scanning failed netctl cannot find hot spot

Please briefly explain how this is solved, https://wiki.archlinux.org/index.php/Co … way_street

Online

#5 2020-08-12 23:13:21

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] wifi-menu scanning failed netctl cannot find hot spot

sorry about that

after running

iw dev

I saw that wifi was blocked

I blocked it to save battery

so

rfkill unblock wifi

and everything is working fine

actually your suggestion helped me figure it out

thanks again, seth!

Offline

Board footer

Powered by FluxBB