LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2020, 12:21 PM   #1
TokTok
Member
 
Registered: Oct 2019
Posts: 250

Rep: Reputation: Disabled
How to install firmware from a file ?


I installed debian to my PC but it did not install the WiFi or Nic firmware so USB modem won`t connect. I have 2 different file types but the specific one for the Wifi modem is in a regular folder with all the files needed so my question how to install all the files in the folder to lib/firmware they are all related to the specific firmware i need to install. A image is attached to review.
Ps. I don`t want to install each one by one but just a one time deal.
Attached Thumbnails
Click image for larger version

Name:	I NEED TO INSTALL THESE FILES IN DEBIAN.png
Views:	45
Size:	67.0 KB
ID:	33259  
 
Old 05-24-2020, 12:51 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,386
Blog Entries: 7

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Installing random software/firmware to your machine that does not match the kernel/libs is not a good idea. Where did you get those files? Are they made for the version of linux that you are using? Do they contain all of the needed dependencies? Do they conflict with what's already on your box? There is no support in your distros repo for your hardware? Debian has huge repositories. Is it brand new hardware? That's what package manager are for. So that you don't break things.

Start with the hardware.
Code:
lspci -k
lsusb
dmesg -w
Then when you know what hardware that you have, see if there is already support in your repo for it.

Quote:
I installed debian to my PC but it did not install the WiFi or Nic firmware so USB modem won`t connect.
How do you know that bad/missing firmware is the reason? What network manager does debian use, or which one are you using? apt? Do you have the network managers configuration file configured? Is there something that tells you that the firmware is missing?

Also what it the ouput of
Code:
ip a
uname -a
 
Old 05-24-2020, 04:27 PM   #3
TokTok
Member
 
Registered: Oct 2019
Posts: 250

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Installing random software/firmware to your machine that does not match the kernel/libs is not a good idea. Where did you get those files? Are they made for the version of linux that you are using? Do they contain all of the needed dependencies? Do they conflict with what's already on your box? There is no support in your distros repo for your hardware? Debian has huge repositories. Is it brand new hardware? That's what package manager are for. So that you don't break things.

Start with the hardware.
Code:
lspci -k
lsusb
dmesg -w
Then when you know what hardware that you have, see if there is already support in your repo for it.


How do you know that bad/missing firmware is the reason? What network manager does debian use, or which one are you using? apt? Do you have the network managers configuration file configured? Is there something that tells you that the firmware is missing?

Also what it the ouput of
Code:
ip a
uname -a
When installing debian i did get a message stating this file did not install & it came from the Wifi cd - usb modem so it is genuine. This is the first time i have has this problem as all other times i installed a OS including live OS it worked fine without installing anything. The file is in a unzipped folder **see image** so i just need to install all the files in the folder but don`t want to install each one by one, just the complete files. The full tz file has several files for windows - mac - linux etc. and no need for.Just to make it clear i`ll upload 2 images, 1 with folder contents that need to be installed and the other a image of the folder the specific file is in.
Attached Thumbnails
Click image for larger version

Name:	I NEED TO INSTALL THESE FILES IN DEBIAN.png
Views:	16
Size:	67.0 KB
ID:	33260   Click image for larger version

Name:	SINGLE FILE NEEDED IN THIS FOLDER.png
Views:	13
Size:	5.4 KB
ID:	33261  
 
Old 05-24-2020, 09:45 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,810

Rep: Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680
What version of debian did you install?
Have you tried to installing firmware-linux-nonfree and firmware-ralink with apt.
you will need to edit your /etc/apt/sources.list and add non-free
 
Old 05-25-2020, 05:20 AM   #5
TokTok
Member
 
Registered: Oct 2019
Posts: 250

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What version of debian did you install?
Have you tried to installing firmware-linux-nonfree and firmware-ralink with apt.
you will need to edit your /etc/apt/sources.list and add non-free
Debian is 10.2 / So explain the method you described it might be best...Remember i`m still a newbie at linux so expect some stupid questions or lack of knowlege.
 
Old 05-25-2020, 06:20 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,810

Rep: Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680
open a terminal
Code:
su -
will ask for your root password and give you root rights the teminal will have a # instead of a $
Code:
nano /etc/apt/sources.list
will open the file in a text editor
add
Code:
contrib non-free
to the end of each line that ends in main
ctrl-x to close and follow prompts to save
Code:
apt update
apt install firmware-linux firmware-ralink
exit out of terminal and reboot.

Last edited by colorpurple21859; 05-25-2020 at 06:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r816 TNT BOM BOM Debian 18 07-05-2015 11:19 AM
[SOLVED] Suggestion: install kernel firmware into /lib/firmware/$(uname -r) qweasd Slackware 7 08-08-2012 02:12 PM
kernel26-firmware conflicts with linux-firmware conflicts with nvidia-96xx Bratmon Arch 3 06-26-2010 07:42 PM
Failure to find E100 firmware even though present in /lib/firmware afhartman Linux - Networking 2 07-27-2009 07:31 AM
messed up my ipod firmware..need new firmware.. casimir Linux - Hardware 2 09-13-2004 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration