Can't start FFP-Stick

Oxnas 810 based
Post Reply
bkbilly
Posts: 5
Joined: Tue Aug 21, 2012 1:11 pm

Can't start FFP-Stick

Post by bkbilly » Tue Aug 21, 2012 1:27 pm

I have NSA221 with 4.23 firmware and I tried to install FFPStick-2012-05-28...
I copied the files in a USB and I restarted my Nas...
When it was over I tried to see if the telnet works, but nothing...
The partitions were created normaly, but that was it...
Can you help me?

This is my Log File:
Rotating logfiles...
Script fun_plug.sh version 20120319 running from /mnt/parnerkey
ffpstick started at Tue Aug 21 02:53:32 GMT 2012
Try to determine NAS type...
according to /zyxel/mnt/info/modelid: DC01->NSA221
type NSA221, fw 4.23(AFM.0)
Find the current usb device...usb device is /dev/sdc1 on device /dev/sdc
Check for filesystem...Filesystem is vfat
Check /dev/sdc for number of partitions.../dev/sdc has 1 partitions
Will have to repartition
Copy files to ramdisk...
Copied usb_key_func.sh nsa210_check_file md5sum nsa220_check_file NSA221_check_file salted_md5sum nsa310_check_file_C0 salted_md5sum_3x0 STG100_check_file STG211_check_file STG212_check_file mkdosfs after_booting.sh rootfs.tgz fun_plug.sh
Script fun_plug.sh version 20120319 running from /tmp/.ffpstick
Repartition /dev/sdc
unmount /mnt/parnerkey...done
Repartitioning...

Command (m for help): Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (1-1014, default 1): Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1014, default 1014):
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (35-1014, default 35): Using default value 35
Last cylinder or +size or +sizeM or +sizeK (35-1014, default 1014): Using default value 1014

Command (m for help): Partition number (1-4): Hex code (type L to list codes): Changed system type of partition 1 to 4 (FAT16 <32M)

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
Done. Creating and mounting filesystems...
Create ext3 filesystem on /dev/sdc2 and mount...
mke2fs 1.38 (30-Jun-2005)
Filesystem label=FFPROOT
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
117856 inodes, 470400 blocks
23520 blocks (5.00%) reserved for the super user
First data block=1
58 block groups
8192 blocks per group, 8192 fragments per group
2032 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

Writing inode tables: 0/58 1/58 2/58 3/58 4/58 5/58 6/58 7/58 8/58 9/5810/5811/5812/5813/5814/5815/5816/5817/5818/5819/5820/5821/5822/5823/5824/5825/5826/5827/5828/5829/5830/5831/5832/5833/5834/5835/5836/5837/5838/5839/5840/5841/5842/5843/5844/5845/5846/5847/5848/5849/5850/5851/5852/5853/5854/5855/5856/5857/58done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Mount /dev/sdc2 on /mnt/parnerkey type ext3...done
Move files to ext3 partition...after_booting.sh...rootfs.tgz...done
Create dummy symlinks...done
Unmount /dev/sdc2...done
Create FAT filesystem on /dev/sdc1 and mount...mkdosfs 2.11 (12 Mar 2005)
Mount /dev/sdc1 on /mnt/parnerkey type vfat...done
Move files to vfat partition...usb_key_func.sh...nsa210_check_file...md5sum...nsa220_check_file...NSA221_check_file...salted_md5sum...nsa310_check_file_C0...salted_md5sum_3x0...STG100_check_file...STG211_check_file...STG212_check_file...mkdosfs...fun_plug.sh...done
...And calling the script on stick again...
Script fun_plug.sh version 20120319 running from /mnt/parnerkey
ffpstick started at Tue Aug 21 02:55:10 GMT 2012
Try to determine NAS type...
according to /zyxel/mnt/info/modelid: DC01->NSA221
type NSA221, fw 4.23(AFM.0)
Find the current usb device...usb device is /dev/sdc1 on device /dev/sdc
No after_booting.sh in the root of the ffpstick found
This is not the first run, or FFP is supposed to run from a different place
Copy myself to /tmp...And execute...
/tmp/.ffpstick/fun_plug.sh BackgroundPolling -d /dev/sdc -n NSA221 -f "4.23(AFM.0)" -r no -l &
Script fun_plug.sh version 20120319 running from /tmp/.ffpstick
Wait for the stick to be mounted again by the firmware...
Probe all mount points 0 seconds...
probe /proc/bus/usb...
probe /dev/pts...
probe /zyxel/mnt/info...
probe /zyxel/mnt/NAND...
probe /zyxel/mnt/sysdisk...
probe /usr/local/etc...
probe /usr/local/var...
probe /usr/local/dmsf...
probe /etc/zyxel...
probe /i-data/272de85e...
probe /e-data/5032-F88E...
found ffpstick on /e-data/5032-F88E, moving logfile
probe /e-data/ada93044-ee0e-4d13-bd48-283a983a9234...
found ffproot on /e-data/ada93044-ee0e-4d13-bd48-283a983a9234/ffproot
probe /usr/local/zy-pkgs...
probe /etc/zyxel/zy-pkgs...
probe /usr/local/apache/htdocs/zyxel/pkg...
Starting /e-data/ada93044-ee0e-4d13-bd48-283a983a9234/ffproot/after_booting.sh version 20120524 at Tue Aug 21 05:55:45 EEST 2012...
Extract rootfs.tgz...Done
Which FFP version to use?
Is OABI supported?...yes. Is EABI supported?...no, choosing FFP 0.7/oarm
Will try to download fun_plug.tgz (version 0.7/oarm)
http://ffp.inreto.de/ffp/0.7/oabi/fun_plug.tgz
If the script stops here, downloading the tarball from ffp.inreto.de failed.
You can try to get internet access for the NSA221,
or copy fun_plug.tgz (case sensitive!) to the share containing ffproot.
It should be recognized and installed.
It is possible that you have to reboot the box before this share shows up.
ping ffp.inreto.de...

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Can't start FFP-Stick

Post by Mijzelf » Tue Aug 21, 2012 2:19 pm

Will try to download fun_plug.tgz (version 0.7/oarm)
http://ffp.inreto.de/ffp/0.7/oabi/fun_plug.tgz
If the script stops here, downloading the tarball from ffp.inreto.de failed.
You can try to get internet access for the NSA221,
or copy fun_plug.tgz (case sensitive!) to the share containing ffproot.
It should be recognized and installed.
It is possible that you have to reboot the box before this share shows up.
ping ffp.inreto.de...
What do you think?

bkbilly
Posts: 5
Joined: Tue Aug 21, 2012 1:11 pm

Re: Can't start FFP-Stick

Post by bkbilly » Tue Aug 21, 2012 3:09 pm

I saw that, but I don't know where exactly should I put it...

Vulpix
Posts: 28
Joined: Mon Jul 30, 2012 8:41 pm

Re: Can't start FFP-Stick

Post by Vulpix » Tue Aug 21, 2012 3:15 pm

It says where to put it in the log as well ^_^;

bkbilly
Posts: 5
Joined: Tue Aug 21, 2012 1:11 pm

Re: Can't start FFP-Stick

Post by bkbilly » Tue Aug 21, 2012 3:42 pm

from what I understund I have to put it in the USB partition-> ffproot folder -> Share folder...
The Share folder is not there!
Do I have to create it?

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Can't start FFP-Stick

Post by Mijzelf » Tue Aug 21, 2012 3:47 pm

copy fun_plug.tgz (case sensitive!) to the share containing ffproot.
There is some share, representing the 2nd partition of your FFP stick, and that share contains a folder ffproot. Put it in that share.

bkbilly
Posts: 5
Joined: Tue Aug 21, 2012 1:11 pm

Re: Can't start FFP-Stick

Post by bkbilly » Tue Aug 21, 2012 3:52 pm

I don't know where it is... I searched Everywhere...

bkbilly
Posts: 5
Joined: Tue Aug 21, 2012 1:11 pm

Re: Can't start FFP-Stick

Post by bkbilly » Tue Aug 21, 2012 5:56 pm

I just found it....
It was the root of the USB partition that contained the ffproot folder...
Thanks for your help!

Post Reply