Skip to content

Instantly share code, notes, and snippets.

@mastier
Created January 4, 2021 01:09

Revisions

  1. mastier created this gist Jan 4, 2021.
    3 changes: 3 additions & 0 deletions oneline-tftpd.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # create damn simple TFTP dasemon
    IFACE='ens0p25'
    sudo dnsmasq -i $IFACE --dhcp-range=192.168.69.100,192.168.69.150 --enable-tftp --tftp-root=/home/$USER/tftdir -d -u $USER -p0 -K --log-dhcp --bootp-dynamic