Wireless connection with HP-17 Laptop/Linux Mint 18.2
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sometimes multiple sources don't merge properly to let you "select" (via traditional means) the packages in the other sources. You have at least 4 sources in the update listing. xenial, xenial-updates, xenial-security, xenial-backports. One OLD school trick to merge the sources that I use.
It's kind of a cousin to tasksel. You can run it just dselect and have an ncurses installer menu-ish driver interface. But it also acts like apt if you send it CLI parms. There's probably a more proper way of apt-get --merge update or some such that dselect ultimately does, I just never bothered to learn it since dselect does it. And in terms of OLD school things, dselect also populates the available file which is one way to more casually browse the complete listing of "available" packages with more verbose descriptions and meta-data, all in one file.
bob@bob-HP-Laptop-17-bs0xx ~ $ sudo apt-get install dselect
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dselect
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 188 kB of archives.
After this operation, 1,675 kB of additional disk space will be used.
Get:1 http://mirrors.us.kernel.org/ubuntu xenial-updates/main amd64 dselect amd64 1.18.4ubuntu1.2 [188 kB]
Fetched 188 kB in 5s (31.4 kB/s)
Selecting previously unselected package dselect.
(Reading database ... 372573 files and directories currently installed.)
Preparing to unpack .../dselect_1.18.4ubuntu1.2_amd64.deb ...
Unpacking dselect (1.18.4ubuntu1.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up dselect (1.18.4ubuntu1.2) ...
bob@bob-HP-Laptop-17-bs0xx ~ $ sudo dselect update
It might not be called that on your system. Perhaps firmware-linux-nonfree or something else. The other advantage of creating the available file is that the --load-avail option works for that legacy command. The more modern variant...
$ apt-cache search --names-only firmware
Might not be search, perhaps find, etc, not running my .deb based system atm.
Or whatever driver is associated with your wifi chipset on that apt-file command. This should help you ID the right package for the needed file. At a minimum it should find the kernel and the firmware packages, perhaps others too.
bob@bob-HP-Laptop-17-bs0xx ~ $ dpkg-query --load-avail -l '*firmware*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un alsa-firmware- <none> amd64 (no description available)
un alsa-firmware- <none> i386 (no description available)
un atmel-firmware <none> all (no description available)
un bladerf-firmwa <none> <none> (no description available)
un bladerf-firmwa <none> amd64 (no description available)
un bladerf-firmwa <none> i386 (no description available)
un dahdi-firmware <none> all (no description available)
un dns323-firmwar <none> all (no description available)
un expeyes-firmwa <none> all (no description available)
un firmware-addon <none> all (no description available)
un firmware-amd-g <none> <none> (no description available)
ii firmware-b43-i 1:019-2 all firmware installer for the b43 dr
un firmware-b43-l <none> <none> (no description available)
un firmware-b43le <none> all (no description available)
un firmware-cryst <none> all (no description available)
un firmware-extra <none> all (no description available)
un firmware-linux <none> <none> (no description available)
un firmware-tools <none> all (no description available)
un firmware-tools <none> all (no description available)
un firmware-tools <none> all (no description available)
un firmware-tools <none> all (no description available)
un grub-firmware- <none> amd64 (no description available)
un grub-firmware- <none> i386 (no description available)
un isight-firmwar <none> amd64 (no description available)
un isight-firmwar <none> i386 (no description available)
ii linux-firmware 1.157.12 all Firmware for Linux kernel drivers
un linux-wlan-ng- <none> all (no description available)
un midisport-firm <none> all (no description available)
un nouveau-firmwa <none> all (no description available)
un prism2-usb-fir <none> amd64 (no description available)
un prism2-usb-fir <none> i386 (no description available)
un sigrok-firmwar <none> amd64 (no description available)
un sigrok-firmwar <none> i386 (no description available)
un ubertooth-firm <none> all (no description available)
un ubertooth-firm <none> all (no description available)
un zaptel-firmwar <none> <none> (no description available)
bob@bob-HP-Laptop-17-bs0xx ~ $
I think I saw mention of B43 firmware, I fail to understand if the b43 mentioned above if what I need(?), or do I need a "driver".
bob@bob-HP-Laptop-17-bs0xx ~ $ apt-cache search --names-only firmware
linux-firmware - Firmware for Linux kernel drivers
bladerf-firmware-fx3 - nuand bladeRF firmware downloader (FX3)
dns323-firmware-tools - build and manipulate firmware images for a range of NAS devices
expeyes-firmware-dev - hardware & software framework for developing science experiments
firmware-addon-dell - firmware-tools plugin to handle BIOS/Firmware for Dell systems
firmware-extract - A firmware-tools plugin to extract firmware
firmware-tools - Scripts and tools to manage firmware and BIOS updates
firmware-tools-cli - Scripts and tools to manage firmware and BIOS updates
firmware-tools-common - Scripts and tools to manage firmware and BIOS updates
firmware-tools-gui - Scripts and tools to manage firmware and BIOS updates
grub-firmware-qemu - GRUB firmware image for QEMU
linux-wlan-ng-firmware - firmware files used by the linux-wlan-ng driver
prism2-usb-firmware-installer - firmware files for the prism2_usb kernel driver
sigrok-firmware-fx2lafw - Firmware for Cypress FX2(LP) based logic analyzers
ubertooth-firmware - Firmware for Ubertooth
ubertooth-firmware-source - Source code for the Ubertooth firmware
alsa-firmware-loaders - ALSA software loaders for specific hardware
atmel-firmware - Firmware for Atmel at76c50x wireless networking chips.
dahdi-firmware-nonfree - DAHDI non-free firmware
firmware-b43-installer - firmware installer for the b43 driver
firmware-b43legacy-installer - firmware installer for the b43legacy driver
firmware-crystalhd - Crystal HD Video Decoder (firmware)
isight-firmware-tools - tools for dealing with Apple iSight firmware
midisport-firmware - Firmware loader for M-Audio's MidiSport devices
nouveau-firmware - Firmware for nVidia graphics cards
bob@bob-HP-Laptop-17-bs0xx ~ $
Can help expand it to give the full names, without resizing your xterm.
What about the apt-file one? A little googling shows that you're probably using an rtl8723be variant. You can always go non-distro routes. Same as my hp stream 11, same as my hp 15-ba053nr, for the rtl8723be so no surprise there. Although the USB thing is different.
$ lspci -nnk
$ lsmod | grep -i rtl
$ dmesg | grep -i rtl
When I first got my hp stream 11 ('2014), I had to go this route for a "current" enough driver to work longer than a couple minutes / < 2 hours. Requires the kernel headers and some tools to compile things.
Perhaps backup and stuff first. But should work in theory. Also note that your device (if like mine) has multiple antenna points and only one antennae which might not be attached to the default which would leave you with a weak almost unusable signal strength. In my case:
$ sudo ip link set wlo1 down
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be ant_sel=2
$ sudo ip link set wlo1 up
Using the info from dmesg about "missing" firmware as the search parameter would narrow it more precisely. Or using strings on the module.ko for more insight. Plus modinfo and other kernel tools to help know what your options are (especially the non-default ones).
There was another driver for my rtl8723be, that is a broadcom sta driver (with something about bluetooth working with the sta driver, not working with the rtlwifi driver). Although I think that error is not related to your setup (or mine). And the error appears to be that it's "blacklist" not "B"lacklist when it comes to those .conf files. Comment out the bad line (it's being ignored anyway), or correct the typo if you want it to actually try something.
Also, can remember inserting, "Blacklist", just can't remember where/why. Before I settled on this site I attempted to correct the problem. Now I wished that I had a "text" editor that would copy my terminal discussion??
As long as you can remember part of the information, you can narrow down the hits to get what you were looking for in relatively short order. Content, name, date, lots of things to filter your hits and refresh your memory.
/etc/modprobe.d/broadcom-sta-ommn.conf
From your previous error message. Sometimes the system stops just shy of screaming the answers at you.
bob@bob-HP-Laptop-17-bs0xx ~ $ /etc/modprobe.d/broadcom-sta-ommn.conf
bash: /etc/modprobe.d/broadcom-sta-ommn.conf: Permission denied
bob@bob-HP-Laptop-17-bs0xx ~ $ sudo /etc/modprobe.d/broadcom-sta-ommn.conf
[sudo] password for bob:
sudo: /etc/modprobe.d/broadcom-sta-ommn.conf: command not found
bob@bob-HP-Laptop-17-bs0xx ~ $ sudo apt-get install firmware-b43-1pphy-installerReading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firmware-b43-1pphy-installer
bob@bob-HP-Laptop-17-bs0xx ~ $ sudo apt-get install firmware-b43-lpphy-installerReading package lists... Done
Building dependency tree
Reading state information... Done
Package firmware-b43-lpphy-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
firmware-b43-installer
E: Package 'firmware-b43-lpphy-installer' has no installation candidate
bob@bob-HP-Laptop-17-bs0xx ~
The first one, you're trying to execute a configuration (text) file, which should fail. They are read at boot and used to determine "preferences", like don't load this module/driver (aka blacklist), or load this module with these parameters (aka options). It is not by itself an executable.
The second one is that you're installing a virtual package, which only exists to avoid changing dependency hell of other packages. The thing you want likely exists by another name. Using apt-file can help ID the name of the package you actually need.
Seems like testing+ on debian renamed the whole b43 stuffs. Or removed it entirely. You might have stable packages still showing up in the apt-listing for testing. Or other apt quirks depending on your sources.list and your last update / update method.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.