{{indexmenu_n>10}} ~~tag>Edge2 oowow~~ ====== Edge2 Install OS into eMMC via OOWOW ====== [[:OOWOW:]] provide many ways for eMMC writing, for any configurations... ===== GUI ===== [[software/oowow/user-manual#interfaces|Common OOWOW menu interface]] available for HDMI display and USB-keyboard ==== Wizard ==== [[software/oowow/getting-started#oowow-wizard|OOWOW Wizard]] automate all steps for you, just follow instructions... ==== 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... {{/products/sbc/vim4/install-os/oowow-emmc-write.webp}} ===== WEB GUI ===== [[software/oowow/user-manual#main-menu|OOWOW menu]] also provided as [[software/oowow/user-manual#web-access|web interface]] for your preferred browser: * LAN: ''%%http://edge2-XXXXX.local%%'' - [[#scan-local-network-for-edge2-names]] * USB: ''%%http://172.22.1.1%%'' * Hot-Spot: ''%%http://172.23.0.1%%'' ===== API - shell ===== All next steps doing on pc side by command-lines shell. Both devices must be connected in same local network. Advanced way for developer, head-less usage, automation, scripting and advanced users: [[software/oowow/user-manual#web-api|OOWOW API]] ==== Write via USB-OTG connection ==== 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/shell/write | sh -s - IMAGE_FILE_NAME ``` **IMAGE_FILE_NAME** - actual image file name on you local PC for writing to device ==== Write via Hot-Spot WAN connection ==== 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/shell/write | sh -s - IMAGE_FILE_NAME ``` ==== Write via LAN connection ==== Edge2 by local network name edge2-XXXXX can get [[#scan-local-network-for-edge2-names]] ```sh api-write-image-to-emmc-by-lan-connection.sh curl edge2-XXXXX/shell/write | sh -s - IMAGE_FILE_NAME ``` ===== 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 SSH Remote Terminal local + usb0 IPv4 edge2-00064 _device-info._tcp local + usb0 IPv4 edge2-00064 SSH Remote Terminal local + wlan0 IPv4 edge2-00064 _device-info._tcp local ~$ ping edge2-00064.local ~$ ssh root@edge2-00064.local ... ``` Any time can get right name for your device ''edge2-XXXXX.local'' where XXXXX is a last 5 digits from device serial number... WIP: