2014-03-13

Tiny Core Linux Network Boot: DHCPD, TFTPD, Busybox


DHCPD:
        if [ ! -f /etc/udhcpd.conf ]; then
                sudo /bin/cp /mnt/tcz/dhcp/udhcpd.conf /etc
        fi
        if [ ! -f /etc/udhcpd.statics ]; then
                sudo /bin/cp /mnt/tcz/dhcp/udhcpd.statics /etc
        fi
        sudo mkdir -p /var/lib/misc
        sudo /usr/sbin/udhcpd -f /etc/udhcpd.conf > /var/log/udhcpd.log 2>&1 &


TFPTD:
        mkdir -p /opt/tftp
        sudo udpsvd -vE 0.0.0.0 69 tftpd /opt/tftp > /var/log/tftpd.log 2>&1 &

1 comment:

  1. Thank you very much. I followed your commands with the minor adjustments, and it worked like a charm.

    ReplyDelete