Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to turn on Wi-Fi #1024

Open
shadowyay opened this issue Apr 26, 2021 · 93 comments
Open

Unable to turn on Wi-Fi #1024

shadowyay opened this issue Apr 26, 2021 · 93 comments

Comments

@shadowyay
Copy link

My Wi-Fi is Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
I have installed Chrome OS in my PC single boot
My Wi-Fi is not working

Screenshot 2021-04-26 at 9 26 48 AM

If i turn on the Wi-Fi it is showinf "Wi-Fi is turned off"
How to resolve this problem ?

@shadowyay
Copy link
Author

Please Reply

1 similar comment
@shadowyay
Copy link
Author

Please Reply

@truongtam-fudosan
Copy link

@truongtam-fudosan
Copy link

truongtam-fudosan commented Apr 26, 2021

@Nakul-TK
Use Crtl + Alt + T -> Input shell ->Input sudo edit-grub-config.
Add options=broadcom_wl

@shadowyay
Copy link
Author

It is asking password after sudo edit-grub-config

@shadowyay
Copy link
Author

please reply

@shadowyay
Copy link
Author

what is the password of chronos@localhost

@shadowyay
Copy link
Author

shadowyay commented Apr 26, 2021 via email

@shadowyay
Copy link
Author

reply please

@shadowyay
Copy link
Author

Screenshot 2021-04-26 at 12 31 16 PM

What is the password ?

@shadowyay
Copy link
Author

shadowyay commented Apr 26, 2021

I have tried not working , but please can you send image while adding "options=broadcom_wl" in developer window

@ecaron
Copy link

ecaron commented Apr 26, 2021

@Nakul-TK, please close #1026 - duplicate tickets just slow down the speed that you get support. Also I'd suggest reading https://github.com/kossnocorp/etiquette - support on this channel is free, 9 posts in 8 hours is a lot of noise. People tend to prefer one really well written comment versus 8 one-liners.

If you're being asked for a root password on your machine but you don't remember setting it, then you should probably Powerwash your machine and try again (CTRL+ALT+SHIFT+R at the login screen). Sidenote: Powerwashing, as you may know, will wipe all data from your machine & put it back in factory reset state as if you just installed Brunch for the first time

Once you can successfully open crosh, then shell, then sudo, the instructions at https://github.com/sebanc/brunch#from-chromeos talk you through what you need.

@shadowyay
Copy link
Author

I havd done that but WiFi is not working.
We can do anything with dmesg.txt ?

@shadowyay
Copy link
Author

dmesg.txt
I got this as output

Please help me

@shadowyay
Copy link
Author

please please reply
its urgent

@seyoon20087
Copy link

what is the password of chronos@localhost

Try using the password "chrome"

@shadowyay
Copy link
Author

i powerwashed and it didnt ask password .
the problem is wifi not working.
please fix this.

@asukumar10248
Copy link

press Ctrl+Alt+t,
then type shell
then sudo edit-grub-config.
After that you should find “options=“ . Then type and make it “options=broadcom_wl”.
Finally press Ctrl+O
then press enter
then Ctrl+X.
then type sudo reboot.

@shadowyay
Copy link
Author

I have tried
But it is not working

@Buzzcut22
Copy link

press Ctrl+Alt+t,
then type shell
then sudo edit-grub-config.
After that you should find “options=“ . Then type and make it “options=broadcom_wl”.
Finally press Ctrl+O
then press enter
then Ctrl+X.
then type sudo reboot.

sir can you post step by step screenshot for this. thank you very much

@ravindrank
Copy link

Even I have the same issue.. I have added the options and it was working fine until few months ago. Over last few months, the wifi doesnt work any more. I'm sure lot of Broadcomm users have the same. The module loads fine and I can see the drivers loaded but no wifi accesspoints show up post scanning

@Ciancy28
Copy link

I'm facing the same issue on my vaio with BCM943142HM.

@shadowyay
Copy link
Author

I'm facing the same issue on my vaio with BCM943142HM.

go to ctrl + alt + t {terminal} and type shell and copy all below and paste

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules
sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf
cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a

@shadowyay
Copy link
Author

Even I have the same issue.. I have added the options and it was working fine until few months ago. Over last few months, the wifi doesnt work any more. I'm sure lot of Broadcomm users have the same. The module loads fine and I can see the drivers loaded but no wifi accesspoints show up post scanning

go to ctrl + alt + t {terminal} and type shell and copy all below and paste

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules
sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf
cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a

@Ciancy28
Copy link

I'm facing the same issue on my vaio with BCM943142HM.

go to ctrl + alt + t {terminal} and type shell and copy all below and paste

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules
sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf
cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a

Doesen't seem to work.

Screenshot 2021-08-18 13 39 10

@sebanc
Copy link
Owner

sebanc commented Aug 18, 2021

Could someone try the latest brunch-unstable release ?
https://github.com/sebanc/brunch-unstable/releases

@ravindrank
Copy link

Could someone try the latest brunch-unstable release ?
https://github.com/sebanc/brunch-unstable/releases

Thank you .. Just installed and about to reboot but wanted to mention..seeing the pv command not found error over last few releases..

chronos@localhost / $ sudo chromeos-update -f /home/user/fa3f4a33926cd292dcea3ab98c95a6a3f96d3074/Downloads/brunch_r91_unstable_20210818.tar.gz
rootc.img
rootc.img
/usr/sbin/chromeos-update: line 56: pv: command not found
Brunch updated.

@ravindrank
Copy link

ravindrank commented Aug 18, 2021

No change with the unstable release.. Basically no wifi SSIDs found.. @sebanc please let me know if you need any debug info etc..glad to help..

@ravindrank
Copy link

Even I have the same issue.. I have added the options and it was working fine until few months ago. Over last few months, the wifi doesnt work any more. I'm sure lot of Broadcomm users have the same. The module loads fine and I can see the drivers loaded but no wifi accesspoints show up post scanning

go to ctrl + alt + t {terminal} and type shell and copy all below and paste

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules
sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf
cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a

How is this going to help? Asking because.. kernel version doesnt match..so those modules would never get loaded..

localhost / # uname -a
Linux localhost 4.19.139-brunch-sebanc #1 SMP PREEMPT Sat Sep 19 09:24:56 CEST 2020 x86_64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz GenuineIntel GNU/Linux

@sebanc
Copy link
Owner

sebanc commented Aug 18, 2021

The update did not work, there was a mandatory brunch update that you missed and now it won't let you update. You can confirm with "cat /etc/brunch_version" command that it is still the old one.

To fix it, install the "pv" package from chromebrew and try again the update:
https://github.com/skycocker/chromebrew

@ravindrank
Copy link

@sebanc I have a feeling there is no issue. I think due to a long power outage I see lesser wifi Access points :) I will confirm later once power is back in my locality

@shadowyay
Copy link
Author

@sebanc I have a feeling there is no issue. I think due to a long power outage I see lesser wifi Access points :) I will confirm later once power is back in my locality

india ! no power ! same problem!

@ravindrank
Copy link

@sebanc Confirmed :) Looks all fine!!
Screenshot 2021-08-20 4 53 18 PM

@sebanc
Copy link
Owner

sebanc commented Aug 20, 2021

@ravindrank That's very good news :) Thanks a lot for all the tests !

@Ciancy28
Copy link

I updated to brunch unstable with sudo chromeos-update -f /home/chronos/user/Downloads/brunch_r91_unstable_20210820.tar.gz but wifi still doesen't work, are there steps that i missed?
my wi-fi card is Broadcom BCM943142HM.

@sebanc
Copy link
Owner

sebanc commented Aug 20, 2021

Did you enable the "broadcom_wl" option ?

@Ciancy28
Copy link

Did you enable the "broadcom_wl" option ?

Yes

@sebanc
Copy link
Owner

sebanc commented Aug 20, 2021

Could you attach a dmesg ? (Run "dmesg > ~/Downloads/dmesg.txt" in crosh shell and attach dmesg.txt from your Downloads folder)

@Ciancy28
Copy link

Could you attach a dmesg ? (Run "dmesg > ~/Downloads/dmesg.txt" in crosh shell and attach dmesg.txt from your Downloads folder)

dmesg.txt

@sebanc
Copy link
Owner

sebanc commented Aug 20, 2021

Is secure boot enabled on your PC ?

@Ciancy28
Copy link

Is secure boot enabled on your PC ?

no

@sebanc
Copy link
Owner

sebanc commented Aug 21, 2021

@Ciancy28 Could you try the new brunch-unstable build ?

@Ciancy28
Copy link

@Ciancy28 Could you try the new brunch-unstable build ?

Still not working

@shadowyay
Copy link
Author

@Ciancy28 Could you try the new brunch-unstable build ?

Still not working

oops

@sebanc
Copy link
Owner

sebanc commented Aug 21, 2021

@Ciancy28 Could you try the new brunch-unstable build ?

Still not working

Actually do you use broadcom_wl driver in linux distros ? I think your card is supported by the brcmfmac driver and should not need this option. Could you post a dmesg without "broadcom_wl" option ?

@Ciancy28
Copy link

Actually do you use broadcom_wl driver in linux distros ?

Yes.

I think your card is supported by the brcmfmac driver and should not need this option. Could you post a dmesg without "broadcom_wl" option ?

dmesg.txt
(I can't turn wi-fi on without the broadcom_wl option)

@Ciancy28
Copy link

After adding broadcom_wl to options again i still couldn't turn wi-fi on
i had to send these commands in terminal again:

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules
sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf
cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a`

Which at least makes wi-fi turn on (but not find any access points).

@sebanc
Copy link
Owner

sebanc commented Aug 21, 2021

As far as I can tell:

Those commands are unnecessary or already included in brunch:

sudo su
mount -o remount, rw /
sudo echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
sudo echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
sudo echo "wl" >> /etc/modules

I really don't think those commands do anything:

cd /lib/modules/3.4.0/kernel/drivers/net/wireless/
wget http://chromium.arnoldthebat.co.uk/files/fw/lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_ccmp.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_tkip.ko
sudo insmod /lib/modules/3.4.0/kernel/net/wireless/lib80211_crypt_wep.ko
sudo insmod /lib/modules/3.4.0/kernel/drivers/net/wireless/wl.ko
sudo depmod -a

Those 2 might have an impact even though I am not sure why they would be needed:

sudo touch /etc/modprobe.d/wl.conf
sudo echo "alias wlan0 wl" >> /etc/modprobe.d/wl.conf

Could you try to run again the brunch update on the same version (to make sure you have a clean filesystem) and run only the 2 above commands and see if it enables wifi ?

@Ciancy28
Copy link

Could you try to run again the brunch update on the same version (to make sure you have a clean filesystem) and run only the 2 above commands and see if it enables wifi ?

The first command does something but doesen't make wifi able to turn on.
The second command returns bash: /etc/modprobe.d/wl.conf: Permission denied (but works when done with the other commands as you can see here: #1024 (comment))

@sebanc
Copy link
Owner

sebanc commented Aug 21, 2021

Ah yes try "sudo su" first.

is wifi enabled directly after running those commands or after a reboot ?

@Ciancy28
Copy link

Ah yes try "sudo su" first.

is wifi enabled directly after running those commands or after a reboot ?

i updated to start clean once again and this time enabling wi-fi works without running any command.
So maybe it was only a coincidence? i have no idea.

@sebanc
Copy link
Owner

sebanc commented Aug 21, 2021

wifi works or just the toggle ? (if just the toggle, please attach a dmesg)

@Ciancy28
Copy link

wifi works or just the toggle ? (if just the toggle, please attach a dmesg)

dmesg.txt

@Ciancy28
Copy link

something i noticed now is that when i get to the point that wi-fi can be turned on (but not working) bluethoot disappears from the quick settings and the button to turn it on in the settings is greyed out.
Before it was present and i was able to turn it on, not sure if it worked though.

@sebanc
Copy link
Owner

sebanc commented Aug 22, 2021

@Ciancy28 I used the same bcmwl module source from ubuntu which is the recommended one for your wifi adapter, the module appears to be correctly built as it works for others and I found nothing interesting on linux forums aside from the secureboot issue. Sorry but I am out of ideas here.

@Ciancy28
Copy link

after reinstalling from scratch chromeos rammus 91 + brunch r92 unstable now wifi scanning works and finds access points, but doesen't connect to any of them (it always says out of range after password input).
Bluethoot is also not working.

@Ciancy28
Copy link

nevermind, wifi connected and it's working as soon as i hit the Comment button...
Bluethoot still doesen't work though, but i don't really need it.

@ravindrank
Copy link

@sebanc All good with latest stable release :) Thank you

@lorebuson
Copy link

Hello everyone, as I have already written in issue 1378 (#1378), I have the same problem as @Nakul-TK and @ravindrank , that is the wifi doesn't work when I activate it even if the tick turns blue.

My Teclast F7 Plus is equipped with an "Intel AC 3165" network card and a N4100 processor.

I have already tried in the "crosh-shell" to enable the "iwlwifi_backport" framework option, but not only does nothing change but even the realteck usb adapter that I use to connect to networks no longer works.

Some idea, @sebanc or @Ciancy28 for exaple? What information can I provide to help me resolve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants