ranjithsiji

Fedora 27 - Install Broadcom Wireless bcm43142 driver

Feb 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.25 KB | None | 0 0
  1. alpha@localhost  ~  lspci
  2. 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
  3. 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
  4. 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
  5. 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
  6. 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
  7. 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
  8. 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
  9. 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
  10. 00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
  11. 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
  12. 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
  13. 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
  14. 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
  15. 06:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
  16. 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast Ethernet controller (rev 07)
  17.  alpha@localhost  ~ 
  18.  alpha@localhost  ~  lspci | grep Broadcom
  19. 06:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
  20.  alpha@localhost  ~  su -
  21. Password:
  22. Welcome to fish, the friendly interactive shell
  23. Type help for instructions on how to use fish
  24. root@localhost ~# dnf install akmod-wl
  25.                   ^C
  26. root@localhost ~# dnf install akmod-wl kernel-devel
  27. Last metadata expiration check: 0:10:08 ago on Sat 24 Feb 2018 08:07:43 AM IST.
  28. Package akmod-wl-6.30.223.271-15.fc27.x86_64 is already installed, skipping.
  29. Package kernel-devel-4.13.13-300.fc27.x86_64 is already installed, skipping.
  30. Package kernel-devel-4.14.13-300.fc27.x86_64 is already installed, skipping.
  31. Package kernel-devel-4.15.3-300.fc27.x86_64 is already installed, skipping.
  32. Dependencies resolved.
  33. Nothing to do.
  34. Complete!
  35. root@localhost ~# modprobe -a wl
  36. modprobe: WARNING: Module wl not found in directory /lib/modules/4.15.3-300.fc27.x86_64
  37. root@localhost ~# modprobe wl
  38. modprobe: FATAL: Module wl not found in directory /lib/modules/4.15.3-300.fc27.x86_64
  39. root@localhost ~# akmods --force
  40. Checking kmods exist for 4.15.3-300.fc27.x86_64            [  OK  ]
  41. Building and installing wl-kmod                            [FAILED]
  42. Building rpms failed; see /var/cache/akmods/wl/6.30.223.271-15-for-4.15.3-300.fc27.x86_64.failed.log for details
  43.  
  44. Hint: Some kmods were ignored or failed to build or install.
  45. You can try to rebuild and install them by by calling
  46. '/usr/sbin/akmods --force' as root.
  47.  
  48. root@localhost ~# rpm -q broadcom-wl-dkms
  49. package broadcom-wl-dkms is not installed
  50. root@localhost ~# dnf install broadcom-wl-dkms
  51. Last metadata expiration check: 0:13:04 ago on Sat 24 Feb 2018 08:07:43 AM IST.
  52. Error:
  53.  Problem: package broadcom-wl-dkms-6.30.223.271-6.fc27.x86_64 conflicts with wl-kmod provided by kmod-wl-4.13.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64
  54.   - conflicting requests
  55.   - problem with installed package kmod-wl-4.13.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64
  56. (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
  57. root@localhost ~# dnf remove wl-kmod
  58. Dependencies resolved.
  59. =======================================================================================================================================
  60.  Package                                   Arch             Version                         Repository                            Size
  61. =======================================================================================================================================
  62. Removing:
  63.  akmod-wl                                  x86_64           6.30.223.271-15.fc27            @rpmfusion-nonfree-updates           5.5 M
  64.  kmod-wl-4.13.13-300.fc27.x86_64           x86_64           6.30.223.271-15.fc27            @@commandline                        7.1 M
  65.  kmod-wl-4.14.13-300.fc27.x86_64           x86_64           6.30.223.271-15.fc27            @@commandline                        7.1 M
  66.  kmod-wl                                   x86_64           6.30.223.271-15.fc27            @rpmfusion-nonfree-updates             0  
  67. Removing dependent packages:
  68.  broadcom-wl                               noarch           6.30.223.271-3.fc27             @rpmfusion-nonfree                    33 k
  69.  
  70. Transaction Summary
  71. =======================================================================================================================================
  72. Remove  5 Packages
  73.  
  74. Freed space: 20 M
  75. Is this ok [y/N]: y
  76. Running transaction check
  77. Transaction check succeeded.
  78. Running transaction test
  79. Transaction test succeeded.
  80. Running transaction
  81.   Preparing        :                                                                                                               1/1
  82.   Erasing          : kmod-wl-4.14.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   1/5
  83.   Running scriptlet: kmod-wl-4.14.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   1/5
  84.   Erasing          : kmod-wl-4.13.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   2/5
  85.   Running scriptlet: kmod-wl-4.13.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   2/5
  86.   Erasing          : kmod-wl-6.30.223.271-15.fc27.x86_64                                                                           3/5
  87.   Erasing          : akmod-wl-6.30.223.271-15.fc27.x86_64                                                                          4/5
  88.   Erasing          : broadcom-wl-6.30.223.271-3.fc27.noarch                                                                        5/5
  89.   Verifying        : akmod-wl-6.30.223.271-15.fc27.x86_64                                                                          1/5
  90.   Verifying        : kmod-wl-6.30.223.271-15.fc27.x86_64                                                                           2/5
  91.   Verifying        : kmod-wl-4.13.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   3/5
  92.   Verifying        : kmod-wl-4.14.13-300.fc27.x86_64-6.30.223.271-15.fc27.x86_64                                                   4/5
  93.   Verifying        : broadcom-wl-6.30.223.271-3.fc27.noarch                                                                        5/5
  94.  
  95. Removed:
  96.   akmod-wl.x86_64 6.30.223.271-15.fc27                               kmod-wl-4.13.13-300.fc27.x86_64.x86_64 6.30.223.271-15.fc27      
  97.   kmod-wl-4.14.13-300.fc27.x86_64.x86_64 6.30.223.271-15.fc27        kmod-wl.x86_64 6.30.223.271-15.fc27                              
  98.   broadcom-wl.noarch 6.30.223.271-3.fc27                            
  99.  
  100. Complete!
  101. root@localhost ~# dnf install broadcom-wl-dkms
  102. Last metadata expiration check: 0:14:38 ago on Sat 24 Feb 2018 08:07:43 AM IST.
  103. Dependencies resolved.
  104. =======================================================================================================================================
  105.  Package                         Arch                  Version                                         Repository                 Size
  106. =======================================================================================================================================
  107. Installing:
  108.  broadcom-wl-dkms                x86_64                6.30.223.271-6.fc27                             unitedrpms                1.6 M
  109. Installing dependencies:
  110.  dkms                            noarch                2.4.0-1.20170926git959bd74.fc27                 updates                    81 k
  111.  
  112. Transaction Summary
  113. =======================================================================================================================================
  114. Install  2 Packages
  115.  
  116. Total download size: 1.7 M
  117. Installed size: 7.8 M
  118. Is this ok [y/N]: y
  119. Downloading Packages:
  120.  
  121. (1/2): dkms-2.4.0-1.20170926git959bd74.fc27.noarch.rpm                                                  55 kB/s |  81 kB     00:01    
  122. (2/2): broadcom-wl-dkms-6.30.223.271-6.fc27.x86_64.rpm                                                 276 kB/s | 1.6 MB     00:05    
  123. ---------------------------------------------------------------------------------------------------------------------------------------
  124. Total                                                                                                  209 kB/s | 1.7 MB     00:08    
  125. Running transaction check
  126. Transaction check succeeded.
  127. Running transaction test
  128. Transaction test succeeded.
  129. Running transaction
  130.   Preparing        :                                                                                                               1/1
  131.   Installing       : dkms-2.4.0-1.20170926git959bd74.fc27.noarch                                                                   1/2
  132.   Running scriptlet: dkms-2.4.0-1.20170926git959bd74.fc27.noarch                                                                   1/2
  133.   Installing       : broadcom-wl-dkms-6.30.223.271-6.fc27.x86_64                                                                   2/2
  134.   Running scriptlet: broadcom-wl-dkms-6.30.223.271-6.fc27.x86_64                                                                   2/2
  135. + /usr/sbin/dkms --rpm_safe_upgrade remove -m broadcom-wl -v 6.30.223.271 --all
  136. Error! There are no instances of module: broadcom-wl
  137. 6.30.223.271 located in the DKMS tree.
  138. + :
  139. + /usr/sbin/dkms --rpm_safe_upgrade add -m broadcom-wl -v 6.30.223.271
  140.  
  141. Creating symlink /var/lib/dkms/broadcom-wl/6.30.223.271/source ->
  142.                  /usr/src/broadcom-wl-6.30.223.271
  143.  
  144. DKMS: add completed.
  145. + /usr/sbin/dkms --rpm_safe_upgrade build -m broadcom-wl -v 6.30.223.271
  146.  
  147. Kernel preparation unnecessary for this kernel.  Skipping...
  148.  
  149. Building module:
  150. cleaning build area....
  151. make -j4 KERNELRELEASE=4.15.3-300.fc27.x86_64 -C /lib/modules/4.15.3-300.fc27.x86_64/build M=/var/lib/dkms/broadcom-wl/6.30.223.271/build.....
  152. cleaning build area....
  153.  
  154. DKMS: build completed.
  155. + /usr/sbin/dkms --rpm_safe_upgrade install -m broadcom-wl -v 6.30.223.271
  156.  
  157. wl:
  158. Running module version sanity check.
  159.  - Original module
  160.    - No original module exists within this kernel
  161.  - Installation
  162.    - Installing to /lib/modules/4.15.3-300.fc27.x86_64/extra/
  163. Adding any weak-modules
  164.  
  165. depmod........
  166.  
  167. DKMS: install completed.
  168.   Verifying        : broadcom-wl-dkms-6.30.223.271-6.fc27.x86_64                                                                   1/2
  169.   Verifying        : dkms-2.4.0-1.20170926git959bd74.fc27.noarch                                                                   2/2
  170.  
  171. Installed:
  172.   broadcom-wl-dkms.x86_64 6.30.223.271-6.fc27                        dkms.noarch 2.4.0-1.20170926git959bd74.fc27                      
  173.  
  174. Complete!
  175. root@localhost ~#
  176. root@localhost ~# modprobe wl
  177. root@localhost ~# depmod -a
  178. root@localhost ~# service NetworkManager restart
  179. Redirecting to /bin/systemctl restart NetworkManager.service
  180. root@localhost ~# service NetworkManager restart
  181. Redirecting to /bin/systemctl restart NetworkManager.service
Add Comment
Please, Sign In to add comment