Device Recovery on Boot
From wiliGear wiki
Devices that are missing reset to factory defaults settings button (or due to housing button is not accessible without disassembling the housing first) need functionality that allows easily reseting device to default settings.
Description
During startup of a device, when drivers of ethernet interfaces are loaded, the discovery daemon is started. The daemon suspends startup process for 3 seconds and waits for ICMP "echo reuqest" packet of length 369 bytes. If the packet received, the discoveryd resets the device to default configuration.
Usage
Steps to reset to default settings (for linux users):
Step 1. Power off the device.
Step 2. Obtain the device MAC address.
Step 3. Connect a PC to the same physical subnet as the device.
Step 4. Execute 'arp -s' command to assign the IP address (IP address should be from the same subnet as PC) to the device MAC address:
arp -s <IP address to assign> <device MAC address>
Step 5. Start pinging the device:
ping <IP address> -s 369
- for windows users:
ping <IP address> -l 369 -t -w 0.2 -S <Computer IP address>
Step 6. Power up device and wait about 30sec or more (depends from device hardware).
