[RESOLVED] Reset root password in NAND

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Reset root password in NAND

Postby ubermacin » Wed Jan 23, 2013 5:48 am

W00t! it worked! First I enabled netconsole just in case. On my Mac (it would be different commands for linux), I opened two tabs in my terminal. In one I opened the read only:

$this->bbcode_second_pass_code('', 'nc -l -u 6666')

In the second tab, I did (with X.X.X.X being the IP address of the pogoplug):

$this->bbcode_second_pass_code('', 'nc -u X.X.X.X 6666')

Then on the pogoplug, I ran the stuff from this post: http://forum.doozan.com/read.php?3,14,14

That is (Y.Y.Y.Y being your desktop with NC running):
$this->bbcode_second_pass_quote('', '[')code]fw_setenv serverip Y.Y.Y.Y
fw_setenv ipaddr X.X.X.X
fw_setenv if_netconsole 'ping $serverip'
fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
fw_setenv preboot 'run if_netconsole start_netconsole'[/code]


Then I ran the Moonman codes, and it worked! The last thing I needed to do was reboot, which I did by: $this->bbcode_second_pass_code('', '/sbin/reboot -f') oh, and when you are finished with your nc instances, be sure to run on your desktop: $this->bbcode_second_pass_code('', 'killall nc') Thank you SO much Moonman, Warheads and xenoxaos! :D
ubermacin
 
Posts: 13
Joined: Fri Jan 18, 2013 6:56 pm

Re: Reset root password in NAND

Postby moonman » Wed Jan 23, 2013 8:04 am

$this->bbcode_second_pass_quote('ubermacin', 'o')h, and when you are finished with your nc instances, be sure to run on your desktop: $this->bbcode_second_pass_code('', 'killall nc')

You are welcome ;) You can just CTRL+C out of nc

Also, there's more thorough configuration for netconsole (with kernel logging as well) described here: viewtopic.php?f=18&t=3355
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests