Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Pavilion 15 Gaming ec0xxx
Microsoft Windows 10 (64-bit)

My computer can’t connect to wifi. I have a dual boot system, and in Linux it shows authentication attempts that time out. It only connects if I bring the laptop very close to the router. After the initial connection, it can connect and disconnect from far away without problem until it goes to sleep or the next restart. I’ve tried reinstalling the wireless drivers but I’m suspicious because these issues only started after I sent my laptop in for repair for a different issue.

3 REPLIES 3
HP Recommended

Hi

Dual boot?

Windows first.....

Copy, Paste and Save in Notepad, as LBB.bat (not a .TXT) and double click to run.
Preferably run as an Administrator.
OR
Copy and use the individual command lines as needed.

Post anything non-personal, but relevant please.

@Echo OFF
getmac
netsh lan show interfaces
netsh wlan show interfaces
netsh wlan show drivers

PAUSE
systeminfo
PowerShell -Command "Get-NetAdapter"
PowerShell -Command "Get-NetAdapter -Name * | Format-Table -View Driver"
PowerShell -Command "GIP -Detailed"
PowerShell -Command "Test-NetConnection"
PAUSE

 

Collect as much info as possible, preferably printed out for reference.

 

Then............

Credit to Bapoumba, Ubuntu Forums
When troubleshooting wireless, it's important that your system is fully updated by opening a terminal, CTRL+ALT+T. Using a wired internet connection, please run:
Code:

sudo apt update
sudo apt dist-upgrade

and reboot if necessary.

If the issues persist, it is recommended that you install pastebinit, by running:
Code:

sudo apt install pastebinit

This will enable the wireless script to, upon your approval, upload the obtained data to pastebin, creating at the same time a link to it in your terminal, permitting you to paste it to a forum thread.

Once that's done, download and run the wireless info script, which will gather information to help diagnose your system. You can run it using this command:
Code:

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \
chmod +x wireless-info && \
./wireless-info

It will create the file "wireless-info.txt" at the location it is run from, and depending on its size, an additional archive called "wireless-info.tar.gz". If you prefer, you can post the file directly to pastebin yourself. Sensitive information like MAC addresses and WPA/WEP keys are masked automatically.

If you aren't able to connect to the internet with the affected system, including via a wired connection, just navigate to
https://ubuntuforums.org/showthread.php?t=2082305&p=12350385&viewfull=1#post12350385 using another device and follow the instructions there on how to the run wireless script without an internet connection.

 

 

Collect as much info as possible and compare to W10 info.

 

 

Then please ask again posting relevant details.

Like OS, adapter, drivers etc etc.

 

 



HP Recommended

https://pastebin.com/7hj0Lhxd Pastebin link for the batch file. This was generated while connected to wifi.?@

 

https://pastebin.com/eCqFfLcv Pastebin link for the Linux. This was while the wifi was broken.

 

For some reason, Windows can hold the wifi connection after the initial connection, but linux will loose the connection as I move away from the router.

 

Information about drivers, network adapters and OS should be in the Pastebin links.

HP Recommended

Hi

The Wi-Fi is 2.4 and 5.0 Ghz, are they the same name exactly?

CIK1000M_AC2.4G_2204

CIK1000M_ AC5G_2204

or are they differentiated?

 

so that you know if W10 and Ubuntu are on the same frequency (and channel)?

 

W10 reports this

 Description            : Realtek RTL8822CE 802.11ac PCIe Adapter

 

ubuntu is this....

match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl

 

So maybe it is not the optimum driver.

 

https://askubuntu.com/questions/1180714/realtek-rtl8822ce-is-unable-to-detect-wifi-networks

 

 

AND that is currently the best I can do.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.