Slow hotspot speed after installation

when i turn on my hotspot, and connect my phone to it, the maximum speed i get is around 100KBps even though my internet is good enough to give around 2.5 MBps

:+1: Welcome to Manjaro! :+1:

Please read this:


and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

An inxi --admin --verbosity=7 --filter --no-host would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

:innocent:

System:
Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64
root=UUID=1d6e6343-47ff-45fe-bfbe-e2222d29d250 rw quiet apparmor=1
security=apparmor resume=UUID=717a20bd-088d-4ba6-a3a4-b3182d2ddbfc
udev.log_priority=3
Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM
Distro: Manjaro Linux
Machine:
Type: Laptop System: LENOVO product: 80E3 v: Lenovo G50-45 serial:
Chassis: type: 10 v: Lenovo G50-45 serial:
Mobo: LENOVO model: Lancer 5B2 v: SDK0F82990 WIN serial:
UEFI [Legacy]: LENOVO v: A2CN45WW(V2.13) date: 08/04/2016
Battery:
ID-1: BAT1 charge: 9.0 Wh condition: 24.7/31.7 Wh (78%) volts: 15.0/14.4
model: LENOVO PABAS0241231 type: Li-ion serial: status: Charging
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K230
serial: charge: 100% (should be ignored) rechargeable: yes
status: Discharging
Memory:
RAM: total: 3.32 GiB used: 1.36 GiB (41.0%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Quad Core model: AMD A8-6410 APU with AMD Radeon R5 Graphics bits: 64
type: MCP arch: Puma family: 16 (22) model-id: 30 (48) stepping: 1
microcode: 7030105 L2 cache: 2048 KiB bogomips: 15979
Speed: 998 MHz min/max: 1000/2000 MHz boost: enabled Core speeds (MHz): 1: 1030
2: 1040 3: 1118 4: 1013
Flags: 3dnowprefetch abm acc_power aes aperfmperf apic arat avx bmi1 bpext
clflush cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de
decodeassists extapic extd_apicid f16c flushbyasid fpu fxsr fxsr_opt ht
hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe msr
mtrr nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter
pclmulqdq pdpe1gb perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
ptsc rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 svm
svm_lock syscall topoext tsc tsc_scale vme vmmcall wdt xsave xsaveopt
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Lenovo driver: radeon
v: kernel alternate: amdgpu bus ID: 00:01.0 chip ID: 1002:9851
Device-2: Microdia type: USB driver: uvcvideo bus ID: 2-1.2:3
chip ID: 0c45:6513
Display: x11 server: X.O rg 1.20.8 compositor: kwin_x11 driver: radeon
FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0
screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
OpenGL: renderer: AMD KABINI (DRM 2.50.0 5.7.17-2-MANJARO LLVM 10.0.1)
v: 4.5 Mesa 20.1.6 direct render: Yes
Audio:
Device-1: AMD Kabini HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:01.1 chip ID: 1002:9840
Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel
bus ID: 00:14.2 chip ID: 1022:780d
Sound Server: ALSA v: k5.7.17-2-MANJARO
Network:
Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lenovo Z50-75
driver: rtl8723be v: kernel port: 3000 bus ID: 01:00.0 chip ID: 10ec:b723
IF: wlp1s0 state: down mac:
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo
driver: r8169 v: kernel port: 2000 bus ID: 02:00.0 chip ID: 10ec:8168
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac:
IP v4: type: noprefixroute scope: global broadcast:
IP v6: type: noprefixroute scope: link
WAN IP:
Drives:
Local Storage: total: 1.36 TiB used: 24.34 GiB (1.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB
block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm
serial: rev: LVM1 scheme: MBR
ID-2: /dev/sdb vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB block size:
physical: 4096 B logical: 512 B speed: 3.0 Gb/s rotation: 5400 rpm
serial: rev: 1A scheme: MBR
Message: No Optical or Floppy data was found.
RAID:
Message: No RAID data was found.
Partition:
ID-1: / raw size: 30.13 GiB size: 29.53 GiB (98.02%) used: 13.08 GiB (44.3%)
fs: ext4 dev: /dev/sdb5 label: N/A uuid: 1d6e6343-47ff-45fe-bfbe-e2222d29d250
ID-2: /home raw size: 97.66 GiB size: 95.62 GiB (97.92%)
used: 11.23 GiB (11.7%) fs: ext4 dev: /dev/sdb3 label: N/A
uuid: 66ec21d4-ecc1-4e0b-b653-dda566ac95b7
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 7.82 GiB used: 26.6 MiB (0.3%) priority: -2
dev: /dev/sdb2 label: N/A uuid: 717a20bd-088d-4ba6-a3a4-b3182d2ddbfc
Unmounted:
ID-1: /dev/sda1 size: 579.0 MiB fs: ntfs label: System Reserved
uuid: CA804FBC804FAE2F
ID-2: /dev/sda2 size: 194.75 GiB fs: ntfs label: N/A uuid: 2C741F75741F414E
ID-3: /dev/sda3 size: 97.66 GiB fs: ntfs label: N/A uuid: 50A29A0DA299F824
ID-4: /dev/sda4 size: 172.79 GiB fs: ntfs label: N/A uuid: 76B6A266B6A22699
ID-5: /dev/sdb1 size: 1 KiB fs: <superuser/root required> label: N/A uuid: N/A
ID-6: /dev/sdb4 size: 795.90 GiB fs: ntfs label: N/A uuid: 64E222F6E222CC5C
USB:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Hub: 1-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip ID: 0438:7900
Device-1: 1-1.1:3 info: Logitech Unifying Receiver type: Keyboard,Mouse
driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
chip ID: 046d:c534
Device-2: 1-1.3:4 info: Realtek RTS5129 Card Reader Controller
type: driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
interfaces: 1 rev: 2.0 speed: 480 Mb/s chip ID: 0bda:0129 serial:
Device-3: 1-1.4:5 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
chip ID: 046d:c52b
Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Hub: 2-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip ID: 0438:7900
Device-1: 2-1.2:3 info: Microdia type: Video driver: uvcvideo interfaces: 2
rev: 2.0 speed: 480 Mb/s chip ID: 0c45:6513
Device-2: 2-1.3:4 info: Realtek RTL8723B Bluetooth type: Bluetooth
driver: btusb interfaces: 2 rev: 2.1 speed: 12 Mb/s chip ID: 0bda:b728
serial:
Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s
chip ID: 1d6b:0003
Sensors:
System Temperatures: cpu: 47.0 C mobo: N/A gpu: radeon temp: 48 C
Fan Speeds (RPM): N/A
Info:
Processes: 205 Uptime: 41m Init: systemd v: 246 Compilers: gcc: 10.2.0
Packages: 1414 pacman: 1410 lib: 354 flatpak: 0 snap: 4 Shell: Bash v: 5.0.18
running in: konsole inxi: 3.1.05

This piece of … erm… hardware has 2 known problems… :grin: Please provide the output of:

cat /proc/sys/kernel/random/entropy_avail
cat /etc/modprobe.d/50-rtl8723be.conf

[abhra@abhra ~]$ cat /proc/sys/kernel/random/entropy_avail
3817
[abhra@ ~]$ cat /etc/modprobe.d/50-rtl8723be.conf
cat: /etc/modprobe.d/50-rtl8723be.conf: No such file or directory

That’s good (>1000)

That’s bad. :grin: Try this:

echo "options rtl8723be swenc=1 fwlps=0 ips=0 ant_sel=1" | sudo tee /etc/modprobe.d/rtl8723be.conf
sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Then reboot and try again.

The first option does this:

parm:           swenc:using hardware crypto (default 0 [hardware]) (bool)
parm:           ips:using no link power save (default 1 is open) (bool)
parm:           fwlps:using linked fw control power save (default 1 is open) (bool)
parm:           ant_sel:Set to 1 or 2 to force antenna number (default 0) (int)

The second option tells NetworkManager to not use power saving on top of the module itself.

:innocent:

1 Like

thanks a lot but the second command is having issues

[abhra~]$ echo “options rtl8723be swenc=1 fwlps=0 ips=0 ant_sel=1” | sudo tee /etc/modprobe.d/rtl8723be.conf
options rtl8723be swenc=1 fwlps=0 ips=0 ant_sel=1
[abhra@ab ~]$ sudo sed -i ‘s/wifi.powersave = 3/wifi.powersave = 2/’ /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
sed: can’t read /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf: No such file or directory

If you’re not using NetWorkManager (which this looks like) you should ignore that.

Any improvements after a reboot???

:innocent:

sorry , no imrovement after reboot .
also the directory ‘/etc/NetworkManager/conf.d/’ looks empty

Try the following then:

sudo nano --backup /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

copy-paste this in there:

wifi.powersave = 2

and hit Ctrl+X Enter to save that

then restart NM or reboot.

Then feed back again.

well i tried that but during reboot it says ‘failed to start network manager’ and also ran into some issues with network as expected, so had to revert the changes and i deleted it