- Download the factory binary link (download page)
- consider downloading from the tp link page associated with your country, as directed on the page
- the download linked to by the openWRT wiki did not work for me
- Extract the
.bin
file from the zip and rename it:wr810nv1_tp_recovery.bin
- On Ubuntu (verified on 18.10) install tftpd-hpa:
sudo apt install tftpd-hpa
- Create the default tftp directory:
/var/lib/tftpboot
- Move
wr810nv1_tp_recovery.bin
to/var/lib/tftpboot
- In the gnome network manager, set the IPv4 address to manual,
192.168.0.66
with mask255.255.255.0
- Connect an ethernet cable between the computer and the WAN/LAN port of the router
- Restart the tftp daemon to be sure:
sudo systemctl restart tftpd-hpa.service
This file contains 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
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# improve the path | |
if [ -d "$HOME/bin" ] ; then | |
PATH="$HOME/bin:$PATH" |
This file contains 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
gist |
This file contains 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 reflector --verbose -l 200 -p http --sort rate --save /etc/pacman.d/mirrorlist |
This file contains 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
date -s "$(wget -S "http://www.google.com/" 2>&1 | grep -E '^[[:space:]]*[dD]ate:' | sed 's/^[[:space:]]*[dD]ate:[[:space:]]*//' | head -1l | awk '{print $1, $3, $2, $5 ,"GMT", $4 }' | sed 's/,//')" |
This file contains 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
#!/bin/bash | |
pygmentize $1 | less -R -N |
This file contains 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
gcloud beta pubsub topics publish cron-5-minutes --message="run cron" |
This file contains 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
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: every-5-minutes | |
spec: | |
schedule: "*/5 * * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: |
This file contains 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
gcloud beta functions deploy my-cloud-function --source=https://source.developers.google.com/projects/${PROJECT}/repos/${SOURCE_REPO}/fixed-aliases/${GIT_TAG} |
Sometimes the installer crashes. With 19.10, this happened when trying to connect to the wifi. The solution is to set the kernel parameters when starting the installer or live environment.
- Press
e
when the grub boot menu is displayed (the menu that lets you "Try Ubuntu" or "Install Ubuntu") - On the line containing the kernel parameters, add the following (to the same line) after
quiet splash
:acpi_rev_override i915.modeset=1 nouveau.modeset=0
Note: I'm not sure if they are all needed, but it fixed the installer from crashing when connecting to the wifi.
OlderNewer