TFTP Bootloader install on Nano-clone

sepp01:
why i not find this excellent HowTo in Internet..

Well... GitHub - per1234/Ariadne-Bootloader: Arduino TFTP bootloader for W5100 Ethernet controller(Arduino Ethernet, Ethernet Shield, etc.) is actually my repository. I'm not the author of the Ariadne bootloader but I did fork on the recommendation of the bootloader author since I wanted to add Boards Manager support but they were unable to work on Ariadne at that time. In addition to Boards Manager support, I did try to improve the documentation, and I believe I covered most of what I said in my previous reply in the Ariadne readme, but I'm sure it could use some more work. I have a lot more improvements I'd like to make to Ariadne but I've been busy with other projects so I haven't gotten around to it.

sepp01:

  1. is write protected

The Arduino IDE write protects example sketches to prevent people from accidentally making changes to them. You only need to do File > Save As... and save your modified version of the sketch anywhere else you like.

sepp01:
2) i not find this file

You can find the location of any sketch you have open by Sketch > Show sketch folder.

sepp01:
can not change the permissions there

The file attributes are not likely set to read only. It's only the Arduino IDE that considers the sketch read only because it's a library example. You should be able to open the file in a standard text editor and edit it but it's better for you to leave it alone and instead save your own version of the sketch somewhere else.

sepp01:
because maybe i installed via
Boards Manager Installation

Boards Manager does install the hardware package to a strange location on your computer:
On Mac OS X:
/Users/{username}/Library/Arduino15

On Windows:
Arduino IDE 1.6.5r5 and previous:
C:\Users{username}\AppData\Roaming\Arduino15
Arduino IDE 1.6.6 and later:
C:\Users{username}\AppData\Local\Arduino15

On Linux:
/home/{username}/.arduino15 (a.k.a. ~/.arduino15)

You can find the location of your Arduino15 folder at the line following File > Preferences > More preferences can be edited directly in the file.

That folder may be hidden by your OS and I suppose it's possible there are some permissions restrictions on the entire folder imposed by the OS.

sepp01:
but what mean ===> "You do need to make sure that any other sketches don't write to the EEPROM..." ?

if is my arduino already prepare for TFTP and i have upload my networksettings too and later i would be upload a any normal sketch over usb or over tftp ... i have to look then too the sketch not use the address from 0 - 63 ?

Yes, you need to make sure any other sketches don't write to EEPROM addresses 0-63. There is actually a library included with Ariadne named NewEEPROM that automatically avoids those addresses but I think it's easier to just know the addresses to avoid and use the standard EEPROM library instead.

Note that only EEPROM addresses 0-26 are used for the network settings. 27-63 are used by the EthernetReset library to store the reset password but you don't need to use EthernetReset, that's optional. The idea with a password protected reset is that if you expose your Arduino with the Ariadne bootloader to the Internet then anyone could upload a sketch to it. I only have my Arduinos exposed to my local network so security is not a concern for me and I don't use a password and I don't use the EthernetReset library. I just have a simple command I send to my Arduino to trigger the reset.

sepp01:
i think if i have installed a tftp-bootloader then i can use it uSB for upload sketches too?
right?

That's correct, but USB uploads only work if you have the W5100 Ethernet controller connected to your Nano. It's just a quirk of the bootloader that I intend to fix eventually: