Linux Lite Forums

Hardware - Support => Network => Topic started by: jack action on May 09, 2021, 04:22:44 PM

Title: Losing Wifi hotspot when connecting to signal
Post by: jack action on May 09, 2021, 04:22:44 PM
TL;DR: Wifi hotspot on PC disconnects when phone tries to connect to it.

New to Wifi. I bought the following wifi network adapter (https://www.bestbuy.ca/en-ca/product/mini-usb-wifi-wlan-150mbps-wireless-network-adapter-802-11n-gb-dongle-windows-10/14931641) to make my PC a hotspot for my new smart phone to connect to:

(https://multimedia.bbycastatic.ca/multimedia/products/1500x1500/149/14931/14931641.png)

I could finally make it work by installing the driver from kelebek333 (https://github.com/kelebek333/rtl8188fu) (from the PPA repo).

I created a wifi connection with a method similar to this one (https://tipsonubuntu.com/2017/04/23/create-wi-fi-hotspot-ubuntu-17-04/). (The IPv4 & IPv6 settings are set to 'shared to other computers')

I can activate the connection successfully, but as soon as I turn the phone on and it tries to connect to the wifi signal, the PC connection drops. Sometimes, it can last for a few seconds, just enough to download some notifications. Sometimes it drops by itself, but I think it is because some of my neighbors' machines try to connect to my wifi signal.

What could be the problem? The driver? The hardware itself? Wrong set-up? Some info about my system:

Code: [Select]
inxi -FN
Code: [Select]
System:
  Host: maison Kernel: 5.4.0-72-generic x86_64 bits: 64 Desktop: Xfce 4.14.2
  Distro: Linux Lite 5.0 LTS
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M PRO-M2 (MS-7B84) v: 1.0
  serial: <superuser/root required> UEFI: American Megatrends v: 2.E3
  date: 06/11/2020
CPU:
  Topology: Quad Core model: AMD Ryzen 3 2200G with Radeon Vega Graphics
  bits: 64 type: MCP L2 cache: 2048 KiB
  Speed: 1520 MHz min/max: 1600/3500 MHz Core speeds (MHz): 1: 1423 2: 1432
  3: 1467 4: 1418
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
  driver: amdgpu v: kernel
  Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.0-72-generic LLVM 11.0.0)
  v: 4.6 Mesa 20.2.6
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server: ALSA v: k5.4.0-72-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp37s0 state: up speed: 100 Mbps duplex: full mac: 30:9c:23:d6:6c:6b
  Device-2: Realtek 802.11n type: USB driver: rtl8188fu
  IF: wlx1cbfceea0202 state: down mac: 1c:bf:ce:ea:02:02
Drives:
  Local Storage: total: 447.13 GiB used: 129.86 GiB (29.0%)
  ID-1: /dev/sda vendor: Patriot model: Burst size: 447.13 GiB
Partition:
  ID-1: / size: 438.62 GiB used: 129.85 GiB (29.6%) fs: ext4 dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 26.8 C mobo: N/A gpu: amdgpu temp: 26 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 255 Uptime: 45m Memory: 13.68 GiB used: 2.15 GiB (15.7%)
  Shell: bash inxi: 3.0.38
Code: [Select]
rfkill list all
Code: [Select]
1: phy1: Wireless LAN
    Soft blocked: no
    Hard blocked: no
Title: Re: Losing Wifi hotspot when connecting to signal
Post by: TheDead on May 10, 2021, 04:57:57 PM
How you tried connecting a cable for the "IN" and use the Wifi as the "out"?
Maybe doing both with same adapter causes problems.
Title: Re: Losing Wifi hotspot when connecting to signal
Post by: jack action on May 11, 2021, 03:04:38 PM
What cables are you referring to?

I just plugged the device in a USB port. The Internet comes in through an Ethernet cable plugged in the motherboard.
Title: Re: Losing Wifi hotspot when connecting to signal
Post by: TheDead on May 12, 2021, 09:11:05 AM
Oh! That's exactly what I meant.
Using cable for internet and connection to local network and WiFi dongle only for HotSpot.
I have a theory though, try using a different security WPA or WEP instead of WPA2, or just a test with security disabled.

Why? Well, the first WPA2 cards gave me similar problems when they first came out, sooo... maybe related.
Title: Re: Losing Wifi hotspot when connecting to signal
Post by: jack action on May 23, 2021, 07:05:13 PM
Finally quit trying to make it work. I bought a used router for 20$ instead and I have wifi now.