The ramblings of a yorkshire tyke

Life, Rants and Programming In A Blog

Browsing Posts tagged pogoplug

I finally managed to get a cross compiler that works with the pogoplug, I first tried various custom build of the GNU C++ cross compiler on the Mac but none of them succeeded in creating binaries that were compatible with my little pink pogoplug.

Anyway, instead of boring you with various evening’s development woos… I will just tell you what I ended up doing which was to use VirtuaBox with ubuntu x86 and use this tar file (eg: bunzip2 it, tar xvf into $HOME)

Then to compile it I first had to setup the makefile for rsync:

# export PATH=$HOME/pogoplug-gcc/bin:$PATH
# CC=arm-none-linux-gnueabi-gcc ./configure --build=arm-linux\
 --host=arm-none-linux-gnueabi --target=arm-linux

Then to build is was easy… I just did…

# CC=arm-none-linux-gnueabi-gcc  make

Next, I found a small USB thumb drive, formatted in ext3 using ubuntu, placed it into the pogoplug, logged into it, remount’ed the drives using:

# mount -o remount exec /tmp/.cemnt/mnt_sdb1

You may need to change the mnt point, use mount to find it..

Now you will be able to use rsync via ssh and use –rsync-path to point to rsync on your ext3 drive.

I required, I make the rsync exe + md5 sum available… just shout!

Okay.. I got my pogoplug last week and I have been playing around with it and it is now time to change the root password… so guess what happened…

bash-3.2# passwd
Changing password for root
New password:
Retype password:
passwd: cannot update password file /etc/shadow
bash-3.2#

The good news, the file system is read-only, so it was pretty simple to work around, just use mount…

bash-3.2# mount -o rw,remount /
-bash-3.2# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root
-bash-3.2# mount -o ro,remount /

Powered by WordPress Web Design by SRS Solutions © 2010 The ramblings of a yorkshire tyke Design by SRS Solutions
AWSOM Powered