I have been using create_ap to create wifi hotspot to connect from my mobile phone, everything was running smoothly with no errors.
(Here is how I create the netwrok sudo create_ap wlp3s0 wlp3s0 ubuntu-hotspot ubuntu-12345
)
Recently, I restarted my machine for some reason, and after that ubuntu is automatically creating ubuntu-hotspot
and connecting to it, (I can confirm that the network is running from my mobile phone, it detected the network but it cannot connect to it), and when I hit disconnect the network is gone (I can also confirm from my mobile phone).
The problem is:
1- the above mentioned + create_ap
is no longer working ( when I attempt to start a network it displays this error ERROR: Your adapter can not transmit to channel 56, frequency band 5GHz.
)
2- More importantly, No other wifi networks are detected at all.
I can connect to my home network using connect to hidden Wi-Fi networks
but other wifi networks are not detected
I have tried the proposed solutions in this and this thread and nothing worked.
And here is the output of sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 10
serial: 70:4d:7b:98:f3:50
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:16 ioport:d000(size=256) memory:ef204000-ef204fff memory:ef200000-ef203fff
*-network
description: Wireless interface
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 3a
serial: f4:8c:50:3c:52:c1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-43-generic firmware=34.0.1 ip=10.57.104.77 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:130 memory:ef100000-ef101fff