For the command to restore the MAC address: Quote # Restore original MAC address from the stock U-Boot environment # (actual value redacted) /tmp # ./tools/fw_setenv ethaddr '00:25:XX:XX:XX:XX' I found this command from another blog: fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)" With this command the MAC address will be set automatically without the needby nnSlick - Rescue System
Hi All, Please disregard my previous post about mtd0's permission denied error. Turns out it was my mistake: did not run the setenv bootargs step before booting into Openwrt the first time. I now has a rescue system on my V4 plug that I plan to use as a NFS server. Thanks go to bodhi and iSKUNK for this excellent guide. By the way, it appears that V4 Mobile (not A3 version) plugs arby nnSlick - Rescue System
iSKUNK! and bodhi, Great guide and good timing! I just found a Pogoplug V4 (version A3) and plan to use it as my NFS server. I use this guide to flash the new uboot and uenvironment, and was able to boot into openwrt from the uImage, but run into a road block. After booting into openwrt for the first time, my mtd looks different and I could not do any fw_setenv: root@OpenWrt:~# cat /proc/mtby nnSlick - Rescue System
bodhi, Thanks a lot. It has been a while so I did not even realize that this device has a removable top and underneath there is a USB and a SATA port!. This little device fits my purposes perfectly. I will install Debian on a SATA drive and make it my NFS server. -nnSlickby nnSlick - uBoot
bodhi, As always really appreciate your quick answers. Quote That env just tell whether the DTB is separate or already appended to uImage. So, if one want to boot from your roots tar ball, this environment variable must be set, correct? Quote I've modified it slightly since u-boot was released in 2017. But it basically work the same way. IP addresses must be changed to your specifiby nnSlick - Rescue System
Hi bodhi and all, Just found another plug in a box and this time it is a V4-A3 that has USB 3.0 which is nice. Thinking about using this a a NFS server to host among other things rootfs for other plugs to boot from. After update to the newest uboot (2017), from netconsole it seems that the a USB drive connected to a USB 3.0 port is not detected. Uboot thinks there is one USB device (controlby nnSlick - uBoot
iSKUNK!, Very clear and easy to follow guide. A couple of questions: 1. Any reason to increase the area for uboot to 2M? bodhi's original partition and the other guide use 1M. 2. In part I # OpenWRT neither provides nor needs a DTB file, so unset that variable /tmp # ./tools/fw_setenv dtb_file Perhaps bodhi will chime in, but can Debian boot without this file? 3. You also mby nnSlick - Rescue System
bodhi, Bingo, your are the wizard! After modifying the exports file and add V2 support to the NFS server I was able to boot into my e02 from my NFS server!!! Now I can prepare to have a several of my Pogo devices to run from an NFS server. Really do appreciate your help! Thanks again, -nnSlickby nnSlick - uBoot
bodhi and David, Thanks for the suggestion. I tried to assign a single command with fw_setenv from OpenWRT on NAND but it has command line length limitations. So, I booted up debian and did what you suggest and was able to have a single command to boot up from NFS. Since I am trying with the newest rootfs I also added 'rw' to bootargs. However, still no network. Where is what I dby nnSlick - uBoot
Hi bodhi, As always appreciate your quick response! I made the changes to fstab and interfaces as you suggested but using the uboot commands setting from the OP I can see that the kernel etc were loaded from NFS server but still no network connection. I broke your one command to several fw_setenv: fw_setenv nfs_server "192.168.8.245" fw_setenv nfs_path "/srv/nfs/rootfsby nnSlick - uBoot
After posting the message above, I just found yet another excellent 'How To' from Bodhi on how to use net console to trouble shooting kernel booting. I will use that thread to see if I can figure out what went wrong when booting from NFS. -nnSlickby nnSlick - uBoot
Thanks David. I had a serial cable a while back but cannot locate it now so I rely on net console output, which unfortunately stops after the uboot message 'Starting kernel ...' -nnSlickby nnSlick - uBoot
Hi Bodhi and All, Was wandering around the wiki and found this thread which is very interesting. Since i have a bunch of dockstar and pogoplug e02 devices laying around, I am thinking about putting them to work. Intrigued by bodhi's convincing reasons why booting from NFS I tried to set up one pogoplug (e02) to boot from a NFS server. First I run into compatibility issues with my OpenWRTby nnSlick - uBoot
Bodhi, Thanks for the link and for re-uploading the old rootfs. I downloaded it and try but the plug does not boot. Since I have another unit working I will put the this one in the garage and will try to revive it with a serial cable. You are awesome and I really do appreciate your help. Thanks, nnSlick.by nnSlick - Debian
Bodhi, Wow, appreciate your prompt response! The link to Debian-3.17 rootfs on Dropbox seems to be expired though, as I get a 404 error trying to download it. nnSlickby nnSlick - Debian
Bodhi, As always I really do appreciate your quick response and help. > > Do you recall how it was set up to run in 2012? > was it ALARM installation? If I know what you did > back then, I could potentially show you how to > boot with an old Debian rootfs. > I have two units, and it looks like back then I 'hacked' them both to boot from a SATA hard driveby nnSlick - Debian
Hi Bodhi, I have another PogoPlug V3 circa 2012 that unfortunately do not have a running system and I would like to update it to newer Uboot to use your Debian rootfs, since I understand that your newer rootfs requires newer Uboot. What is the best way to achieve this without a serial cable? I was looking for Debian-3.xx rootfs on your dropbox but it appears to be gone. Thanks in advancby nnSlick - Debian
Bodhi, Bingo! Redo the installation steps carefully using alarm and the USB drive boots into debian! Previously the debian USB drive was created on a x86 Linux (Arch) machine and perhaps I have missed something. Really appreciate your help and responses. Now I can use this device as an NFS file server. Thanks again, nnSlickby nnSlick - Debian
Bodhi, Thanks for creating a new thread for my question and your response. I will try to recreate the rootfs again and post the session. Your uboot seems to work fine since I can see and verify the messages via netconsol (until the 'Starting kernel' message. nnSlickby nnSlick - Debian
To eliminate any DHCP problems, I modify the interfaces file in /etc to use a static IP address of my LAN, but same result: cannot see the PogoPlug on my LAN. After booting using the old alarm file system, I looked at the dmesg file in the USB and these are a few last lines: [ 4.052843] sd 1:0:0:0: 30529536 512-byte logical blocks: (15.6 GB/14.6 GiB) [ 4.066112] sd 1:0:0:0: Writby nnSlick - Debian
Hi All (especially Bohdi), Found a PogoPlug Classic after a move and trying to install the newest Debian on it, but run into a problem that I hope I can get help from you. I flashed the newest Uboot loader an created a USB with the newest Debian filesystem on it. Booted the device and from netconsole, it looks like the kernel is booting (saw the message Starting kernel...) and the LED glowsby nnSlick - Debian
Hi @bohdi, Thanks for your response and advice. I almost forget about formatting before writing. Will experiment with one of my DockStar. Slickby nnSlick - Debian
Hi @bohdi, I was looking to change the partition layout of my PP devices (Dockstar, GoFlexHome, E02 etc...) and this information is great! I am trying to enlarge the root partition of these devices (set as 32MB) and could not find any information until ... today! I guess after we installed your new 2014.7 uBoot, we can use the fw_setenv command to change the mtd partition layout, am I corby nnSlick - Debian
Greetings everyone, I have been toying with adding more packages to Davygravy's excellent plugs (SMBPlug and MacPlug) and the biggest issue is that the mtd2 partition has only 32MB allocated. The mtd3 partition has more than 200MB unused! On XDA I saw scripts to change the NAND flash partion sizes of Nook Color so I hope it is also possible for our Kirkwood based devices. Hence the queby nnSlick - Rescue System
@varkey, I bet you use putty to access to your device. Apparently putty does not support the code for characters used for the "-->". I sees the arrow when I access my device via ssh from another Linux machine but see what you saw if I access the same device from putty.by nnSlick - Debian
Many thanks for your response, Davy! I will play around with MacPlug to change the initialization to include nfs. I understand the limit of the image to be written to NAND partition 2, which has only 32MB, if we do not want to re-partition the device. I am wondering if we could include minimal package management capability in the image? If we could then we can install add-on packages on the rby nnSlick - Rescue System
Hello all, Long time lurker, first time poster here. I had to register to post so that I can thank Davy for this wonderful work! I installed SMBPlug on my GoflexHome and Dockstar and it works beautifully. In preliminary speed test, I can get 20-23 MBps transfer speed between my 3TB (7200 rpm) hard drive and my Windows 7 desktop. I could not change the timezone and the system displays UTC tiby nnSlick - Rescue System