Wi-fi SSID only shows up if router is on during boot

I’m using my mobile phone as a wi-fi router.
If the router is on during Endeavour’s boot, I can see the SSID on the network manager and connect to it.
But if I turn the phone is off during boot, the SSID won’t show up. If I reboot, keeping the router on, I can see the SSID.
Other networks available during boot show up normally.

Any ideas?

https://clbin.com/ddbKE

Check the phone hotspot settings, e.g. “turn off when last device disconnects”.

That setting is not on.

OK, so you should check the other settings too. It’s going to be difficult to remotely diagnose an issue with your phone, especially with such little information to go on.

Note that because

the issue is isolated to the phone.

This is the first time mpsantos has posted.

1st of all welcome to EOS forum :enos_flag:

If the router is on during Endeavour’s boot, I can see the SSID on the network manager and connect to it.
But if I turn the phone is off during boot, the SSID won’t show up. If I reboot, keeping the router on, I can see the SSID

I faced exactly same issue the 1st time I switched to Linux (Linux Mint) quoting "If I Disable & Re-enable wifi OR remove & re-connect wifi dongle OR when I try to connect to a different device then it says “connecting” for a while then notification popup that “connection failed”

Check if it helps: [SOLVED] WiFi Driver issue fix

As yours is driver: Realtek “rtl8821cu”, follow https://easylinuxtipsproject.blogspot.com/p/realtek.html#ID6

Note that OP is running in a VM, so the driver isn’t being used directly.

This looks kind of spammy, given the commands are for Debian/Ubuntu…

Note that OP is running in a VM, so the driver isn’t being used directly.

Oh noticed it now​:man_facepalming:t6:

This looks kind of spammy, given the commands are for Debian/Ubuntu.

Sorry but nothing related to Debian/Ubuntu. (mentioned to replace “apt-get install” with “pacman -S” on my forum thread).

The commands given are literally apt-get, which is not applicable to EndeavourOS. This makes me wonder why you posted a link to it.

If i understand your post?

Device-3: Realtek 802.11ac NIC type: USB driver: rtl8821cu

You need the rtl8821cu-git package installed

yay -S rtl8821-cu-git

Not necessarily. I can’t turn on and off others networks available to test. Since they are on when I’m booting Endeavour, they show up.

I had better luck with this rtl8821cu-morrownr-dkms-git

Yes there is a dkms version also in the AUR.

Edit:

Screenshot_20220914_121635

It’s being used directly. I have “attached” the USB wi-fi dongle on Virtualbox, so it’s not even showing the usb device on the host system.

In which case that data point about other networks remaining visible is pretty useless. Do you have one that you can test with?

Again, this is important information to include. We can’t guess this stuff.

Just tested with another router, same behavior. If the router is on during boot, I can see it as available. If it’s off and I turn it on after Endeavour is running, I can’t see the SSID at all.

1 Like

Strange, now all wi-fi networks disappeared, even those that were on during boot…

Why does one turn off the router? Normally is running always. If you turn off the router it has to reconnect it self and set all back up in connecting to a network. It probably takes time before Wifi SSID shows. Normally one wouldn’t be turning it off?

I’m using my mobile phone as the router, tethering the data. Sometimes I forget to set it on before boot time, or I leave it off because I’m using the cable connection.
Anyway, after some time all available wi-fi networks disappeared from the network manager… They come back if I reboot.

Okay… i understand now. This is something i haven’t tried before as i don’t have any need to.

Do you look at the Arch wiki?

https://wiki.archlinux.org/title/android_tethering#USB_tethering

Edit: Also

https://wiki.archlinux.org/title/software_access_point