You are not logged in.

#1 2016-02-18 19:29:24

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

bcm 43142 problem installing broadcom-wl-dkms

I have problem with installing driver, look:

yaourt -S broadcom-wl-dkms

==> Downloading broadcom-wl-dkms PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x 001-null-pointer-fix.patch
x 002-rdtscl.patch
x PKGBUILD
x broadcom-wl-dkms.conf
x broadcom-wl-dkms.install
x dkms.conf.in
broadcom-wl-dkms 6.30.223.271-4  (2016-01-13 18:53)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> broadcom-wl-dkms dependencies:
 - dkms (already installed)


==> Edit broadcom-wl-dkms.install ? [Y/n] ("A" to abort)
==> ----------------------------------------------------
==> n

==> Continue building broadcom-wl-dkms ? [Y/n]
==> ------------------------------------------
==> 
==> Building and installing package
==> Making package: broadcom-wl-dkms 6.30.223.271-4 (чет, 18. феб 2016.  20:21:21 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found broadcom-wl-dkms.conf
  -> Found dkms.conf.in
  -> Found 001-null-pointer-fix.patch
  -> Found 002-rdtscl.patch
  -> Downloading hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
==> ERROR: Failure while downloading https://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz
    Aborting...
==> ERROR: Makepkg was unable to build broadcom-wl-dkms.

Any help?


I do not speak English, but I understand...

Offline

#2 2016-02-18 20:12:43

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: bcm 43142 problem installing broadcom-wl-dkms

What exactly is the problem here? That looks like normal yaourt output.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2016-02-18 20:55:24

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: bcm 43142 problem installing broadcom-wl-dkms

OK, package is not build because can not download file from server, so what to do?

Or, bottom line, how to enable wifi with this broadcom wifi card? What to install?

Last edited by Pyntux (2016-02-18 21:01:17)


I do not speak English, but I understand...

Offline

#4 2016-02-18 20:56:40

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: bcm 43142 problem installing broadcom-wl-dkms

Don't use yaourt.  Use either manually download tarball + makepkg OR cower + makepkg.  If you don't understand how it works without yaourt then you don't understand it at all.

Edit: and once you have a PKGBUILD to use with makepkg then you can edit it to make curl use the insecure mode if you must.

Last edited by headkase (2016-02-18 20:57:41)

Offline

#5 2016-02-18 21:02:40

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: bcm 43142 problem installing broadcom-wl-dkms

OK, headkase, I am on this forum much longer than you, so ofcourse I know how to build package with makepkg...Thanks for help, I will manual download file and try to make pkg, and live output here....


I do not speak English, but I understand...

Offline

#6 2016-02-18 21:05:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: bcm 43142 problem installing broadcom-wl-dkms

The error is pretty clear: curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

Offline

#7 2016-02-18 21:06:11

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: bcm 43142 problem installing broadcom-wl-dkms

www.broadcom.com is not supplying the intermediate certificate "Entrust Certification Authority - L1K" so curl (and wget will fail to verify ( firefox and chromium will download the intermediate certificate )) the chain to "Entrust Root Certification Authority - G2" which should in the default certificate bundle supplied by the ca-certificates package.

curl https://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz
curl: (60) SSL certificate problem: unable to get local issuer certificate
....
$ cd /tmp
$ mkdir www.broadcom.com
$ cd www.broadcom.com
/tmp/www.broadcom.com]$ curl -O https://www.entrust.com/root-certificates/entrust_g2_ca.cer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1533  100  1533    0     0   2877      0 --:--:-- --:--:-- --:--:--  2881
/tmp/www.broadcom.com]$ ls
entrust_g2_ca.cer
/tmp/www.broadcom.com]$ curl -O https://www.entrust.com/root-certificates/entrust_l1k.cer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1844  100  1844    0     0   3455      0 --:--:-- --:--:-- --:--:--  3459
/tmp/www.broadcom.com]$ cd ..
/tmp]$ c_rehash www.broadcom.com/
Doing www.broadcom.com/
/tmp]$ ls www.broadcom.com/
02265526.0  2835d715.0  entrust_g2_ca.cer  entrust_l1k.cer
curl --capath www.broadcom.com -O  https://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2801k  100 2801k    0     0   686k      0  0:00:04  0:00:04 --:--:--  686k

The first two downloads are made without specifying an alternate certificate location and so are verified with the default bundle.

Offline

#8 2016-02-18 22:18:11

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: bcm 43142 problem installing broadcom-wl-dkms

Pyntux wrote:

OK, headkase, I am on this forum much longer than you, so ofcourse I know how to build package with makepkg...Thanks for help, I will manual download file and try to make pkg, and live output here....

Well, here's the thing.  You must implicitly trust AUR packages in general or not use them at all.  Not using them will afford you greater security but not absolute security.  The error message is quite clear, it is about an invalid certificate.  It even gives instructions in the error for skipping the certificate.  Since you trust the AUR already, even though you technically shouldn't, you can just modify the PKGBUILD to not validate the certificate.  That is the quick and dirty hack.  Or you can do the proper thing and follow up with the other posters in your thread about how to configure your system to correctly validate the certificate.

Offline

Board footer

Powered by FluxBB