To run ffp you need to extract the ffp tarball
to some data partition, create a symlink /ffp whichs points to it, and execute
I'll try that tommorow
The first hard part is already solved by you, you have shell access (as root?).
yes, as root
The second hard part is to find a way to get a user provided script to be executed on boot. To do so, you'll have to locate the mountpoints of the several partitions (to know which part of the filesystem is volatile, and which not), and sift the startscript(s). Mountpoints can be found with
And startscripts, well have a look at /etc/init.d/rcS, if it exists.
rootfs / rootfs rw 0 0
/dev/root.old /old ext2 rw,relatime,errors=continue 0 0
ubi0:rootfs / ubifs rw,relatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
/dev/ram0 /initrd ext2 rw,relatime,errors=continue 0 0
/dev/md0 /system ext2 rw,relatime,errors=continue 0 0
/dev/sda4 /share/atonnas xfs rw,relatime,noquota 0 0
well have a look at /etc/init.d/rcS, if it exists
# ls /etc/init.d
post-rc.bootup pre-rc.bootup rc.banner
# ls /etc/rc.d
S01halt S12syslog.sh load_power_button_module.sh sshd.sh
S01reboot S90crond.sh rcResponder.sh
but there is a /etc/rc script which i believe is the place to start any script:
export HOME PATH
rm -rf /etc/mtab
echo "Mounting proc filesystem..."
if [ ! -d /proc ]; then
mkdir -p /proc
mount -n -t proc /proc /proc
if [ ! -d /sys ]; then
mkdir -p /sys
mount -n -t sysfs /sys /sys
mount -t usbfs usbfs /proc/bus/usb
- /etc/rc 1/954 0%
// EDIT: I've confirmed that I can start a script from /etc/rc and it will load after reboot
- Does the box support installable packages? If yes, can you provide one?
From the webgui there is no possibility to install any packages (unlike in NSA310 where you can download and install additional packets like SMART)
- The firmware files as provided by Shuttle are base64 encoded encrypted binaries. Can you find a script which decodes this? I'm mainly interested in the cipher and the key, to be able to extract it. The script problably contains calls to base64 and openssl.
I'll look but If you have any clue where should it be, it would be helpful