Skip to content

Instantly share code, notes, and snippets.

View fberndl's full-sized avatar

Florian Berndl fberndl

View GitHub Profile
@fberndl
fberndl / openwrt_wireless.sh
Created January 19, 2021 15:30 — forked from ruzickap/openwrt_wireless.sh
OpenWrt WiFi configuration tweaks
uci set wireless.radio0.channel=8
uci set wireless.radio0.htmode=HT40-
uci set wireless.radio0.noscan=1
uci set wireless.radio0.bursting=1
uci set wireless.radio0.ff=1
uci set wireless.radio0.compression=1
uci set wireless.radio0.xr=1
uci set wireless.radio0.ar=1
uci set wireless.radio0.txpower=20
@fberndl
fberndl / AccessPointHotspot.sh
Created January 25, 2021 12:35 — forked from venkateshshukla/AccessPointHotspot.sh
Make a access point hotspot in Fedora
#!/bin/bash
#Initial wifi interface configuration
ifconfig wlp8s0 up 10.20.30.1 netmask 255.255.255.0
sleep 2
###########Start dnsmasq, modify if required##########
if [ -z "$(ps -e | grep dnsmasq)" ] then
dnsmasq
fi
###########
@fberndl
fberndl / ubuntu-22-04-setup.sh
Last active October 16, 2023 07:46
Ubuntu 22.04 Setup
#!/bin/bash
DEBIAN_FRONTEND="noninteractive"
sudo apt update
# Yocto 4.2.99
https://docs.yoctoproject.org/ref-manual/system-requirements.html version
sudo apt -yqq install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales
sudo apt -yqq install make python3-pip inkscape texlive-latex-extra
sudo pip3 install sphinx sphinx_rtd_theme pyyaml
/dts-v1/;
/plugin/;
#include <dt-bindings/input/input.h>
/{
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2c1>;
@fberndl
fberndl / gist:ab77e104b59d61c69af3dedd650c71e8
Created April 1, 2025 11:00 — forked from technoweenie/gist:1072829
.netrc file so you can push/pull to https git repos without entering your creds all the time
machine github.com
login technoweenie
password SECRET
machine api.github.com
login technoweenie
password SECRET