Installing WiFi driver on machine with no internet
UPDATED
All updated content is bold.
I can provide you with a short outline for one possible solution (there are multiple ways of course as usual). As soon as I have more time I can give more detail for each step.
- Download the deb package
- extract the deb archive -
ar vx bcm43xx-fwcutter_005-2_i386.deb
- extract the
data.tar.gz
andcontrol.tar.gz
- in there modify the file
usr/share/bcmxx-fwcutter/install_bcm43_firmware.sh
- Delete line 10 saying
$DL http...
- Save the file and do
md5sum usr/share/bcmxx-fwcutter/install_bcm43_firmware.sh
- Copy the generated checksum and paste it into the
control/md5sums
on line 2 (overwriting the prior checkum) - save the modified md5sums file
- put
wl_apsta.o
into the/tmp
directory - package the
data.tar.gz
archive with the modified file - package the control.tar.gz with the modified checksums file
- package the deb archive with the modified data and control archive (How to create debian file manually)
- Install the deb package
EDIT EXPLANATION
Forgot about the step to recreate the md5sum of the edited file and put the value into the control/md5sums
.
According to linux-wireless, you can install the b43
driver as follows:
Download the b43-fwcutter
from here e,g (b43-fwcutter_019-3_i386.deb
):
wget https://mirrors.kernel.org/ubuntu/pool/main/b/b43-fwcutter/b43-fwcutter_019-3_i386.deb
Then install it:
sudo dpkg -i b43-fwcutter_019-3_i386.deb
Download the broadcom-wl
packge:
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
Install the driver:
export FIRMWARE_INSTALL_DIR="/lib/firmware"
sudo b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o
Unload driver:
modprobe -r b43 bcma wl brcmsmac
Load the right one (e,g): b43
:
modprobe b43
Edit:
It is possible to install packages on your offline machine through Cube-server , it can be installed also on windows machine ( Online ) to download the needed package:
To install cube-server
on your linux machine, you need to download zip
file through the navigator or using wget
:
wget https://launchpad.net/cube-server/trunk/0.1/+download/cube-server-installer-0.1.98_Linux64bit.zip
to install it run:
unzip cube-server-installer-0.1.119_Linux64bit.zip
./cube-server-installer install
To launch it run: cube-server
Follow the 4 steps described here:
- Install and Run cube-server on Linux
- Install and run Cube Server on Windows
- Download repositories, upgrade outdated installed applications, and
download new applications on Windows ( in your case download the
broadcom-sta-dkms
or theb43fwcutter
, it depends on the model of your wifi-card ) - Install applications on Linux