LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WiFi Driver Install (https://www.linuxquestions.org/questions/linux-newbie-8/wifi-driver-install-4175608976/)

ObsoleteMan 07-01-2017 02:41 PM

WiFi Driver Install
 
Hi Everybody,

I'm having a heck of a time installing "firmware-iwlwifi_0.43_all.deb". I an getting an "failed with unknown error code" This is on a HP 2730p tablet with an Intel wifi card.
Any Ideas?

Thanks in advance,
Mike

AwesomeMachine 07-01-2017 02:51 PM

OK, how are you actually trying to install the file? Normally you would use:
Code:

$ apt-get install firmware-iwlwifi

dejank 07-01-2017 06:16 PM

Or, if you already downloaded it, and you do not have working connection on that laptop, dpkg -i /path/to/firmware-iwlwifi_0.43_all.deb.

beachboy2 07-01-2017 10:06 PM

ObsoleteMan,

You don’t say which Linux distribution you are using.

This specific info for the HP 2730p may be of help:

http://www.linlap.com/hp_elitebook_2..._configuration

Also see the Discussion comments.

With wifi problems I have found that it is always best to obtain as much information as possible right from the outset, rather than adopting a piecemeal, drawn out “20 questions” scenario.

Try this:

Wireless Script

http://ubuntuforums.org/showthread.php?t=2082305

(developed by Wild Man & Krytarik).

If you can connect to the internet via cable or other means, please open a terminal (Ctrl-Alt-T) and run (copy & paste) the following code into it:

Script Code:

Code:

wget -N -t 5 -T 10 https://dl.dropbox.com/s/qjc87hzk1z5x6z0/wireless_script && chmod +x wireless_script && ./wireless_script
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time.

NB The MAC address, WPA key and WEP key are removed for your security.

Paste the contents of the wireless-info.txt or wireless-info.tar.gz file at http://paste.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.

If you have no Internet connection on the computer you are trying to troubleshoot, then follow the "No Internet - GUI Method" instructions from the post by varunendra in the Ubuntu forums.

Shadow_7 07-02-2017 06:41 AM

https://github.com/OpenELEC/iwlwifi-firmware

Not the only source for driver firmware, but probably a main one. Otherwise the iwlwifi driver has been in the kernel a while and your distro probably has a version in it's packages. Baring more purist distros like trisquel that intentionally omit such things. The github route is probably better if you have newer hardware that hasn't yet trickled down into your distros versions of things.

In debian that package is firmware-iwlwifi and contains the following files:

Code:

firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.7.bseq
firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
firmware-iwlwifi: /lib/firmware/intel/ibt-hw-37.8.bseq
firmware-iwlwifi: /lib/firmware/iwlwifi-100-5.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-1000-5.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-105-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-135-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-2000-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-2030-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-3160-7.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-3160-8.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-3160-9.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-3945-2.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-4965-2.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-5000-2.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-5000-5.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-5150-2.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6000-4.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6000g2a-5.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6000g2a-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6000g2b-6.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6050-4.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-6050-5.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-7260-7.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-7260-8.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-7260-9.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-7265-8.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-7265-9.ucode
firmware-iwlwifi: /usr/share/bug/firmware-iwlwifi/presubj
firmware-iwlwifi: /usr/share/doc/firmware-iwlwifi/changelog.gz
firmware-iwlwifi: /usr/share/doc/firmware-iwlwifi/copyright

Getting such a list is fairly easy in debian.

$ apt-file list firmware-iwlwifi

or

$ dpkg -c /var/cache/apt/archives/firmware-iwlwifi_0.43_all.deb

pros and cons for each method. And mostly informative, not really the way to make things work. But possibly a way to tell that what you need isn't there and you need to seek non-distro ways to acquire the things you need. YMMV and my example is debian jessie based (I really should upgrade to stretch soon).

ObsoleteMan 07-04-2017 01:19 PM

Hello again,

Sorry for any duplications of my reply.

I'm running Debian 8.7 on a HP Elitebook 2730p with an intel 5000 wi-fi card.

Mike

Shadow_7 07-04-2017 05:15 PM

Seems like package "firmware-iwlwifi" has some files for that.

$ apt-file find iwlwifi-5000
firmware-iwlwifi: /lib/firmware/iwlwifi-5000-2.ucode
firmware-iwlwifi: /lib/firmware/iwlwifi-5000-5.ucode

Perhaps it's not installed.

ObsoleteMan 07-05-2017 12:23 PM

iwlwifi
 
Shadow7
is correct in that it is not installed. I ran both the apt and dpkg and received command not found and no file or directory respectivly. Therein lies the problem....I think.

AwsomeMachine,
apt-get install firmware-iwlwifi returns root@new-hostHpTablet:/home/michael# apt-file list firmware-iwlwifi
bash: apt-file: command not found
root@new-hostHpTablet:/home/michael# apt-get install firmware-iwlwifi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firmware-iwlwifi 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

E: Package 'firmware-iwlwifi' has no installation candidate
root@new-hostHpTablet:/home/michael#

dejank
I have downloaded from wired connection as well as tried USB transfer, it simple will not install.

Beachboy,
here is the output :


======== Wireless-Info START ========

System-Info ~~~~~~~~~~~~~~~~~~~~~~~~

new-hostHpTablet 3.16.0-4-amd64 x86_64, Debian GNU/Linux 8.8 (jessie), jessie

CPU : Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz
Memory : 3802 MB
Uptime : 12:54:47 up 31 min, 3 users, load average: 0.25, 0.26, 0.27


lspci ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:30eb]
Kernel driver in use: e1000e
--
02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]
85:09.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05)


lsusb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 049f:0081 Compaq Computer Corp.
Bus 006 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


PCMCIA Card Info ~~~~~~~~~~~~~~~~~~~



iwconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~



rfkill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




lsmod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hp_wmi 13238 0
sparse_keymap 12818 1 hp_wmi
iwlwifi 96547 0
cfg80211 413828 1 iwlwifi
rfkill 18867 4 cfg80211,hp_wmi,bluetooth
wmi 17339 1 hp_wmi


module parameters ~~~~~~~~~~~~~~~~~~

cfg80211 (3):
iwlwifi (13):
rfkill (1):
wmi (2):


nm-tool ~~~~~~~~~~~~~~~~~~~~~~~~~~~~


================o======o========o========o=========o===========o==============o===========
Interface & ID | Type | Driver | State | Default | Speed | Support | HW Addr
================o======o========o========o=========o===========o==============o===========
| | | | | | |
----------------+------+--------+--------+---------+-----------+--------------+-----------


NetworkManager.state ~~~~~~~~~~~~~~~
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true


NetworkManager.conf ~~~~~~~~~~~~~~~~

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false


NM WiFi Profiles ~~~~~~~~~~~~~~~~~~~



interfaces ~~~~~~~~~~~~~~~~~~~~~~~~~

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

resolv.conf ~~~~~~~~~~~~~~~~~~~~~~~~

search home
nameserver 192.168.1.1


Routes & Ping ~~~~~~~~~~~~~~~~~~~~~~

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 1024 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.329/0.342/0.355/0.013 ms

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.309/0.371/0.433/0.062 ms


iw reg get ~~~~~~~~~~~~~~~~~~~~~~~~~

(Region : "en_US.UTF-8")
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)


iwlist chan ~~~~~~~~~~~~~~~~~~~~~~~~

-


iwlist scan ~~~~~~~~~~~~~~~~~~~~~~~~



blacklist ~~~~~~~~~~~~~~~~~~~~~~~~~~


modinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[hp_wmi]
filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/platform/x86/hp-wmi.ko
depends: wmi,sparse-keymap,rfkill

[iwlwifi]
filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
version: in-tree:
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265-9.ucode
firmware: iwlwifi-3160-9.ucode
firmware: iwlwifi-7260-9.ucode
firmware: iwlwifi-8000-8.ucode
srcversion: 22711F64DD90C6C8259DC52
depends: cfg80211
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: antenna_coupling:specify antenna coupling in dB (defualt: 0 dB) (int)
parm: wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int)
parm: nvm_file:NVM file name (charp)
parm: uapsd_disable:disable U-APSD functionality (default: Y) (bool)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)

[cfg80211]
filename: /lib/modules/3.16.0-4-amd64/kernel/net/wireless/cfg80211.ko
depends: rfkill
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

[rfkill]
filename: /lib/modules/3.16.0-4-amd64/kernel/net/rfkill/rfkill.ko
depends:
parm: master_switch_mode:SW_RFKILL_ALL ON should: 0=do nothing (only unlock); 1=restore; 2=unblock all (uint)
parm: default_state:Default initial state for all radio types, 0 = radio off (uint)

[wmi]
filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/platform/x86/wmi.ko
depends:
parm: debug_event:Log WMI Events [0/1] (bool)
parm: debug_dump_wdg:Dump available WMI interfaces [0/1] (bool)


udev rules ~~~~~~~~~~~~~~~~~~~~~~~~~

# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC eth0>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Custom files/entries ~~~~~~~~~~~~~~~

/etc/modules : Default
/etc/rc.local : Default
/etc/modprobe.d : Not Default
/etc/pm/(cnf|pw|sl) : Default

[/etc/modprobe.d]
modesetting.conf : options cirrus modeset=1
options mgag200 modeset=1


Kernel boot line ~~~~~~~~~~~~~~~~~~~

BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=e1a7ecfd-78d5-4796-8d4a-110de8bf8253 ro quiet


dmesg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 0.021644] Initializing cgroup subsys net_cls
[ 0.021661] Initializing cgroup subsys net_prio
[ 0.967097] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 0.967525] audit: initializing netlink subsys (disabled)
[ 9.833895] wmi: Mapper loaded
[ 10.263969] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 10.264297] iwlwifi 0000:02:00.0: irq 46 for MSI/MSI-X
[ 10.288188] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-5000-5.ucode (-2)
[ 10.288250] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 10.288252] iwlwifi 0000:02:00.0: Falling back to user helper
[ 11.135281] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-5000-4.ucode (-2)
[ 11.135283] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 11.135284] iwlwifi 0000:02:00.0: Falling back to user helper
[ 11.211999] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-5000-3.ucode (-2)
[ 11.212013] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 11.212014] iwlwifi 0000:02:00.0: Falling back to user helper
[ 11.213534] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-5000-2.ucode (-2)
[ 11.213535] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 11.213537] iwlwifi 0000:02:00.0: Falling back to user helper
[ 11.214060] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-5000-1.ucode (-2)
[ 11.214061] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 11.214063] iwlwifi 0000:02:00.0: Falling back to user helper
[ 11.214575] iwlwifi 0000:02:00.0: no suitable firmware found!
[ 14.552122] hp_wmi: Unknown event_id - 0 - 0x0
[ 14.552166] hp_wmi: Unknown event_id - 0 - 0x0
[ 14.552200] hp_wmi: Unknown event_id - 0 - 0x0
[ 14.552233] hp_wmi: Unknown event_id - 0 - 0x0
[ 348.057638] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

======== Done ========

dejank 07-05-2017 12:38 PM

That apt-file is not installed by default, you need to install it if you want to use it. What do you mean by it want install for that package that you've downloaded? What exactly did you type? What was output of your command? Just do it and paste both command and output here. If you are in directory where your downloaded deb pacakge is, it should not fail, if you have downloaded right thing and if you have used right command. To make things simple, open your terminal. Then go to your home directory by typing cd. After that, do this:

Code:

wget http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_0.43_all.deb
Next step would be to su to root if you do not use sudo. If you use sudo, put it in front of the following command:

Code:

dpkg -i firmware-iwlwifi_0.43_all.deb
That should install it. If you did it differently, please reproduce here steps you did. Also, you've got that package has no install candidate because you probably do not have right sources for it, it requires non-free and contrib in sources lists. To get right sources list files for your version of debian, please go here:

https://debgen.simplylinux.ch/ and use it to generate your list. Or, just to be sure that you'll get everything that you might need for it, here it is what you should end up with:


Code:

#------------------------------------------------------------------------------#
#                  OFFICIAL DEBIAN REPOS                   
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://deb.debian.org/debian/ jessie main contrib non-free
deb-src http://deb.debian.org/debian/ jessie main contrib non-free

deb http://deb.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://deb.debian.org/debian/ jessie-updates main contrib non-free

deb http://deb.debian.org/debian-security jessie/updates main
deb-src http://deb.debian.org/debian-security jessie/updates main

deb http://ftp.debian.org/debian jessie-backports main
deb-src http://ftp.debian.org/debian jessie-backports main

You should put that in your /etc/apt/sources.list file, replacing anything that was there before. Use your preferred text editor. You will need root privs, so su to root, or use sudo. After you put that in your sources.lists, if you have working connection you can install that package with apt-get install firmware-iwlwifi, there will be no need for wget and dpkg.

colorpurple21859 07-05-2017 12:50 PM

maybe this will help: https://wiki.debian.org/iwlwifi

ObsoleteMan 07-06-2017 11:04 AM

Hi Everybody,

I finally got it working, I'm not exactly sure what I did as I tried so many things, but it's working. I want to thank all of you for your time and effort.

Mike

beachboy2 07-06-2017 12:24 PM

ObsoleteMan,

Well done that (Obsolete) man!


All times are GMT -5. The time now is 09:49 PM.