networking issues

90 views
Skip to first unread message

randal...@gmail.com

unread,
Aug 17, 2016, 5:35:20 PM8/17/16
to qubes-users
i have a bcm 4360 wireless card on my motherboard and I cant seam to get the drivers installed. I was told to install this to net vm [CODE]wget http://git.io/vuLC7 -v -O fedora23_broadcom_wl_install.sh && sh ./fedora23_broadcom_wl_install.sh;[/CODE] but I ended up getting this mess

[CODE][user@sys-net ~]$ wget http://git.io/vuLC7 -v -O fedora23_broadcom_wl_install.sh && sh ./fedora23_broadcom_wl_install.sh;
URL transformed to HTTPS due to an HSTS policy
--2016-08-17 14:13:11-- https://git.io/vuLC7
Resolving git.io (git.io)... 54.243.161.116, 23.23.111.66, 23.23.173.104
Connecting to git.io (git.io)|54.243.161.116|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://gist.githubusercontent.com/onpubcom/7f41dc9cbe90556b2113/raw/a69939c941319741744bea28dadf273f118d67a2/fedora23_broadcom_wl_install.sh [following]
--2016-08-17 14:13:11-- https://gist.githubusercontent.com/onpubcom/7f41dc9cbe90556b2113/raw/a69939c941319741744bea28dadf273f118d67a2/fedora23_broadcom_wl_install.sh
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.40.133
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1058 (1.0K) [text/plain]
Saving to: ‘fedora23_broadcom_wl_install.sh’

fedora23_broadcom_w 100%[===================>] 1.03K --.-KB/s in 0s

2016-08-17 14:13:11 (76.1 MB/s) - ‘fedora23_broadcom_wl_install.sh’ saved [1058/1058]

Last metadata expiration check performed 0:43:02 ago on Wed Aug 17 13:30:10 2016.
Package gcc-5.3.1-6.fc23.x86_64 is already installed, skipping.
Package kernel-devel-1000:4.1.24-10.pvops.qubes.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Sending application list and icons to dom0
Complete!
mkdir: cannot create directory ‘hybrid_wl_f23’: File exists
--2016-08-17 14:13:14-- http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
Resolving www.broadcom.com (www.broadcom.com)... 209.132.249.240
Connecting to www.broadcom.com (www.broadcom.com)|209.132.249.240|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2928541 (2.8M) [application/octet-stream]
Saving to: ‘hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz.4’

hybrid-v35_64-nodeb 100%[===================>] 2.79M 892KB/s in 3.4s

2016-08-17 14:13:17 (847 KB/s) - ‘hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz.4’ saved [2928541/2928541]

Makefile
lib/
lib/wlc_hybrid.o_shipped
lib/LICENSE.txt
src/
src/include/
src/include/typedefs.h
src/include/linuxver.h
src/include/bcmutils.h
src/include/siutils.h
src/include/packed_section_start.h
src/include/epivers.h
src/include/linux_osl.h
src/include/bcmendian.h
src/include/packed_section_end.h
src/include/pcicfg.h
src/include/bcmdefs.h
src/include/bcmcrypto/
src/include/bcmcrypto/tkhash.h
src/include/wlioctl.h
src/include/osl.h
src/shared/
src/shared/bcmwifi/
src/shared/bcmwifi/include/
src/shared/bcmwifi/include/bcmwifi_channels.h
src/shared/bcmwifi/include/bcmwifi_rates.h
src/shared/linux_osl.c
src/wl/
src/wl/sys/
src/wl/sys/wl_dbg.h
src/wl/sys/wlc_key.h
src/wl/sys/wl_linux.h
src/wl/sys/wl_linux.c
src/wl/sys/wlc_wowl.h
src/wl/sys/wl_iw.c
src/wl/sys/wlc_pub.h
src/wl/sys/wl_iw.h
src/wl/sys/wl_export.h
src/wl/sys/wl_cfg80211_hybrid.h
src/wl/sys/wlc_ethereal.h
src/wl/sys/wl_cfg80211_hybrid.c
src/wl/sys/wlc_utils.h
src/wl/sys/wlc_types.h
src/common/
src/common/include/
src/common/include/proto/
src/common/include/proto/bcmeth.h
src/common/include/proto/ieee80211_radiotap.h
src/common/include/proto/ethernet.h
src/common/include/proto/802.1d.h
src/common/include/proto/bcmip.h
src/common/include/proto/bcmevent.h
src/common/include/proto/802.11.h
src/common/include/proto/wpa.h
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make[1]: *** /lib/modules/4.1.13-9.pvops.qubes.x86_64/build: No such file or directory. Stop.
Makefile:165: recipe for target 'clean' failed
make: *** [clean] Error 2
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
install: cannot create regular file ‘/lib/modules/4.1.13-9.pvops.qubes.x86_64/kernel/drivers/net/wireless/wl.ko’: Read-only file system
Makefile:168: recipe for target 'install' failed
make: *** [install] Error 1
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.dep.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.dep.bin.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.alias.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.alias.bin.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.softdep.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.symbols.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.symbols.bin.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.builtin.bin.tmp, 1101, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/4.1.13-9.pvops.qubes.x86_64, modules.devname.tmp, 1101, 644): Read-only file system
rmmod: ERROR: Module b43 is not currently loaded
rmmod: ERROR: Module ssb is not currently loaded
rmmod: ERROR: Module bcma is not currently loaded
modprobe: FATAL: Module wl not found in directory /lib/modules/4.1.13-9.pvops.qubes.x86_64
blacklist b43
blacklist ssb
blacklist bcma
wl[/CODE]

I was also told to install this into the fedora 23 template but once I do i get this

[CODE]
v[user@fedora-23-net ~]$ wget http://www.broadcom.com/docs/linux_sta/$FILE
--2016-08-17 14:50:34-- http://www.broadcom.com/docs/linux_sta/
Resolving www.broadcom.com (www.broadcom.com)... failed: No address associated with hostname.
wget: unable to resolve host address ‘www.broadcom.com’[/CODE]
I have looked everywhere and all I can find are the posts where the user makes a small mistake that he fixes himself.

Andrew David Wong

unread,
Aug 18, 2016, 1:52:37 AM8/18/16
to randal...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-08-17 14:35, randal...@gmail.com wrote:
> I was also told to install this into the fedora 23 template but
> once I do i get this
>
> [CODE] v[user@fedora-23-net ~]$ wget
> http://www.broadcom.com/docs/linux_sta/$FILE --2016-08-17
> 14:50:34-- http://www.broadcom.com/docs/linux_sta/ Resolving
> www.broadcom.com (www.broadcom.com)... failed: No address
> associated with hostname. wget: unable to resolve host address
> ‘www.broadcom.com’[/CODE] I have looked everywhere and all I can
> find are the posts where the user makes a small mistake that he
> fixes himself.
>

By default, TemplateVMs have access only to the Updates Proxy. You
should first enable all network access by checking the "Allow full
access for N minutes" box on the "Firewall rules" tab, then try this
again.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXtU0XAAoJENtN07w5UDAwTRoQAIS1hpojDMN8OASYJXElcR9N
YpKYnzHF0FzW0BECw9Wzgs58ATYBsTGQ7qA9MlWaS1UhL0U9PuNNZl+QzxVxV9ca
NGVqHIspY/SDtrpc5NqlsK5cOzCNOLpvdpxhHqaBHLxbSlUlz00yv/kXc6PPLLJq
r8qbyJhDTQG9lGYR1kFFMa+p8H+kyAJzkAlx97LDXFk+CL9edFaniFoaWTvDRVvV
Nk3sM32JPTHmbVAV/BzDNouDmXkxgHxnFIL+h9YX/Z7slmBbYF9fwi4pO/K3MIRL
82RvlCyjYsl/Du17zkknrkOCNneCbXA8MQs9vrPc5PT5oR+XPIxdRT2kGliziIV1
yqmAfR0QtwSC1Q7Ek0NYCL4nVHwP9GW6/FV+LFNCjS/8yQqlmqiTtykl+/UPhDba
gF6SNZQaFZML/tnvbyPXTFNjdYOQBq5gGmrqWONxcQXXmX/XPQkh7QFS+ssI+KYl
tO5oPycDMS7rqnrY7D1WPxaaDLcTuBp6AzEnCSP/z7mVJkrxqHsH9anjhGwU4NpE
qKslZb5XXJHaUmV9ENjg/jpKC3mZfUdXeu8fTnEl9MWOOd62qiTN6mjlVO+GoPeQ
EOIAG5EBHBI573hPJFEUlwNyvTp7ITMDGdn7fO9odIEe8Ccv8EWILO9uJfBaYGGO
rSrWBzL1h9WFHv3fA+s4
=HcEU
-----END PGP SIGNATURE-----

Marek Marczykowski-Górecki

unread,
Aug 18, 2016, 5:05:42 AM8/18/16
to randal...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Aug 17, 2016 at 02:35:20PM -0700, randal...@gmail.com wrote:
> i have a bcm 4360 wireless card on my motherboard and I cant seam to get the drivers installed. I was told to install this to net vm [CODE]wget http://git.io/vuLC7 -v -O fedora23_broadcom_wl_install.sh && sh ./fedora23_broadcom_wl_install.sh;[/CODE] but I ended up getting this mess
>
> [CODE][user@sys-net ~]$ wget http://git.io/vuLC7 -v -O fedora23_broadcom_wl_install.sh && sh ./fedora23_broadcom_wl_install.sh;

(...)

> Package gcc-5.3.1-6.fc23.x86_64 is already installed, skipping.
> Package kernel-devel-1000:4.1.24-10.pvops.qubes.x86_64 is already installed, skipping.

Here you have kernel-devel for 4.1.24, but ...

(...)

> KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
> make[1]: *** /lib/modules/4.1.13-9.pvops.qubes.x86_64/build: No such file or directory. Stop.
> Makefile:165: recipe for target 'clean' failed
> make: *** [clean] Error 2

... you're running 4.1.13-9. You can change kernel version for this VM
in VM settings. Or you can simply update kernel-devel package.

But that's not all:

> install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
> install: cannot create regular file ‘/lib/modules/4.1.13-9.pvops.qubes.x86_64/kernel/drivers/net/wireless/wl.ko’: Read-only file system

/lib/modules/(kernel version) is mounted read-only, so you can't modify
it. You can either switch to in-VM kernel[1], or keep that module
(`wl.ko`) in some other directory and load it using `insmod
/path/to/wl.ko`. The former method will require somehow more work, but
will be easier to maintain later.

[1] https://www.qubes-os.org/doc/managing-vm-kernel/#tocAnchor-1-1-3

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXtXpfAAoJENuP0xzK19csTxYH/3WqnU86tz8zN2XxTWpE9G2+
Ig3ENybBgocEr4CoWxuL2CG0uDVsLDaqsAf/R7YWGJ1SHtFCrBtAVh0RWcQqcuAG
PmnwO5BqcbXJCxyyNZQqzh6c6rWAxd1Hfhs/eTO1l28iAe4UQFTMG3At20kGigVY
A2EYudYPtc54/ByaEYQ9upqmyN9kLmXS+Kuo9mKRn2+A+BvJmzXeJ7iAkeyCtP7N
hJnbvwX0I7rVC1CMPm6yfHp1716klQcI1i1//FmxAEd/kcSXBoMRxjvD6LpIwsF/
sqI16ppiUPc+RHQBp2oO/hhgc2jb8x7L6iKFoeVJFlKJcjx5zaNGdrqWFA4MYm4=
=Dm91
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages