Results 1 to 6 of 6

Thread: Need help to get wifi working after trying to modify drivers

  1. #1
    Join Date
    Sep 2018
    Beans
    3

    Need help to get wifi working after trying to modify drivers

    Copy pasted code into terminal from this website : https://dhalperi.github.io/linux-802...tallation.html
    was halfway done before I realized wifi stopped working. Want to reverse any changes made.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,328
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Need help to get wifi working after trying to modify drivers

    Wow! Heady, dangerous and complicated looking stuff. I suspect that it is obsolete and not applicable to your case. Notice that it says:
    These instructions are currently expected to work on Linux operating systems that are based on an upstream Linux kernel version between 3.2 (e.g. Ubuntu 12.04) and 4.2 (e.g. Ubuntu 14.04.4).
    I suspect that your kernel version is newer thatn 4.2. Check:
    Code:
    uname -r
    I think your kernel version is 4.4 or even newer.

    Let's try:
    Code:
    sudo rm /etc/modprobe.d/csitool.conf
    sudo modprobe iwlwifi
    sudo modprobe iwldvm
    Is your wireless working?

    It may take a reboot.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Sep 2018
    Beans
    3

    Re: Need help to get wifi working after trying to modify drivers

    Thanks a ton chilli555!! wifi started working again!

    I wanted to install csi drivers for a college project, didn't check the kernel version before doing so..

    Yes my kernel version is 4.4 specifically :

    Code:
    $ uname -r
    4.4.0-135-generic


    just fyi sudo modprobe iwlwifi and the last instruction returend errors..


    Code:
    $ sudo modprobe iwlwifi
    libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/rt18723be.conf line 1: ignoring bad line starting with 'opions'
    $ sudo modprobe iwldvm
    libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/rt18723be.conf line 1: ignoring bad line starting with 'opions'

    Thanks for your help anyways!


    I have one other issue thats been bugging me for a long time. If i should create a new thread, do let me know. Ever since i installed ubuntu on my hp laptop running windows 10, WiFi functionality has been aternating between windows and ubuntu. i.e., if it connects and works on windows, it stops wotking for ubuntu (even though it connected) and vice versa. Any idea what i should do to get it working on both OSs?
    Last edited by sbfueveday; 2 Weeks Ago at 12:19 AM.

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,328
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Need help to get wifi working after trying to modify drivers

    libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/rt18723be.conf line 1: ignoring bad line starting with 'opions'
    You haven't any rtl8723be device and so you may safely delete the file:
    Code:
    sudo rm  /etc/modprobe.d/rt18723be.conf
    I have one other issue thats been bugging me for a long time. If i should create a new thread, do let me know. Ever since i installed ubuntu on my hp laptop running windows 10, WiFi functionality has been aternating between windows and ubuntu. i.e., if it connects and works on windows, it stops wotking for ubuntu (even though it connected) and vice versa. Any idea what i should do to get it working on both OSs?
    That suggests to me that one of the OSs leaves the device in a condition from which it cannont recover except to reboot into that OS and restart it.

    Is there any Wake on WLAN setting in Windows? https://docs.ubuntu.com/core/en/stac...uration/wowlan If so, I'd try changing it from whatever it is to whatever it isn't; that is On to Off or Y to N, etc. or vice versa.

    Is the result the same if you always cold boot rather than reboot?

    Are you also looking for guidance about how to run a 4.2 kernel and resume your project?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Sep 2018
    Beans
    3

    Re: Need help to get wifi working after trying to modify drivers

    Hi, sorry for the late reply.

    Yes i am looking for guidance on how to run 4.2 kernel. I'm willing to try out whatever you suggest. If this doesnt work out, we (our project team) are also looking into CSI drivers to run on raspberry pi. If 4.2 doesnt work put that is...

    Any help would be appreciated, thank you.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,328
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Need help to get wifi working after trying to modify drivers

    I suggest that you download and install the mainline 4.2 kernel from here: http://kernel.ubuntu.com/~kernel-ppa...ine/v4.2-wily/

    Notice that the packages are available for i386 (32-bit) and amd64 (64-bit). Find out which you need with:
    Code:
    arch
    64-bit returns x86_64.

    Assuming that is what you have, you would then need:

    http://kernel.ubuntu.com/~kernel-ppa...0713_amd64.deb

    http://kernel.ubuntu.com/~kernel-ppa...260713_all.deb

    http://kernel.ubuntu.com/~kernel-ppa...0713_amd64.deb

    Install them all with:
    Code:
    sudo dpkg -i linux*.deb
    Reboot. You may need to select 4.2 at the GRUB menu to keep from booting into your usual kernel, 4.4.0-135-generic.

    was halfway done before I realized wifi stopped working.
    For sure, when you unload the driver for your wireless device, the wireless will stop working. Of course and ideally, it will start working again when you modify and reload the now modified driver.

    I know nothing about CSI Tool, so I don't know if the process is sound. This post is intended only to get you started with a 4.2 kernel.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

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
  •