Save settings on sd card

Hello All
i need to save settings to text file on sd card
byte macDef = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ipDef = { 172, 16, 253, 55 };
byte subnetDef = { 255, 255, 255, 0 };
how to convert byte to string?
thank you in advance.

I do that now and then. Here is how:

Those seem to be constant values so why not store them in PROGMEM

Why do you need to convert bytes to anything else?


I use the SD card on the ethernet shield so I can replace the Arduino/shield, insert the old SD card into the new shield and use the same network settings without programming the settings into the Arduino. Just my preference...

BTW, if you store them in PROGMEM, you can't change them with this code.