Wifi range issue

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RockRoll

Wifi range issue

Post by RockRoll »

Hi guys , I am totally novice to Linux mint 18.2 sonaya cinnamon. The issue I am facing with my wifi adapter is , it has some signal range issue . Its able to connect to all the wifi networks for ex. my android hotspot , room wifi & other wifi connections available . The problem is when I move away from wifi hotspot or wifi device even just 5 feet it lost the connection. when I boot in windows 8 it is totally working fine without any issues. It is not able discover new wifi connections from that location which are readly available in windows 8.

Please help me to find the solution of this problem. Thanks in advance

My system details are :

Code: Select all

System:    Host: Rocks Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.4 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: HP (portable) product: HP 245 G4 Notebook PC v: Type1ProductConfigId
           Mobo: HP model: 80C7 v: KBC Version 98.0E
           Bios: Insyde v: F.1C date: 10/29/2015
CPU:       Quad core AMD A6-6310 APU with AMD Radeon R4 Graphics (-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 14374
           clock speeds: max: 1800 MHz 1: 1200 MHz 2: 1200 MHz 3: 1000 MHz
           4: 1200 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Mullins [Radeon R4/R5 Graphics]
           bus-ID: 00:01.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1366x768@59.99hz
           GLX Renderer: Gallium 0.4 on AMD MULLINS (DRM 2.46.0 / 4.8.0-53-generic, LLVM 4.0.0)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel bus-ID: 00:14.2
           Card-2 Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio
           driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 01:00.0
           IF: enp1s0 state: down mac: <filter>
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 2000 bus-ID: 05:00.0
           IF: wlo1 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (19.2% used)
           ID-1: /dev/sda model: ST500LT012 size: 500.1GB
Partition: ID-1: / size: 19G used: 5.5G (31%) fs: ext4 dev: /dev/sda6
           ID-2: /home size: 137G used: 103M (1%) fs: ext4 dev: /dev/sda8
           ID-3: swap-1 size: 8.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.9C mobo: 0.0C gpu: 49.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 215 Uptime: 1:20 Memory: 1499.7/3409.7MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi range issue

Post by JeremyB »

Post results for these commands, run one line at a time

Code: Select all

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=1
iwlist scan | egrep -i 'ssid|level'
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=2
iwlist scan | egrep -i 'ssid|level'
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Wifi range issue

Post by JoeFootball »

RockRoll wrote:Please help me to find the solution of this problem.
Try the How to solve internet connection problems page on Easy Linux Tips Project, most importantly Section 2 "Bad wireless connection".

Joe
RockRoll

Re: Wifi range issue

Post by RockRoll »

JeremyB wrote:Post results for these commands, run one line at a time

Code: Select all

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=1
iwlist scan | egrep -i 'ssid|level'
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=2
iwlist scan | egrep -i 'ssid|level'
I used these commands as instructed by you:-
rocky@Rocks ~ $ sudo modprobe -r rtl8723be
[sudo] password for rocky:
rocky@Rocks ~ $ sudo modprobe rtl8723be ant_sel=1
rocky@Rocks ~ $ iwlist scan | egrep -i 'ssid|level'
lo Interface doesn't support scanning.

enp1s0 Interface doesn't support scanning.

Quality=44/70 Signal level=-66 dBm
ESSID:"307"
Quality=44/70 Signal level=-66 dBm
ESSID:"Vinaya2"
Quality=70/70 Signal level=-38 dBm
ESSID:"Tech_D0019029"
Quality=42/70 Signal level=-68 dBm
ESSID:"Basanth206"
Quality=44/70 Signal level=-66 dBm
ESSID:"Varma 2nd"
Quality=44/70 Signal level=-66 dBm
ESSID:"anu"
Quality=38/70 Signal level=-72 dBm
ESSID:"Tplink"
Quality=48/70 Signal level=-62 dBm
ESSID:"306"
Quality=48/70 Signal level=-62 dBm
ESSID:"Varma 3rd"
Quality=42/70 Signal level=-68 dBm
ESSID:""
Quality=34/70 Signal level=-76 dBm
ESSID:"303"
Quality=36/70 Signal level=-74 dBm
ESSID:"Varma 1st"
Quality=34/70 Signal level=-76 dBm
ESSID:"309"


Now all other connections are working & signal strength is way better :D
Thanks a tonne JeremyB

But there is a problem . Every time I restart the system , the wifi behaves as earlier. Then I have to again use these commands to select ant_sel=1 :(

what should I do rectify that? Please guide me . Thanks again for the help.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi range issue

Post by JeremyB »

If ant_sel=1 was the fix do

Code: Select all

echo "options rtl8723be ant_sel=1" | sudo tee /etc/modprobe.d/rtlant-sel.conf
And it should work even after rebooting
RockRoll

Re: Wifi range issue

Post by RockRoll »

JeremyB wrote:If ant_sel=1 was the fix do

Code: Select all

echo "options rtl8723be ant_sel=1" | sudo tee /etc/modprobe.d/rtlant-sel.conf
And it should work even after rebooting


Thanks JeremyB . Now it's working like a boss. :lol:

btw can you tell me where can I learn linux commands as a beginner. Thanks again for help.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Wifi range issue

Post by jimallyn »

RockRoll wrote: can you tell me where can I learn linux commands as a beginner.
The Linux Command Line is a good book, and you can download it free if you like, or purchase it on paper:

http://linuxcommand.org/tlcl.php

There are two commands that I found to be a great help to me: apropos and man. Suppose you wanted to learn more about networks. Open a terminal and enter apropos network. That will spit out everything the system thinks is related to networks. If you see something you think might do what you want to do, then use the man (manual) command: man somecommand.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Anaconda

Re: Wifi range issue

Post by Anaconda »

Just bought a new laptop with the same wireless chipset as RockRoll and I had the exact same issue.

Thanks to JeremyB for the fix.
Locked

Return to “Networking”