|
|
| Line 1: |
Line 1: |
| === Network ===
| |
| {| class="wikitable"
| |
| !Subnet
| |
| !Use
| |
| |-
| |
| |192.168.40.0/22
| |
| |Allocated
| |
| |-
| |
| |192.168.42.0/24
| |
| |Home network
| |
| |-
| |
| |192.168.42.0/27
| |
| |Routing hardware
| |
| |-
| |
| |192.168.42.32/27
| |
| |Servers
| |
| |-
| |
| |192.168.42.64/26
| |
| |Home appliances
| |
| |-
| |
| |192.168.42.128/27
| |
| |Users
| |
| |-
| |
| |192.168.42.160/27
| |
| |IPSec ("DHCP" via Virtual IP)
| |
| |-
| |
| |192.168.42.192/26
| |
| |DHCP
| |
| |}
| |
|
| |
|
| ==== Hardware IPs ====
| |
| {| class="wikitable"
| |
| !Device
| |
| !MAC
| |
| !WIred LAN
| |
| !Wired VPN
| |
| !Wireless LAN
| |
| !Wireless VPN
| |
| !WAN
| |
| |-
| |
| | rowspan="3" |FreeNAS
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| | rowspan="2" |pfSense
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |UniFi
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |UniFi
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |UniFi
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |LiFX
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Nanoleaf
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Roomba
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Sonoff
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Sonoff
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Sonoff
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Octoprint
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Kodi
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Desktop
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Laptop
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |Phone
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |}
| |
|
| |
| == Newly discovered Linux utilities ==
| |
| * findmnt: able to check/search for mounted files/mountpoints (of combination); useful for scripting!
| |
|
| |
| == Gentoo on T480s ==
| |
| <syntaxhighlight>
| |
| groups sbach
| |
| wheel audio dialout video usb plugdev pcscd realtime sbach
| |
|
| |
| /usr/local/portage/profiles/targets/laptop/lenovo-t480s/
| |
| /etc/portage/make.conf
| |
|
| |
| /etc/locale.gen
| |
| locale-gen
| |
| eselect locale set en_US.utf8 (/etc/env.d/02locale)
| |
|
| |
| https://wiki.gentoo.org/wiki/Pam_u2f
| |
| /etc/pam.d/system-local-login
| |
| /etc/u2f_mappings
| |
| /etc/sudoers
| |
|
| |
| emerge --sync
| |
| emerge -DNUa --complete-graph @world
| |
| emerge --depclean (--with-bdeps=y)
| |
|
| |
| rc-update add <name> default
| |
| bluetooth
| |
| dhcpcd
| |
| gpm
| |
| ipsec
| |
| pcscd
| |
| sshd
| |
| wpa_supplicant
| |
|
| |
| # for allowing RT scheduling (e.g. jack2)
| |
| usermod -aG realtime sbach
| |
|
| |
|
| |
| eselect kernel set linux-4.17.0-gentoo
| |
| </syntaxhighlight>
| |
|
| |
| == Yubikey 4 ==
| |
| <syntaxhighlight>
| |
| ykman mode -f "OTP+FIDO+CCID"
| |
|
| |
| ykman info
| |
| Device type: YubiKey 4
| |
| Serial number: 7677873
| |
| Firmware version: 4.3.7
| |
| Enabled USB interfaces: OTP+FIDO+CCID
| |
|
| |
| Applications
| |
| OTP Enabled
| |
| FIDO U2F Enabled
| |
| OpenPGP Enabled
| |
| PIV Enabled
| |
| OATH Enabled
| |
| FIDO2 Not available
| |
|
| |
|
| |
| </syntaxhighlight>
| |
|
| |
| == Jack ==
| |
| <syntaxhighlight>
| |
| cat <<EOF > $HOME/.jackdrc
| |
| /usr/bin/jackd -R -T -d dummy
| |
| EOF
| |
|
| |
| cat <<EOF >> /etc/modprobe.d/alsa.conf
| |
| options snd-usb-audio index=6,7 vid=0x17ef,0x2972 pid=0x306f,0x0007
| |
| EOF
| |
|
| |
| jack_load internal audioadapter -i "-d hw:0"
| |
| jack_load thinkpad_dock audioadapter -i "-d hw:6"
| |
| jack_load fiiox3 audioadapter -i "-d hw:7"
| |
|
| |
| jack_unload internal
| |
| jack_unload thinkpad_dock
| |
| jack_unload fiiox3
| |
|
| |
|
| |
| TODO: check why can't set index=10,11 (needs to be lower than 10?)
| |
|
| |
|
| |
| http://www.fiio.me/forum.php?mod=viewthread&tid=41872
| |
| updated kernel fixes FiioX3 sample format issue?
| |
| </syntaxhighlight>
| |