{{indexmenu_n>10}}
~~tag>Edge-2L oowow~~
====== Edge-2L install OS into eMMC via OOWOW ======
[[oowow:]] provides multiple methods for writing OS images to eMMC, accommodating various configurations.
===== GUI method=====
The [[software/oowow/user-manual#interfaces|common OOWOW menu interface]] is accessible via an HDMI display and a USB keyboard.
==== Wizard ====
The [[software/oowow/getting-started#oowow-wizard|OOWOW Wizard]] automates all steps. Simply follow the on-screen instructions.
==== Write image to eMMC ====
A more advanced method where users can select any suitable image from different sources: local storage (SD card, USB drive, etc.), network storage, or download servers.
{{/products/sbc/vim4/install-os/oowow-emmc-write.webp}}
===== WEB GUI method=====
The [[software/oowow/user-manual#main-menu|OOWOW menu]] is also avaliable as a
[[software/oowow/user-manual#web-access|web interface]] for your preferred browser:
* LAN: ''%%http://edge-2l-XXXXX.local%%'' - (see [[#scan-local-network-for-edge-2l-names]])
* USB: ''%%http://172.22.1.1%%''
* Hot-Spot: ''%%http://172.23.0.1%%''
===== API/Shell method =====
The following steps are performed on your PC using command-line tools. Both the PC and the Edge-2L must be connected to the same local network.
This is an advanced method for developers, headless usage, automation, scripting, and experienced users. See [[software/oowow/user-manual#web-api|OOWOW API]] for more details.
==== Write via USB-OTG connection ====
When the Edge-2L is connected to your PC via USB, it is always accessible at the static IP: **172.22.1.1**.
```sh api-write-image-to-emmc-by-usb-connection.sh
curl 172.22.1.1/shell/write | sh -s - IMAGE_FILE_NAME
```
**IMAGE_FILE_NAME**: Replace this with the actual path and filename of the image on your local PC that you want to write to the device.
==== Write via HotSpot(WAN) connection ====
When the Edge-2L is acting as a Wi-Fi hotspot, it is accessible at the IP: **172.23.0.1**.
```sh api-write-image-to-emmc-by-wan-hotspot-connection.sh
curl 172.23.0.1/shell/write | sh -s - IMAGE_FILE_NAME
```
==== Write via LAN connection ====
The Edge-2L can be accessed on the local network by its hostname ''edge-2l-XXXXX''. Find the name using the method described in [[#scan-local-network-for-edge-2l-names|Scan local network]].
```sh api-write-image-to-emmc-by-lan-connection.sh
curl edge-2l-XXXXX/shell/write | sh -s - IMAGE_FILE_NAME
```
===== Scan local network for Edge-2L devices =====
We can get access to any Edge-2L device by local network name
```shell scan-edge-2l-devices-in-local-networks.sh
~$ avahi-browse -a |grep edge-2l
+ wlan0 IPv4 edge-2l-00064 SSH Remote Terminal local
+ usb0 IPv4 edge-2l-00064 _device-info._tcp local
+ usb0 IPv4 edge-2l-00064 SSH Remote Terminal local
+ wlan0 IPv4 edge-2l-00064 _device-info._tcp local
~$ ping edge-2l-00064.local
~$ ssh root@edge-2l-00064.local
...
```
The device hostname always follows the pattern ''edge-2l-XXXXX.local'', where ''XXXXX'' are the last five digits of the device's serial number.
WIP: