LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2017, 06:53 PM   #1
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Rep: Reputation: Disabled
wireless not working


I installed debian jessie on an 8 year old Toshiba laptop. During the install, it noted that it needed the non-free driver file "iwlwifi-4965-2.ucode". After the installation finished, everything seems to be working properly (except the wifi).

I could not figure out how to get that file during the debian install, but I have it downloaded now to a flash drive. I tried copying that file to /lib/firmware but got an error "no such file or directory".

I guess it is a permission problem, but I'm really not sure. What is the best way to get this file into the correct location?
 
Old 01-09-2017, 07:12 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,276

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
Quote:
I could not figure out how to get that file during the debian install, but I have it downloaded now to a flash drive. I tried copying that file to /lib/firmware but got an error "no such file or directory".
Ideally, you should show the exact command you typed and the output generated, rather than a verbal description/interpretation. It is likely that you got the path or source file name wrong, rather than the target directory not existing.
 
Old 01-09-2017, 07:13 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,276

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
Tip: For a machine without internet access, output and be copy/pasted to a text file and transferred via a memory stick to a machine with internet access, so that it can then be posted.
 
Old 01-09-2017, 07:15 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Which firmware on this page did you download?

https://wiki.debian.org/Firmware
 
Old 01-09-2017, 07:55 PM   #5
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Which firmware on this page did you download?

https://wiki.debian.org/Firmware
I downloaded the torrent files here, and burned them to DVD:
http://cdimage.debian.org/debian-cd/8.6.0/amd64/bt-dvd/
 
1 members found this post helpful.
Old 01-09-2017, 08:09 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,276

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
...and so what was the command you typed when trying to copy to /lib/firmware?
 
Old 01-09-2017, 08:19 PM   #7
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Ideally, you should show the exact command you typed and the output generated, rather than a verbal description/interpretation. It is likely that you got the path or source file name wrong, rather than the target directory not existing.
Here is what shows up in the Terminal when I tried to copy the file from my Kingston USB drive:

rick@localhost:/lib/firmware$ cp /media/rick/kingston/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi03945-2.ucode iwlwifi03945-2.ucode

cp: cannot stat '/media/rick/kingston/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi-3945-2.ucode": No such file or directory

The error message is correct - I forgot to put KINGSTON in upper case. Now I get a different error:

rick@localhost:/lib/firmware$ cp /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi03945-2.ucode iwlwifi03945-2.ucode

cp: cannot create regular file 'iwlwifi03945-2.ucode': Permission denied
 
Old 01-09-2017, 08:19 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Quote:
Originally Posted by rgrosz78 View Post
I downloaded the torrent files here, and burned them to DVD:
http://cdimage.debian.org/debian-cd/8.6.0/amd64/bt-dvd/
They are .iso images to install the distribution that includes the firmware.
Did you want to do a fresh installation?

The firmware that you need to install in order to get your wireless working is on the page I linked. You can download it (depending on what wifi card you have) and transfer it to a flash drive like ferrari suggested.

To find out what wifi card you have run this command and write it down.
Code:
lspci | grep -i network
Once you know that you can download the firmware for your wifi card on the page I linked and install it with gdebi or the dpkg --install command.
<OR> you can perform a fresh install with the firmware included in the .iso.
It's up to you.

If it were me, I'd download the firmware install it. Once installed a reboot should give you your wifi connection.
 
Old 01-09-2017, 08:26 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
These .iso's include the firmware:- Cinnamon, Gnome, KDE etc.....

http://cdimage.debian.org/cdimage/un...64/iso-hybrid/
 
Old 01-09-2017, 08:31 PM   #10
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
These .iso's include the firmware:- Cinnamon, Gnome, KDE etc.....

http://cdimage.debian.org/cdimage/un...64/iso-hybrid/
OOPS, I misunderstood the question. Earlier I posted the source of the iso files that I used to do my new fresh install of debian jessie.

During the install, I got hundreds of error messages about this file: iwlwifi-3945-2.ucode. After the install, I did a Google search on that, and downloaded the firmware from this page:
https://packages.debian.org/jessie/k...rmware-iwlwifi
 
Old 01-09-2017, 08:38 PM   #11
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
In an attempt to override the permission problem, I tried using sudo. But that gives a different error:

rick@localhost:/lib/firmware$ sudo cp /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi-3945-2.ucode
[sudo] password for rick: <entered it>
rick is not in the sudoers file. This incident will be reported.

Last edited by rgrosz78; 01-09-2017 at 09:13 PM.
 
Old 01-09-2017, 08:47 PM   #12
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
I logged in as root, then added rick to the sudo group. But I still get the same error:

su
Password: <entered it>
root@localhost:/lib/firmware# adduser rick sudo
Adding user 'rick' to group 'sudo'
Adding user rick to group sudo
Done
root@localhost:/lib/firmware# exit
exit

rick@localhost:/lib/firmware$ sudo cp /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi-3945-2.ucode
[sudo] password for rick: <entered it>
rick is not in the sudoers file. This incident will be reported.

Last edited by rgrosz78; 01-09-2017 at 09:13 PM.
 
Old 01-09-2017, 08:48 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Quote:
Originally Posted by rgrosz78 View Post
OOPS, I misunderstood the question. Earlier I posted the source of the iso files that I used to do my new fresh install of debian jessie.

During the install, I got hundreds of error messages about this file: iwlwifi-3945-2.ucode. After the install, I did a Google search on that, and downloaded the firmware from this page:
https://packages.debian.org/jessie/k...rmware-iwlwifi
Good than you have what you need.

Open the terminal and cd to where you have that firmware.
Than become root 'su' and install it with the dpkg command.

Code:
dpkg --install firmware-iwlwifi_0.43_all.deb
If that doesn't work right click on the firmware and install it with gdebi.
Once it's installed, reboot.
 
1 members found this post helpful.
Old 01-09-2017, 09:15 PM   #14
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Still no success.

su
password: <entered>
cd /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware
dpkg --install firmware-iwlwifi_0.43_all.deb

dpkg: error processing archive firmware-iwlwifi_0.43_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
firmware-iwlwifi_0.43_all.deb

Then I changed this to process the single file that I do have, but got the same error

dpkg --install iwlwifi-3945-2.ucode

dpkg: error processing archive iwlwifi-3945-2.ucode (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
iwlwifi-3945-2.ucode
 
Old 01-09-2017, 09:17 PM   #15
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
If that doesn't work right click on the firmware and install it with gdebi.
Once it's installed, reboot.
I tried this, but never actually saw any output from gdebi. After rebooting, the wireless is still not working.
 
  


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
Wireless mouse and wireless keyboard is not working in Linux distro's jmwrocky Linux - Newbie 4 01-30-2015 01:15 PM
Intel PRO/wireless 4965 ANG wireless card on hpdv9500 not working(off and on) Quargar Linux - Hardware 0 08-02-2008 09:06 PM
Intel Wireless 3945ABG Wireless NIC card not working after 8.04 clean install creature124 Linux - Hardware 4 05-03-2008 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:26 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