Skip to content

Instantly share code, notes, and snippets.

@ctsdownloads
Last active February 9, 2023 23:50
Show Gist options
  • Save ctsdownloads/662eda6d544403aa0392f87c8a9ae7ae to your computer and use it in GitHub Desktop.
Save ctsdownloads/662eda6d544403aa0392f87c8a9ae7ae to your computer and use it in GitHub Desktop.
wifi-fixer-downloader
# Just copy the code below, drop it into the terminal of a computer with Internet.
# https://github.com/ctsdownloads/wi-fi-fixer/blob/main/README.md
sudo apt-get install git -y > /dev/null && git clone https://github.com/ctsdownloads/wi-fi-fixer.git && cd wi-fi-fixer && chmod +x wifi-fixer-bash-script.sh && wget https://gist.githubusercontent.com/ctsdownloads/41188544c0b47fb1ed87abddff065245/raw/52dceae3c33093ad51e2898a3bcc092122d9ebc5/unpack-commands.txt -P ~/wi-fi-fixer && echo -e "\033[1;33mEnter your wifi SSID, then press Enter: \033[0m" && read ssid && [ -f wifi-fixer-bash-script.sh ] && sed -i "s/assigned_wap=.*/assigned_wap="$ssid"/" wifi-fixer-bash-script.sh && cd ~/ && tar -czvf wi-fi-fixer.tar.gz wi-fi-fixer/* > /dev/null && sleep 2 && rm -rf wi-fi-fixer && echo -e "- \033[1;33mYour wi-fi-fixer is packed and ready to be copied to a flash drive.\033[0m \n
- Copy wi-fi-fixer.tar.gz located in your /home/$USER directory to a USB flash drive. \n
- On the laptop without Wi-Fi, plugin your USB flash drive containing wi-fi-fixer.tar.gz, copy it to the laptop's home directory. \n
- Right click and extract this wi-fi-fixer.tar.gz to your home directory. \n
- Inside the wi-fi-fixer directory, look for unpack-commands.txt - open it and copy/paste that command to fix your Wi-Fi on the laptop.\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment