Results 1 to 5 of 5

Thread: use of sudo modprobe b43

  1. #1
    Join Date
    Apr 2008
    Location
    Winchester, UK
    Beans
    277
    Distro
    Ubuntu 18.04 Bionic Beaver

    use of sudo modprobe b43

    Typing sudo modprobe b43 on a terminal once Ubuntu has completed booting gets a wifi connection of my PC to my router successfully.
    Is there a way of doing this automatically such as running a bash script as a startup program?

    I've tried a System>Preferences>Startup Applications>Startup Programs of bash /home/ross/Documents/connect where the connect file contains:
    ##!bin/bash

    sudo modprobe b43

    exit
    but this does nothing.
    Any advice welcomed please.
    Last edited by welshmike; December 27th, 2012 at 10:59 AM. Reason: spelling
    ASUS ZenBook UX305 (Intel® Core™ M-5Y10c ) CPU @ 0.80GHz × 4, 8GiB RAM, 128GiB SSD, Ubuntu 18.04
    MSi CR620 (Novatech i3 Core i3-350M) 2.27GHz 2GiB RAM, 250GiB SSD, Ubuntu 18.04 & W10

  2. #2
    Join Date
    Apr 2008
    Location
    Winchester, UK
    Beans
    277
    Distro
    Ubuntu 18.04 Bionic Beaver

    [Solved] use of sudo modprobe b43

    Well the bash script was OK but I needed to invoke using
    not
    bash /home/ross/Documents/connect
    but
    xterm -e /home/ross/Documents/connect
    My thanks to kerry_s http://ubuntuforums.org/showthread.php?t=368812 (message #2)
    ASUS ZenBook UX305 (Intel® Core™ M-5Y10c ) CPU @ 0.80GHz × 4, 8GiB RAM, 128GiB SSD, Ubuntu 18.04
    MSi CR620 (Novatech i3 Core i3-350M) 2.27GHz 2GiB RAM, 250GiB SSD, Ubuntu 18.04 & W10

  3. #3
    Join Date
    Apr 2012
    Beans
    7,256

    Re: use of sudo modprobe b43

    IMHO it would be better to put it (without sudo) in /etc/rc.local - or simply add the module name to /etc/modules - both of which would load it at boot time

  4. #4
    Join Date
    Apr 2008
    Location
    Winchester, UK
    Beans
    277
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: use of sudo modprobe b43

    Quote Originally Posted by steeldriver View Post
    IMHO it would be better to put it (without sudo) in /etc/rc.local - or simply add the module name to /etc/modules - both of which would load it at boot time
    My system does not have those folders so I guess I need to create one of them.
    ASUS ZenBook UX305 (Intel® Core™ M-5Y10c ) CPU @ 0.80GHz × 4, 8GiB RAM, 128GiB SSD, Ubuntu 18.04
    MSi CR620 (Novatech i3 Core i3-350M) 2.27GHz 2GiB RAM, 250GiB SSD, Ubuntu 18.04 & W10

  5. #5
    Join Date
    Apr 2008
    Location
    Winchester, UK
    Beans
    277
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: use of sudo modprobe b43 THE REAL SOLUTION

    Well being naive and totally ignorant I did

    sudo gedit /etc/modules
    This showed the following for editing:

    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    lp

    So below the lp I added b43

    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    lp
    b43

    I saved the file and rebooted.

    Hooray. Wireless connectivity to my router achieved.

    Now why or why in everything I've read didn't the internet blurb state simply what to do. Grrr.
    .. or am I completely thick?
    ASUS ZenBook UX305 (Intel® Core™ M-5Y10c ) CPU @ 0.80GHz × 4, 8GiB RAM, 128GiB SSD, Ubuntu 18.04
    MSi CR620 (Novatech i3 Core i3-350M) 2.27GHz 2GiB RAM, 250GiB SSD, Ubuntu 18.04 & W10

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
  •