Macbook wifi linux ubuntu

niftylettuce / how-to-enable-wifi-macbook-mac-mini-air-ubuntu-linux-debian-mint-mate-os.md

By default older Mac computer models have driver issues with the Broadcom Wi-Fi chip. Most instructions online (such as this one from the official Ubuntu docs @ https://help.ubuntu.com/community/Macmini5-1/Precise) suggest to use sudo apt-get and install these packages from the PPA.

BUT you don’t have Internet so you can’t use apt-get ! Instead you can use a different computer to download the packages, then transfer them over.

In the instructions below, you will need to replace sid in the download URL’s with the proper version of Debian your version of Ubuntu/Linux is using. To find which version you should use, you can view the chart at https://askubuntu.com/questions/445487/what-debian-version-are-the-different-ubuntu-versions-based-on#445496. If you’re using jessie for example, then replace all sid with jessie in the links below.

  1. Download b43-fwcutter @ https://packages.debian.org/sid/b43-fwcutter (replace «sid» in the URL as needed — scroll down to «Download» section and choose based off your architecture, and then select a mirror/FTP link to download from on the next page that appears).
  2. Download firmware-b43-installer @ https://packages.debian.org/sid/firmware-b43-installer (repeat same note as above)
  3. Download webfs @ https://packages.debian.org/sid/webfs (repeat same note as above)
  4. Download http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 (e.g. using wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 )
  5. Save these downloaded files to flash storage and then insert flash storage into your Ubuntu/Linux machine.
  6. Copy the files from the flash storage to your Ubuntu/Linux machine’s desktop.
  7. Open a terminal and run the command echo ‘127.0.0.1 www.lwfinger.com’ | sudo tee —append /etc/hosts
  8. Run the command sudo dpkg -i ~/Desktop/webfs.deb (replace webfs.deb with the webfs deb file name)
  9. Run the command sudo mkdir -p /var/www/b43-firmware
  10. Run the command sudo mv ~/Desktop/broadcom-wl-5.100.138.tar.bz2 /var/www/b43-firmware/
  11. Run the command sudo sed -i -e ‘s/web_root=»\/var\/www\/html»/web_root=»\/var\/www»/’ /etc/webfsd.conf
  12. Run the command sudo sed -i -e ‘s/web_port=»»/web_port=»80″/’ /etc/webfsd.conf
  13. Restart the web server sudo /etc/init.d/webfs restart (you may need to use sudo systemctl restart webfs if your system uses systemd )
  14. Run the command sudo dpkg -i ~/Desktop/b43-fwcutter.deb (replace b43-fwcutter.deb with the b43-fwcutter deb file name)
  15. Run the command sudo dpkg -i ~/Desktop/firmware-b43-installer.deb (replace firmware-b43-installer.deb with the firmware-b43-installer deb file name)
  16. Run the command echo ‘blacklist ndiswrapper’ | sudo tee —append /etc/modprobe.d/blacklist.conf
  17. Run the command echo ‘SUSPEND_MODULES=»b43 bcma»‘ | sudo tee —append /etc/pm/config.d/modules
  18. Run sudo reboot and then check if you can connect to Wi-Fi.
  19. See https://help.ubuntu.com/community/MacBookPro8-2#Wireless for other instructions, such as enabling Sensors. Also see https://askubuntu.com/questions/334561/problems-with-broadcom-bcm4311-wireless-card-on-hp-pavillion-dv6000#667832 for reference.
  20. Remove webfs and the temp dir by typing sudo apt-get remove -y webfs and sudo rm -rf /var/www/b43-firmware/ on your Ubuntu/Linux machine afterwards.

No working on macbook air
Did everything as u said
But not working on kali linux
nothing changes after restarting

this solution doesn’t work for me, I found another simpler solution to this problem. Just go to this page to download and install the driver, by the way, my mac mini is late 2014 and the OS is Debian 10 (buster).

Читайте также:  Linux установка драйверов broadcom

I created a GitHub account just now for the express purpose of returning here to say: holy crap, it worked! thankyouthankyouthankyou

inherited my mom’s mid-2009 15″ MB Pro when she passed a few years ago. It’s still a super beefy rig (4g dual core half gig storage — very well suited for creative content production), excepting of course for the Cupertino Colossus’ insistence upon abandoning their own still-working hardware. I was determined to return it to a state of usefulness. Ubuntu was the obvious choice. I’d tried it several years ago and really liked it. (fwiw, non-tech me had ZERO problems setting it up as a dual-boot in the PC / Windows environment on a Dell I’d had at the time, although that ease probably had a lot to do with having had a cooperative CD burner at the time).

Again — I am not a super tech-savvy guy. Neither of our Apple «super drives» (hows THAT for cynical branding, btw?) work reliably (i.e. no burn-to-DVD), so the OS installation itself required my patience and LOTS of persistence.

And then I ran into the Broadcom / wifi issue . good times hahaha

more persistence applied . but even though my deep dive into a discomfort zone found me working through these steps VERY slowly / cautiously, at the culmination of the last step, first attempt, the clouds parted, a chorus of angels began singing, and blink! — wifi visible and functional.

Super relieved, and extremely grateful. I have what’s functionally a brand new decade old laptop. And it’s again a nimble screamer of a rig. Thank you again! -dave

Thank you so much for this

Thanks!
This worked for me.
One thing I had to do was run chmod -R 777 /var/www because I was getting a 403 access denied error at step 15. Probably would be better to allow just read access to the specific file that we moved there. Might be worth adding to the instructions if this is an issue a lot of people will run into.

I tried and when I get to the line where «. webfsd.conf. » (line 11 and 12), it does not work. This file does not exist in the \etc folder.

Thanks!
This worked for me.
One thing I had to do was run chmod -R 777 /var/www because I was getting a 403 access denied error at step 15. Probably would be better to allow just read access to the specific file that we moved there. Might be worth adding to the instructions if this is an issue a lot of people will run into.

please do not ever use chmod 777 unless you absolutely know what you’re doing. You almost certainly could have simply done chmod -R +r /var/www (which grants read permissions recursively to everything under /var/www ) instead and not have compromised the security of your system.

Читайте также:  Linux разница между папками

Источник

Debian GNU/Linux + Macbook Air 2017 (установка wifi драйверов)

Так случилось что захотелось снести MacOS на Macbook’е Air и поставить что то более свободное и линуксовое. Макбук 2017 года, долгое время пользовался MacOS Mojave, обновляться до новых выпусков, зная возможные проблемы, желания не было. Немного перебирая варианты дистрибутивов и попробовав различные Live образы, выбор пал на Debian 11 но так как официально он еще не вышел (выход намечен на 14 августа 2021), то взял его второй релиз кандидат Bullseye RC 2.

Проблема 1

Вот тут и появился первый подводный камень: Debian поддерживает не все wifi устройства из коробки. На помощь могут прийти non-free прошивки, которые можно установить после установки системы, добавив репозитории этих несвободных прошивок, в файле sources.list .

Проблема 2

Теперь появляется второй подводный камень: а как мы установим прошивку для wifi устройства если у нас не работает сеть после установки? Тут уже на помощь пришел смартфон с включенным режимом USB Tethering. Подключив с помощью кабеля USB к макбуку, установщик на удивление сразу распознал это как проводное сетевое соединение. Таким образом интернет соединение для установки драйверов на wifi и первоначальных пакетов, мы себе обеспечили.

Действия после установки

Сам процесс инсталляции я описывать не буду так как все индивидуально, и это тема для отдельной статьи.

После установки открываем терминал и утилитой lspci узнаем модель нашего wifi устройства, введя следующую команду:

На выводе получим название модели устройства, в моей случае это:

Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)

BCM4360 это и есть модель wifi устройства. Свободных прошивок к сожалению на него нет и теперь чтобы wifi заработал, нам придется установить несвободный драйвер broadcom-sta-dkms который предоставляет исходный код для модуля ядра wl Остальной список поддерживаемых моделей можно посмотреть в описании драйвера https://packages.debian.org/buster/broadcom-sta-dkms

Так же перед установкой, поставим пару необходимых пакетов wireless-tools и wpasupplicant

sudo apt install wireless-tools sudo apt install wpasupplicant

Далее открываем из под рута, файл sources.list (я использую nano)

sudo nano /ect/apt/sources.list

И вписываем возле каждого урла репозитория, напротив слова main , теги contrib non-free . Должно получится примерно следующее:

Затем сохраняем файл и обновляем инфу о пакетах командой sudo apt update .

Теперь устанавливаем сам драйвер введя команду:

sudo apt install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

По ее завершению, убираем модули b44 b43 b43legacy ssb brcmsmac bcma из ядра системы, командой:

sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma

После этого в Network manager’е (я использовал его для настройки сети) появится раздел Wi-Fi Networks где мы уже сможем выбрать доступную сеть и ввести пароль для доступа.

Заключение

Данный гайд может быть полезен не только владельцам маков но и других ноутбуков и десктопов. Так же гайд подойдет остальным Debian производным дистрибутивам (хотя могут быть нюансы).

Источник

Ubuntu не может обнаружить сети Wi-Fi на MacBook Pro 13,3

Я новичок в Ubuntu и Linux в целом, и я не уверен, как настроить мой Wi-Fi. Он не обнаруживает никаких сетей.

Читайте также:  Посмотреть характеристики процессора linux

Я использую в конце 2013 года 13,3-дюймовый macbookpro с дисплеем Retina, поэтому он не поставляется с портом Ethernet. Я использовал это руководство по установке для двойной загрузки Mac OSx и Ubuntu 14.04.

У меня есть второй компьютер под управлением Windows 7, который я использую для исследования этого, и я хочу избежать покупки сетевого адаптера, если это возможно.

Я также не установил / загрузил ни одно из обновлений в результате.

4 ответа

Символ трубы | находится на правой стороне моей клавиатуры США на той же клавише с ‘\’. Это ваше устройство?

Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03) 

Если это так, то bcmwl-kernel-source подходит для вашего устройства. Если у вас все еще есть установочный DVD или USB, вы можете найти его и его предварительные условия там. Перейдите в пул> ограниченный> b> bcmwl и перетащите файл deb на рабочий стол. Теперь перейдите в пул> main> d> dkms и перетащите dkms на рабочий стол. Теперь установите оба с:

cd ~/Desktop sudo dpkg -i *.deb 

Ваш беспроводной теперь должен работать.

Если ваше устройство не 14e4:43a0, сообщите нам, что это на самом деле, и мы продолжим.

    Удалить bcmwl-kernel-source пакет, введя следующую команду на терминале:

sudo apt-get remove bcmwl-kernel-source 
sudo apt-get install firmware-b43-installer b43-fwcutter 
cat /etc/modprobe.d/* | egrep 'bcm' 

После того, как я это сделал, rfkill должен был разблокировать беспроводное соединение: как разблокировать что-либо, указанное в rfkill?

Пожалуйста, убедитесь, что вы покупаете адаптер ETHERNET для подключения вашего Mac к Интернету. Затем выполните следующие шаги, чтобы заставить работать WI-FI.

Потратив все выходные на то, чтобы заставить Wi-Fi работать на моем MacBook, я наконец установил и запустил WI-Fi, просто набрав в терминале sudo apt-get install bcmwl-kernel-source и после ввода sudo Modprobe WL для загрузки файла. Надеюсь, что у вас работает.

У меня есть похожая проблема, а именно Wi-Fi, работающий под Ubuntu 14.04 на MacBook Retina Pro 10,2 (начало 2013 года), прерывистый и разрывает соединения. Это приводит к отключению VNC.

Я попробовал описанное выше и обнаружил, что, хотя я смог сменить драйвер, вышеупомянутый драйвер по-прежнему сбрасывает соединения Wi-Fi. Очень раздражает и трудно диагностировать, так как WiFi работает отлично, тогда, по-видимому, без причины, теряет связь без индикатора на передней панели. Через несколько минут соединение восстанавливается — или можно восстановить его, выключив и перезагрузив беспроводную сеть.

Я отправил отчет об ошибке на Launchpad.

Огорчает все это то, что под Ubuntu 13.04 беспроводная связь работала безупречно. К сожалению, проблема появилась в Ubuntu 13.10, и я был вынужден отойти от 13.04 из-за того, что Heartbleed не был исправлен 13.04, и я использую защищенную VPN openssl с моими машинами.

Это проблема с драйвером или проблема взаимодействия драйвера с ядром? Если это просто драйвер, я бы очень хотел, чтобы они вернулись к драйверу 13.04 14.04, пока они не исправят новый драйвер. Спасибо фил

Источник

Оцените статью
Adblock
detector