Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: WiFi hard blocked on linux but works on Windows

  1. #11
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    F12 is my wifi key, I have already tried toggling it several times. Toggling it in BIOS, in Windows, in Ubuntu. Even with different modifier keys.

  2. #12
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    Yo guys, I have found this

    Code:
    $ cat /sys/module/rt2800pci/drivers/pci\:rt2800pci/0000\:0a\:00.0/ieee80211/phy0/rfkill0/hard
    1
    I guess changing the 1 to 0 will remove my hard block. But I can't edit this file, even with the root privileges. Why?

  3. #13
    Join Date
    May 2014
    Location
    /home
    Beans
    9,615
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: WiFi hard blocked on linux but works on Windows

    That file is read only as it is read from BIOS, only the BIOS can change it. I have an idea that may or may not work and I doubt it can hurt anything, we can edit grub to pass some info to BIOS at boot
    Code:
    gedit admin:///etc/default/grub
    Go to the line with
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    Add acpi_osi='Windows 2017' inside the quotes so that it is
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi='Windows 2017'"
    Then do
    Code:
    sudo update-grub
    Reboot

    This should make the BIOS think that a Windows 10 version is being loaded rather than the default in Ubuntu of not responding to the BIOS acpi_osi inquiry

  4. #14
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    It didn;t work . But when I looked for other kernel parameters then I found this,

    Code:
            rfkill.default_state=
    		0	"airplane mode".  All wifi, bluetooth, wimax, gps, fm,
    			etc. communication is blocked by default.
    		1	Unblocked.
    
    	rfkill.master_switch_mode=
    		0	The "airplane mode" button does nothing.
    		1	The "airplane mode" button toggles between everything
    			blocked and the previous configuration.
    		2	The "airplane mode" button toggles between everything
    			blocked and everything unblocked.
    which looked promising. I tried them with a bunch of different combinations, like

    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rfkill.default_state=1"
    but either it was still hard blocked, or my wifi module(rt2800pci) didn't load during boot. Even when I manually loaded rt2800pci it didn't detect any wireless interface(`rfkill list` was empty).

  5. #15
    Join Date
    May 2014
    Location
    /home
    Beans
    9,615
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: WiFi hard blocked on linux but works on Windows

    I have found a few things but we need to see if it works in a now unsupported Ubuntu release, the ISO can be found at https://old-releases.ubuntu.com/rele...ktop-amd64.iso
    Supposedly there was a change in 2015 that caused these problems

  6. #16
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    I have downloaded the ISO and flashed it to a USB.

  7. #17
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,932
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: WiFi hard blocked on linux but works on Windows

    You could try this one, that worked up to kernel 4.4-143

    Code:
    sudo apt-get install linux-headers-$(uname -r) linux-headers-generic build-essential dkms
    wget https://media-cdn.ubuntu-de.org/forum/attachments/06/23/5641297-RT3290_u16_v3.tar.gz
    tar xvf 5641297-RT3290_u16_v3.tar.gz
    cd RT3290_u16
    tar xvf src.tar.gz
    ./compile.sh
    sudo ./install.sh
    sudo cp firmware/rt3290.bin /lib/firmware 
    echo "blacklist rt2800pci" | sudo tee -a /etc/modprobe.d/blacklist-rt2800pci.conf
    Worked without error?

  8. #18
    Join Date
    May 2014
    Location
    /home
    Beans
    9,615
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: WiFi hard blocked on linux but works on Windows

    Quote Originally Posted by akash-karnatak View Post
    I have downloaded the ISO and flashed it to a USB.
    Does it work with no hard block?

  9. #19
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    Nope, it's hard blocked even in Ubuntu 14. Also my WiFi works out of the box on OpenBSD 6.8. I guess theirs some problem with rt2800pci driver.
    Last edited by akash-karnatak; February 15th, 2021 at 03:15 PM.

  10. #20
    Join Date
    Feb 2021
    Beans
    13

    Re: WiFi hard blocked on linux but works on Windows

    Ok I tried that with linux kernel 4.1 and it did compile. But I cannot access GUI on that kernel and `iwlist eno1 scan` does not yield any scan results.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •