Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Full factory reset/wipe? #23

Closed daid closed 10 years ago

daid commented 10 years ago

Is it possible to do a full factory reset/wipe everything? I think my box is corrupted because I'm seeing some odd behavior even on SSH. So I would like to do a full clean install.

daid commented 10 years ago

Reflashing the image worked, thanks Peter for the info. Not sure what caused it, but I had a wlan0 and wlan0-1, which caused all kinds of connection problems.

pjo1976 commented 10 years ago

How can you reset the Doodle3D wifi box, I tried to set up as client but possibly put the wrong password in for wireless network, then disconnected the box and now cannot get connected at all to the Doodle3D wifi box

peteruithoven commented 10 years ago

At @pjo1976, you don't need to reflash in that case, connecting trough cable should work. But if you want to reflash you can now use the safeupdate page. More info: http://doodle3d.com/help/faq#102

Sup33r commented 2 years ago

Hey, @peteruithoven ! Do you still know (after these 6 or so years) how to reflash the doodle3d wifibox? I would read the website if i could, but that is unfortunatly down 😞.

Thanks! //Viktor

peteruithoven commented 2 years ago

I don't know the state of your wifi box, or your technical prowess.

You could try running the (safe)update web interface that used to be on the website: https://github.com/Doodle3D/update

The interesting bit of logic: https://github.com/Doodle3D/update/blob/master/js/main.js#L252-L316

It looks like it uses the update API that's on the wifi box: https://github.com/Doodle3D/doodle3d-firmware/blob/master/src/rest/api/api_update.lua

If you have the .bin you could use scp to copy it to the device:

scp bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin root@192.168.1.1:/tmp/

And then ssh into the device and use the sysupgrade to flash it:

sysupgrade -n /tmp/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin

It's indeed been a while, I hope this helps.

Sup33r commented 2 years ago

Thanks for the reply!

How would I go about ssh:ing into the device? Do you know the username and password?

peteruithoven commented 2 years ago

I can probably figure that out, but I would recommend trying the API approach first?

Sup33r commented 2 years ago

That would probably be easier if i wanted to keep the doodle3d firmware, but i want to change to a different firmware, which i think you only can do if you connect to the device via ssh. No worries if you cant get the username and password 😄

peteruithoven commented 2 years ago

Ah sure, but we agreed on not publicizing the login details openly, let me know how I can reach out to you privately.