Skip to content

Reset config

Ken Carpenter requested to merge reset-config into master

Previously it was very easy to get the unit into a state where you needed to take it apart and use an SD card to recover it.

This would happen if, for example, someone set a static IP address incorrectly (e.g., wrong subnet). The unit would not even be visible on the local network or with nmap if using the expected correct subnet for the scan.

Now, users can press the front button for 10 seconds to reset all config:

  • copy default_cgminer.conf to cgminer.cong
  • reset login to admin/admin
  • reset timezone to New York
  • reset hostname to Obelisk
  • reset network to DHCP

As part of adding this control, the thread that controls fan speed and button press checks was moved from driver-obelisk.c to the Ob1FanCtrl code.

Merge request reports