This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:edge2:install-os:install-os-into-emmc-via-oowow [2022/07/25 02:03] hyphop created |
products:sbc:edge2:install-os:install-os-into-emmc-via-oowow [2022/09/28 00:16] (current) hyphop |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~tag> Edge2 oowow~~ | + | {{indexmenu_n> |
| + | |||
| + | |||
| + | ~~tag> | ||
| ====== Edge2 Install OS into eMMC via OOWOW ====== | ====== Edge2 Install OS into eMMC via OOWOW ====== | ||
| + | [[:OOWOW:]] provide many ways for eMMC writing, for any configurations... | ||
| + | |||
| + | ===== GUI ===== | ||
| + | |||
| + | [[software/ | ||
| + | |||
| + | ==== Wizard ==== | ||
| + | |||
| + | [[software/ | ||
| + | |||
| + | ==== Write Image to eMMC ==== | ||
| + | |||
| + | More advanced way. User can choose any suitable image from different locations: local storage SD/USB/... , network storage or download server... | ||
| + | |||
| + | {{/ | ||
| + | |||
| + | ===== WEB GUI ===== | ||
| + | |||
| + | [[software/ | ||
| + | [[software/ | ||
| + | |||
| + | * LAN: '' | ||
| + | * USB: '' | ||
| + | * Hot-Spot: '' | ||
| + | ===== API - shell ===== | ||
| + | |||
| + | All next steps doing on pc side by command-lines shell. Both devices must be connected in same local network. | ||
| + | |||
| + | <WRAP tip > | ||
| + | Advanced way for developer, head-less usage, automation, scripting and advanced users: [[software/ | ||
| + | </ | ||
| + | |||
| + | ==== Write via USB-OTG connection ==== | ||
| + | |||
| + | <WRAP tip > | ||
| + | Edge2 connected by USB to PC always have full access by USB IP: **172.22.1.1** | ||
| + | </ | ||
| + | |||
| + | ```sh api-write-image-to-emmc-by-usb-connection.sh | ||
| + | curl 172.22.1.1/ | ||
| + | ``` | ||
| + | |||
| + | <wrap info > | ||
| + | **IMAGE_FILE_NAME** - actual image file name on you local PC for writing to device | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Write via Hot-Spot WAN connection ==== | ||
| + | |||
| + | <WRAP tip > | ||
| + | Edge2 connected as Hot-Spot have full access by WAN IP: **172.23.0.1** | ||
| + | </ | ||
| + | |||
| + | ```sh api-write-image-to-emmc-by-wan-hotspot-connection.sh | ||
| + | curl 172.23.0.1/ | ||
| + | ``` | ||
| + | |||
| + | ==== Write via LAN connection ==== | ||
| + | |||
| + | <WRAP tip > | ||
| + | Edge2 by local network name edge2-XXXXX can get [[# | ||
| + | </ | ||
| + | |||
| + | ```sh api-write-image-to-emmc-by-lan-connection.sh | ||
| + | curl edge2-XXXXX/ | ||
| + | ``` | ||
| + | |||
| + | ===== Scan local network for edge2 names ===== | ||
| + | |||
| + | We can get access to any Edge2 device by local network name | ||
| + | |||
| + | ```shell scan-edge2-devices-in-local-networks.sh | ||
| + | ~$ avahi-browse -a |grep edge2 | ||
| + | + wlan0 IPv4 edge2-00064 | ||
| + | + usb0 IPv4 edge2-00064 | ||
| + | + usb0 IPv4 edge2-00064 | ||
| + | + wlan0 IPv4 edge2-00064 | ||
| + | ~$ ping edge2-00064.local | ||
| + | ~$ ssh root@edge2-00064.local | ||
| + | ... | ||
| + | ``` | ||
| + | |||
| + | Any time can get right name for your device '' | ||
| + | |||
| + | WIP: | ||