How can I install and download drivers without internet?

  • I have recently installed ubuntu 12.04 LTS, but as in previous versions; I need a driver for wireless. When booting from USB, I could download and install the Broadcom Wireless STA driver: now I can't (note: this was from my house and I am moving and the internet in my hotel has additional logon information - might be the problem?). The ethernet cable on my laptop never worked, so that's not an option. When I open additional drivers, it will say can't detect drivers; need internet access.

    Summary:

    • Need wireless driver
    • Wifi is available; logon information IN BROWSER required.
    • No ethernet

    Not really.. This particular question should sound as *how the hell can I install stuff if I have only a browser*.

    I have long moved on from ubuntu, but to those it may concern, I solved this by getting internet on the Try Ubuntu option straight from the CD (because drivers work there). Then I installed and checked 3rd party firmware box, which gave me an install with internet. Thanks anyway.

  • Late to the party, but could be of use to someone. If you still have the Live USB from which you installed the OS, insert the flash drive (if it doesn't automount, open the Disks utility and mount it from there). Once it's mounted, open the terminal and go:

    sudo dpkg -i /media/username/volname/pool/main/d/dkms/dkms_*.deb
    sudo dpkg -i /media/username/volname/pool/restricted/b/bcmwl/bcmwl-kernel-source_*.deb
    

    replace username and volname with your username and the USB volume label, respectively. after the install completes, reboot.

    This folder structure is based on 15.04, should be similar in older versions.

    If the terminal comes out with an error, open the file explorer and go to your Live USB. Then go the the same directory as above:

    /media/username/volname/pool/main/d/dkms/
    

    And

    /media/username/volname/pool/restricted/b/bcmwl/
    

    And click on the file in each directory. It will bring up Software Center. Install or reinstall both files.

    Seriously helpful.

    You just made my day. I wonder if the issue arose in the first place because I hadn't selected the option to "Install Restricted Extras" or something like that when I installed from the CD.

    It worked, i'm using Ubuntu 16.04

    Worked for me on Macbook Pro, Ubuntu 16.04.1 LTS

    This worked for me for Ubuntu 16.04.3 LTS.

    It says that gcc is not installed. Any way of installing gcc using the similar method?

    This worked for my macbook air after I had installed ubuntu 19.04 desktop. WiFi configuration was then available from the GUI. Thank you!

    It says gcc, dpkg-dev, make and build-essential not installed while trying this method. How do you install these without the internet?

  • You can manually download any ubuntu package from http://packages.ubuntu.com, copy them to the linux drive, then use dpkg to install them. Packages.ubuntu.com also lists dependencies, so you should be able to find and download any that are missing.

    The "restricted hardware drivers tool" uses the following package for broadcom wireless:

    http://packages.ubuntu.com/maverick/bcmwl-kernel-source

    (alter the URL to use lucid if needed for a 10.04 installation)

    That package doesn't have much for dependencies, and it should be installable by doing:

    sudo dpkg --install /path/to/bcmwl-kernel-source
    

    dpkg won't try grabbing any dependencies for you, so you will need to make sure they are installed using this same method first.

    This worked to install the driver - and it is the right one. Apparently it still doesn't show any networks in the NetworkManager applet. Any ideas?

  • All Precise Pangolin (Ubuntu 12.04) packages can be downloaded from Launchpad.

    You need to know the name of the package, though. But hopefully that should be the one:

    bcmwl-kernel-source
    

    Dependencies will need downloaded too (if any).

    Correct, `linux-headers`.

    which i think is a meta package that links to three other packages... might want to dissect the debian/control file and see what it needs, and add those dependencies to your answer of "things to download"

    Right. `echo "linux-headers-"`uname -r`"-generic"` should tell correct version of `linux-headers` package, that one might need to download.

    Thanks, I will surely try this out. And yes, while I was searching for an answer I stumbled accross bcmwl-kernal-source a lot.

    Sorry, markdown made that command unusable. This is the correct one: `echo "linux-headers-"\`uname -r\`"-generic"`

    The packages can also be downloaded from http://packages.ubuntu.com

  • for broadcom wifi issues, follow the instructions here. this site provides step by step instructions for identifying the card and a list of supported cards and what drivers to use for each model.

    make sure that you use this command to identify your card model, as the output of dmesg will sometimes contain the wrong information

    lspci -vnn | grep 14e4
    

    you'll probably end up using b43-fwcutter (should already be installed), so once you've downloaded the drivers linked to from that site, you can put them on a thumb drive, take the drive to your friends house and follow the instructions in the first link to install them.

    to summarize:

    on pc w/ net access:

    wget http://downloads.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
    
    mv broadcom-wl-4.150.10.5.tar.bz2 /media/MyThumbDrive
    

    then from the pc w/o net access:

    tar xjf broadcom-wl-4.150.10.5.tar.bz2
    
    cd broadcom-wl-4.150.10.5/driver
    
    b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o
    

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM