AvANa-BBS / freepto-lb

Encrypted GNU/Linux OS (based on Debian Wheezy) which can be installed on USB flash drive. Freepto is designed for encrypt your communications, carry your documents in secure way and save your anonymity.
http://www.freepto.mx/
43 stars 14 forks source link

wireless drivers (broadcom) #67

Open boyska opened 11 years ago

boyska commented 11 years ago

broadcom wireless don't work. It is not so rare, unfortunately

boyska commented 11 years ago

https://git-tails.immerda.ch/tails/tree/config/chroot_local-preseed/firmware

ghost commented 10 years ago

I'm working on this here: https://github.com/vinc3nt/freepto-lb/tree/broadcom

ghost commented 10 years ago

The following img file can be used to test this issue:

http://dev.freepto.mx/dev/broadcom/2014-02-09_17.19_v0.1.2-STABLE-50-ge03a72a-it_IT.UTF-8/

boyska commented 10 years ago

For testers: you should check that the wireless work flawlessly without doing anything. Just networkmanager, clickclick, ok.

Usage of qemu/virtualbox is NOT possible to test this issue; you must put the image to a pendrive and boot from there.

AreYouLoco commented 10 years ago

I got broadcom wireless on my netbook. Will try that image later.

boyska commented 10 years ago

great! let us know of any annoyance

AreYouLoco commented 10 years ago

No it doesn't work. nm-applet says that firmware is missing.

I used image: http://dev.freepto.mx/dev/broadcom/2014-02-09_17.19_v0.1.2-STABLE-50-ge03a72a-it_IT.UTF-8/2014-02-09_17.19_v0.1.2-STABLE-50-ge03a72a-it_IT.UTF-8.img Command (simply): sudo make_freepto -i %that_image_name% %my_usb_device%

I haven't changed boot parameters I've simply booted i486 (of course). Dmesg:

b43 ssb0:0: firmware: agent aborted loading b43/ucode15.fw (not found?) b43 ssb0:0: firmware: agent aborted loading b43-open/ucode15.fw (not found?) b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.

Hardware: Compaq HP Mini CQ10-130CA Wireless: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

boyska commented 10 years ago

well, that's a pity. Anyway @AreYouLoco thanks a lot for testing!

AreYouLoco commented 10 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

No problem. Fell free to prepare a new image to test:D

AreYouLoco https://github.com/AreYouLoco thanks a lot for testing!

— Reply to this email directly or view it on GitHub https://github.com/AvANa-BBS/freepto-lb/issues/67#issuecomment-48877593.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Encrypt and Sign your emails with GPG and http://www.enigmail.net/ !

iQIcBAEBAgAGBQJTw64XAAoJEMdXMIjot97aPCIP/3Qu2tBx5WDDvSXqVlcOofLF V9XZ2W24kTXRQPB2DGEQBHohNV7fZI/dQAxem7WDPLSXl3hjQheCwX17pxcVxY2Z w5Z4ZTXvHeSfMyl543FhcThUOlwEaEJIrWqQXO/8PBo7pzdywRhteZR3BPr7VtU3 aI5z2dwqjFQcp1S7PdPA+w5nWvh4OCPxaRMF/O+Wz7jFVK6zSDFNdcrviYSNLNom +t5EgV1v9vdnTO7wCUENCm8h2bZmBCsPqSaGnBdbwyqObmMwPCpI4QbH/Drtmb6u 2L1+VYVcQLmjCAPNi/6uc5V+4rn1VhicFxEn218DDJU9yP+eixMSUeO5gt0rbSGK VPEveBH6zeo4CYstcd7pecDgiMtG/rlNOB15IyB91mBFPYRN61wtQDj+6NIsGtAW GudbOMVku1V/rJvIDjuPrPJNwq/EeK0hkpR2Qz/0+FkLiT6zAybbCS3K/Gf0d1qn rRKGRAGhctpSvWoO1PajOEz5EqceIi4ykdkd57a57xE8CJqwj8uNZys19b5OXRiJ yhN8o7JVmxYwgibjWS47NR/0rvzL/GGU2k+rW6wE4mbm3/Pdo6D3ZWl9i07s/UNf CPcN9TrU0IdVz4ctmnsrtFRY7aT4pHwmS5VQXlgw5xCmAmFPWYOSUbZSYYIWSGRQ E8QhNg0s6D3deRzYWICB =JVhE -----END PGP SIGNATURE-----

ghost commented 10 years ago

the provided freepto img doesn't include all needed commits. I'm sorry about that.

Could you try with the following? http://dev.freepto.mx/dev/broadcom/2014-07-14_21.36_v0.1.2-STABLE-84-g828ee89-it_IT.UTF-8/

Many thanks

AreYouLoco commented 10 years ago

It's even worse.

Network manager doesn't show up any wireless extension like there is no wireless card. dmesg show up nothing but I can see my device in lspci.

I would try a few things but: iwconfig, ifconfig, modprobe -> commands not found. And if I didn;'t make any changes the defauld root password should be freepto but it seems incorrect don't know why.

boyska commented 10 years ago

no, freepto is the cryptsetup password. The user password (the one you use to get sudo) is live. Can you try to investigate more, now that sudo should work?

ghost commented 10 years ago

It's very strange. As stated on the Linux Wireless website, you chip (BCM4312) seems to be fully supported by the b43 driver.

Please check if the module has been loaded at boot.

Many thanks

AreYouLoco commented 10 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

It's very strange. As stated on the Linux Wireless website http://wireless.kernel.org/en/users/Drivers/b43#Supported_devices,

you chip (BCM4312) seems to be fully supported by the b43 driver.

Please check if the module has been loaded at boot.

Many thanks

So. I manually loaded b43 module (sudo modprobe b43) and after that wifi showed up in NM. Tried connection. Everything works fine. (Even Tor). I knew that b43 fully support my device and it do. But maybe more testing would be necessary. Maybe someone with another wifi card.

I think that this module should be loaded automatically. A standard freepto end-user shouldn't be bothered by module loading. And probably he/she wouldn't even know the correct module. So it must be automatic.

I don't know how kernel determines which modules to load.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Encrypt and Sign your emails with GPG and http://www.enigmail.net/ !

iQIcBAEBAgAGBQJTxu2EAAoJEMdXMIjot97ayfIQALHff0TjOCc3fTof3kVZSVR+ 8DEQSyAh4iIqfoPWUopLJMv18J/bwihU/BllFkRwSs6ElN0JXZT7sdWa0VqNhR+R KFyloZxFmlrfYudo+SxQza8AM2jx+FW7VaD4jq5Zw0Jy2QiGM/MJCnBV9PltyL0Z yponk1BWwKdK3NNT4WvdqBZa9a83YwNcVDeF8wCSya8GokOv5KZHMgHM4EgceBmr iRHQrHSmGuo4eY6aCKsm+TxvjPTKirsTskzZ965zTGwVZdzpPh8tTIYC44jimrPA OKhqxDzuQX2CBgnK89IuvtOSRd1hwX+WrYauMxp5d4UKnOpfGnZtN4gacFa80J8q FLS6wnyaeB7+kOmgbBb3Id+mLZLhirHsSbbHu1/LVxRWFY/kYZT7sbwwn7gWqS3a y3Fj3/eGj9+gFWg/wMkCcOgZ6OL8SQYjZaUxG+wnZi/PeI5RReI4WGqUvWwhlOXn wObrqnZsFEDTlKGMPJn15DQ7m0sQU1DsMnPCP+wTypx5VEcIrTcHPkZlNp5s1y1V SIdwA5/GjkEoiJ5V+HBkrAv035Q4XihW5LL9YZ62sPQGm7xCqsEd7eDqI+Fk6grd EXIyqS2b5vllClYidZ2wj5PVvvxN28nv8yuO5rmnR8bntkgsMRyF3kzFFAVclNSn 7rQ0LJS/6qaEpfblBVox =LBCl -----END PGP SIGNATURE-----

boyska commented 10 years ago

On Wed, Jul 16, 2014 at 02:24:36PM -0700, AreYouLoco? wrote:

I think that this module should be loaded automatically. A standard freepto end-user shouldn't be bothered by module loading. And probably he/she wouldn't even know the correct module. So it must be automatic.

sure! Anyway, this seems to be a good start. Could we just try to load it always, and then just ignore if the modprobe fails, assuming that it is just not needed for the current hardware? Or an udev rule?

ghost commented 10 years ago

Could you please try the last build? Download

Now the b43 module should be loaded at boot

Cheers

AreYouLoco commented 10 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Yeah sure.

Please wait....

Could you please try the last build? Download http://dev.freepto.mx/dev/broadcom/2014-07-22_13.14_v0.1.2-STABLE-85-g07f1596-it_IT.UTF-8/

Now the b43 module should be loaded at boot

Cheers

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Encrypt and Sign your emails with GPG and http://www.enigmail.net/ !

iQIcBAEBAgAGBQJTzrU1AAoJEMdXMIjot97aU0oQAKlyS9h8Odo8ZNKLEjVbYcpL +WTAonT1SRafv2JMFP+RAai4kHN4Ps2UgwkuAB8A7rspWnEAs8YOBXqCaDWcIISb MCgBawcK1WN5v/FCAoQWE86FNjZwQVWVLU0B6dRCVrfDrDQzcIjN3p2YgG6/rJg+ yGgx2fSI/cigRqtnqgwGexMoyq5VXECgObhnYKG4DhzzRKYrrOostd74UV8CU+8Y nAtq7dO4mNjI9GFV2oxIJurEwJZKG4G8u/u8OpcNYFUJa2U+vnFEvnUqqhRD8U/Z JtOMCat1N/DrMSlEY4PQy/E296yfuipwCwrRIGvuPjjACfucMlkHgxKjZWeeGnq3 VxA8LQoBoTTbZfTrtaguUCE7OQs4Y7+CW8PGtnn44I+zMPD3lygy2158EbE9Qyci 2rTeWJSg0yX5OMtf9cVFV9n2//fxQySHbKDlE5xj8cCRWNW+SKj84IEElqkPL2Zj 9W49Gh4PU1L+tsSpaeYFt/+tSEijq6bFKZwtHN7ZjeglsUPnoNssvRAs8cv1vzYk OlRFaLCYWse6o2b4PEpQl74xQ/NDtXxaZHoSLme4vXGq6bFsSS9hETVi7QuX+Dcx WT3RfHIDCqkL8vqY4bgbWQZVVgqyO4QZ+t68exiZ5Cs5CdA0Q5F9HbvWx6kWGVyK LTR/E9QjxljTCHGRA7Xh =FnF4 -----END PGP SIGNATURE-----

ghost commented 10 years ago

@AreYouLoco Have you had any luck with this testing yet? are you still available? looks like you are the only one with a broadcom nic...

ghost commented 10 years ago

How to test

Image: download image Virtualization: No. bare metal required. Other requirements: Broadcom WiFi NIC required What to do:

  1. Check if the modules b43 will be loaded at boot (#lsmod | grep b43)
  2. If so, try a wireless connection
AreYouLoco commented 9 years ago

Sorry for delay I was offline in other country. I will check tonight when I get home. Cheers. Will post resault in less than 10h.

ghost commented 9 years ago

That's great! Many thanks.

ghost commented 9 years ago

Bug from tails-dev: https://labs.riseup.net/code/issues/7798

ghost commented 9 years ago

moved to v1.1 as there haven't been tests on it