No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop SOLVED

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
goodacreng

No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop SOLVED

Post by goodacreng »

If it's OK to raise a question very similar to marti1962's, my situation is just about the same as except that I installed Linux Mint 18.1 on a different machine – a HP Stream laptop – for my son who bought it just to use as a dedicated machine on which he could become familiar with Linux. The install went OK but the Firefox ICON is X'd out on the desktop,and there is no choice 'Preferences' in the Main Menu to get to 'Network Connections'. Maybe something slipped by me during the install process. Looking at this thread I see that an Ethernet port would help, but this wretched machine does not have one.

I noticed that one user was asked to run the 'inxi – Nn' and 'rfkill list' commands; here are the results when I did this:

inxi – Nn:

Card: Realtek Device 6822

and N/A for IF, state, speed, duplex and mac.

Rfkill list:

0: hcio : Bluetooth
Softblocked: no
Hardblocked : no

ng3ta@ng3t-HP-Stream-Laptop-14-ax0XX~$║

iwconfig

lo no wireless extensions

lsmod

{a long list (23 items)} hand copied in case some are needed
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: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

Double check your result for inxi -Nn
I don't think the result you posted is correct. If there is a solution, you will need some form of internet connection to the laptop to make it easier
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

Thanks for your quick reply. I repeated the command inxi -Ni and the reply is below:

Network: Card: Realtek Device b822
IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A

Unfortunately there is no Ethernet port on this machine.
JeremyB
Level 21
Level 21
Posts: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

What kernel uname -a
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

Reply to uname -a was:

Linux ngt3-HP-Stream-Laptop-14 ax0XX 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x_64 x_64 GNU/Linux
JeremyB
Level 21
Level 21
Posts: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

Download the attachment and https://www.dropbox.com/s/ijqq373zkvbr0 ... ar.gz?dl=0 and copy them to the Linux Mint Desktop, right click and choose extract here
Open the rtlwifi folder, right click and choose open in terminal

Code: Select all

sudo cp *.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtlwifi
sudo depmod -a
rtl8822befw.tar.gz
Extract rtl8823befw.tar.gz to the desktop
and

Code: Select all

cd ~/Desktop
sudo cp rtl8823befw.bin /lib/firmware/rtlwifi
Reboot
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

Jeremy, sorry for the delay; I got diverted trying to set up a Dropbox (since you were using one it reminded me that I didn't have one; I failed because Dropbox said that my email password was false!!!)

Put the files on the Linux desktop via USB, expanded them and ran the scripts. Still no WiFi but now get something different in response to 'inxi - Nn' :

Speed/max ~ 861/2480 MHz Kernel ~ 4.4.0-53-generic x86_64 Up ~ 13.04 Mem ~ 64.36/3857.5 HDD ~ NA(NA-) Procs ~ 189 Client ~ Shell inxi 2.2.35

Same response to 'rfkill list' ie:
o: hcio: Bluetooth
Soft blocked: no
Hard blocked: no

Response to 'iwconfig' is again a long list of parameters and values; Are there particular ones that would be of help ?

I also tried 'iwlist wlan0 scan' and got:

'Interface doesn't support scanning'

Maybe I screwed up putting your scripts in.
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

I see that this thread is quite busy, so apologize for the lack of expertise the following question will reveal:

In your immediately preceding post, what does 'Code: Select all' mean' ? and how does it relate to the scripts that follow it; in both cases?
JeremyB
Level 21
Level 21
Posts: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

You can click select all then ctrl + c to copy the command. The code tags preserve the format and keeps smilies from showing up.
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

When I open the rtlwifi folder I get 6 items displayed with file type .ko

If I right-click and Open in Terminal I get the terminal screen prompt and '~/Desktop/rtlwifi s' following it.

Is this what you would expect?

There is no sign of the script, preceded by 'Code: Select' Should there be?
JeremyB
Level 21
Level 21
Posts: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

Can you tether the laptop to a smartphone using USB for internet access?
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

My son, for whom I installed Linux, does and he could probably do it. I'll ask him when he returns from work - about 7pm EST.
JeremyB
Level 21
Level 21
Posts: 13782
Joined: Fri Feb 21, 2014 8:17 am

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by JeremyB »

When you get the computer connected to the internet, run the following commands, one line at a time in terminal. I will not use the forums code tags to avoid confusion

sudo apt-get update
sudo apt-get install git build-essential dkms
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6


Then reboot
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

Jeremy,
your wisdom has prevailed and the HP laptop can now connect to wireless networks. Many thanks for bringing this about.

I'll mark the issue as RESOLVED

Norman Goodacre
goodacreng

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by goodacreng »

Solved
kwamecz

Re: No WiFi after Installing Linux Mint 18.1 on a HP Stream Laptop

Post by kwamecz »

JeremyB wrote: Wed Apr 11, 2018 4:46 pm When you get the computer connected to the internet, run the following commands, one line at a time in terminal. I will not use the forums code tags to avoid confusion

sudo apt-get update
sudo apt-get install git build-essential dkms
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6


Then reboot
Thank you JeremyB. This solved the problem I had with no WiFi on my HP Stream 14. Funny thing though: I rebooted and nothing happened. I had to go away and left my laptop on. When I got back a few days later, the battery had drained, so I plugged it in and booted up. WiFi was working.
Locked

Return to “Networking”