Skip to content

Commit add12cc

Browse files
committed
update to new cli format
1 parent 75026df commit add12cc

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

content/docs/tools/teddyCloud/dns/esp32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: ""
44
---
55

66
# ESP32
7-
You can either set the IP/DNS within the image or you may do it like on the [CC3235](../cc3235).
7+
You can either set the IP/hostname within the image or you may do it like on the [CC3235](../cc3235).
88
With the teddyCloud you can use the ESP32 box flashing section to can set the DNS or IP address during the flash process.
99

1010
[Please continue with on the teddyCloud tool page from the beginning](../../#additional)

content/docs/tools/teddyCloud/dump-certs/esp32.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ After that you can manually extract them into the ```/certs/client/``` directory
1717
# Please check the filename of your backup
1818
# Be sure you are in the teddycloud directory
1919
# cd /teddycloud/ # just for docker
20-
teddycloud ESP32CERT extract data/firmware/ESP32_<mac>.bin certs/client
20+
teddycloud --esp32-extract data/firmware/ESP32_<mac>.bin --destination certs/client
2121
```
2222
Please check the filename of the extracted certs, especially the case! Change them to lowercase if they are uppercase.
2323
```
@@ -40,7 +40,7 @@ Be sure, that the dump is okay and you are able to extract the certificates.
4040
esptool.py -b 921600 read_flash 0x0 0x800000 tb.esp32.bin
4141
# extract certficates from firmware
4242
mkdir certs/client/esp32
43-
teddycloud ESP32CERT extract tb.esp32.bin certs/client/esp32
43+
teddycloud --esp32-extract tb.esp32.bin --destination certs/client/esp32
4444
# Copy box certificates to teddyCloud
4545
cp certs/client/esp32/CLIENT.DER certs/client/client.der
4646
cp certs/client/esp32/PRIVATE.DER certs/client/private.der

content/docs/tools/teddyCloud/flash-ca/esp32.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: ""
55

66
# ESP32
77
## Browser based
8-
With teddyCloud you can also write a new image with your custom CA and a DNS/IP so the box connects to teddyCloud.
8+
With teddyCloud you can also write a new image with your custom CA and a hostname/IP so the box connects to teddyCloud.
99
If you have a Fritzbox you can set it to tc.fritz.box (see CC3200 how to configure the hostname on your Fritzbox), if not set it to the IP of teddyCloud.
1010

1111
Check, that your backup of your flash is okay and you were able to extract the certificates.
@@ -20,8 +20,12 @@ Replace the original CA within your flash dump with esptool.
2020
```
2121
# copy firmware backup
2222
cp tb.esp32.bin tb.esp32.fakeca.bin
23+
2324
# inject new CA into firmware
24-
teddycloud ESP32CERT inject tb.esp32.fakeca.bin certs/client/esp32-fakeca
25+
teddycloud --esp32-inject tb.esp32.fakeca.bin --source certs/client/esp32-fakeca
26+
# modify IP/hostname (optional)
27+
teddycloud --esp32-hostpatch tb.esp32.fakeca.bin --hostname <YOUR-IP/HOST>
28+
2529
# flash firmware with new CA
2630
esptool.py -b 921600 write_flash 0x0 tb.esp32.fakeca.bin
2731
```

0 commit comments

Comments
 (0)