Can anyone translate this Command Prompt command into a Terminal command?

Discussion in 'Mac Programming' started by JS82189, Jun 4, 2010.

  1. JS82189 macrumors regular

    Joined:
    Jan 30, 2010
    #1
    Enter "tftp -i 192.168.1.1 put dd-wrt.v24-micro_generic.bin" on your local Windows console and press enter. (If you're using Windows Vista or Windows 7, you need to first enable the tftp client)
    (for linux, tftp 192.168.1.1; mode octet;put dd-wrt.v24-micro_generic.bin or tftp -v -m octet 192.168.1.1 -c put dd-wrt.v24-micro_generic.bin).
     
  2. pilotError macrumors 68020

    pilotError

    Joined:
    Apr 12, 2006
    Location:
    Long Island
    #2
    This should work... Try it and let me know.

    Code:
    (echo put dd-wrt.v24-micro_generic.bin
     echo quit) | tftp -e 192.168.1.1
    
    If you want to log the output

    Code:
    (echo verbose
     echo put dd-wrt.v24-micro_generic.bin
     echo quit) | tftp -e 192.168.1.1 > tftp_results_$RANDOM.log
    
     
  3. JS82189 thread starter macrumors regular

    Joined:
    Jan 30, 2010
    #3
    thanks

    not sure if I'll need it now that I found out FiOS is coming to the area.
     

Share This Page