sudo apt install npm
sudo npm install -g npm@latest
sudo npm install bower -g
git clone https://github.com/sabhiram/raspberry-wifi-conf.git
cd raspberry-wifi-conf
npm update
bower install
sudo npm run-script provision
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update && sudo apt upgrade | |
sudo apt install golang | |
sudo apt-get install libmnl-dev libelf-dev build-essential pkg-config | |
git clone https://git.zx2c4.com/wireguard-go | |
cd wireguard-go/ | |
git checkout 0.0.20181001 # Get the desired release tag from `git tag` | |
make | |
sudo make install |
Go to the directory with the image you want to work with. Run a Docker container with that directory mounted:
docker run -it --privileged -v /dev:/dev -v (pwd):/tmp --workdir /tmp ubuntu bash
(replace (pwd)
with "$PWD"
if using bash instead of fish)
See this thread for an explanation of why --privileged
and -v /dev:/dev
are required. The need for the latter can be avoided with this alrternative workaround.
In the container, assuming that $IMAGE_FILE
is the name of your image file:
OlderNewer