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
The main three things are these: | |
1. Inside /etc/network/interfaces: | |
The wifi interface should be set as dhcp as have the usual settings for using wpa_conf | |
2. Inside /etc/dhcpcd.conf: | |
Disable ipv6 | |
Add the the gateway (router) as static routers=... | |
3. Create a file /etc/sysctl.d/40-ipv6.conf, where you disable ipv6 for all AND for each interface | |
(more info about ipv6 disabling in https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6) |
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
There are 3 ways of disabling power save on the Raspberry Pi 3 depending on how you wifi is configured: | |
1. Configured using NetworkManager | |
Follow this gist: https://gist.github.com/jcberthon/ea8cfe278998968ba7c5a95344bc8b55 | |
2. Configured using Command Line editing `/etc/network/interface` | |
The accepted known method is to add the following line *AFTER* the setting up of the interface |
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 | |
find -maxdepth 1 -type d -print | grep -v \\. |
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 | |
# Add this one-liner script to the PATH variable and have the power to count the files in a directory from anywhere in the command line | |
#NAME is the prefix that the files share in common | |
NAME=$1; ls -1 | grep -E ${NAME}[0-9]{1}\\. | sed -e 'p;s/\([0-9]\)/0\1/g' | xargs -n 2 mv |
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 | |
# Add this one-liner script to the PATH variable and have the power to count the files in a directory from anywhere in the command line | |
ls -1 $1 | wc -l |
NewerOlder