lawrencebillson / parkrun

parkrunPortable; stopwatch & barcode downloading software - runs on Kingston MLWG2 portable router
12 stars 5 forks source link

Uninstall parkrun from MLW221? #9

Open mbagain opened 4 years ago

mbagain commented 4 years ago

Hi, I had no idea what parkrun is and was just trying to follow instructions to install OpenWRT on my MLW221, but accidentally went one step to far and ended up installing parkrun. Now I can't get the device to auto-load the OpenWRT image or even the original Kingston image. Any help to uninstall parkrun would be truly appreciated. Thanks, MBagain

mbagain commented 4 years ago

Help please... someone?

lawrencebillson commented 4 years ago

You've installed OpenWRT - the parkrun image is just some application software that runs over the top of it.

You can SSH in and use the regular OpenWRT tools (e.g. sysupgrade) to upgrade to whatever firmware image you want.

Details of IP addresses and passwords here: https://github.com/lawrencebillson/parkrun/wiki/MLW221

If you can hit it with a web browser, you can put whatever firmware image you want on a USB stick, name it 'parkrunupgrade.bin'. The Web interface's upgrade option will do a sysupgrade using that file.

mbagain commented 4 years ago

Thank you lawrencebillson, I've managed to ssh into root after a bit of a struggle, but as I have no experience with this, I'm not sure what to do from hereon to clear parkrun from the device.

I have the 2 OpenWRT image files mlwfw_v1.1.5.9.bin and mlwfw-header.bin on a USB stick plugged into the device, but can't figure out their path in SSH in order to run the following command which I believe is the right command to reset the firmware to just the OpenWRT without parkrun:

sysupgrade -v /*.bin

When I tried running this command immediately upon being in root@OpenWrt, it gave the messages: Image metadata not found Invalid image type. Image check 'platform_check_image' failed.

Already tried to get into the parkrun web interface and tried "upgrade from USB" option from there after having renamed the firmware file to parkrunupgrade.bin and leaving it on a USB disk plugged into the device (prior to starting it up), but nothing seems to happen when I do this.

Any beginner level help will be most appreciated.

Thanks