Skip to content

Instantly share code, notes, and snippets.

View sfloess's full-sized avatar
💭
while(true);

Scot P. Floess sfloess

💭
while(true);
View GitHub Profile
@sfloess
sfloess / NetBSD.md
Last active November 4, 2022 19:13
NetBSD tips and tricks

NetBSD Tips and Tricks

  • Package Management
    • pkgin
      • Enable pkgin:
        • export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.3/All"
        • pkg_add pkgin
    • Apps installed to /usr/pkg/bin/
@sfloess
sfloess / antiX.md
Last active April 4, 2024 19:27
antiX Tips and Tricks

antiX Tips and Tricks

Quickies

  • Services
    • Enable: update-rc.d [basename] defaults
    • Disable: update-rc.d [basename] disable
  • Couldn't recognize the image file format for file: apt install librsvg2-common
  • NFS client - no_root_squash is not supported
  • When setting up, no ethernet use dhclient
  • For antiX VMs, make sure to install qemu-guest-agent to honor reboot/shutdown signals.
@sfloess
sfloess / kde.md
Last active January 18, 2022 16:33
Tips and tricks for KDE

KDE

Tips and tricks for KDE.

How To's

  • Installing KDE
    • Debian: apt -y install task-kde-desktop
  • Rebooting KDE
    • killall plasmashell
    • kstart plasmashell
  • Remove discover: dnf remove plasma-discover
@sfloess
sfloess / Alt-F.md
Created August 8, 2021 23:21
Tips and tricks for Alt-F

Alt-F

Tips and tricks for Alt-F.

How To's

  • Native NFS client
    • ssh into Alt-F. Example ssh -p 2222 localhost
    • cd /etc
    • Update fstab
    • In web ui, go to Services -> Network -> rmount -> Configure
  • Mount the newly added mounts

DragonFlyBSD

How To's

  • Register hostname with DHCP

    • /etc/dhclienf.conf: send host-name "hostname";
      • send host-name "server-01";
  • Network Time Protocl: dntpd

    • /etc/dntpd.conf: server [server/ip address]
@sfloess
sfloess / Cabin.md
Last active November 10, 2022 21:03

Cabin Hardware

cabin-ap

DD-WRT

Startup
log() {
    echo "---------------------------------------" 2>&1 >> /tmp/flossware.log
@sfloess
sfloess / dd-wrt.md
Last active November 10, 2022 19:55
DD-WRT

DD-WRT Tips and Tricks

Quickies

  • Install Entware
  • Anonymous samba share: mount.cifs //[host]/[share] [local dir] -o rw,noperm,guest,workgroup=[workgroup],sec=ntlm
    • Example: mount.cifs //192.168.168.2/exports /opt/debian/mnt/family-ap/exports -o rw,noperm,guest,workgroup=FLOSSWARE,sec=ntlm
    • Note the sec=ntlm option
  • To use things like cifs, nfs server, etc, use modprobe in your startup commands:
    • /sbin/modprobed cifs
    • /sbin/modprobe nfs
@sfloess
sfloess / *nix.md
Last active March 25, 2024 13:51
*nix

Bare Metal and VM Configuration

Notes

Much of the information contained here can be externalized to Ansible.

Common

AutoFS

Home Page

  • /etc/auto.admin-ap