This post is intended mainly to Zyxel NSA310 users. Prerequisites See first https://adrhc.go.ro/blog/common-commands-when-building/ for building environment, x.sh script and other things not defined here. Before starting do declare the environment variables specified to the link above. Environment & other preparations […]
Tag: nsa310
NSA310: phpMyAdmin setup
#start configuration mkdir $HOME/apache-htdocs/myadmin/config chown -R nobody:nobody ~/apache-htdocs/myadmin Access https://adrhc.go.ro/myadmin/setup. #you’ll then have $HOME/apache-htdocs/myadmin/config/config.inc.php which you must move to $HOME/apache-htdocs/myadmin/config.inc.php #then delete $HOME/apache-htdocs/myadmin/config #bzopen and bzcompress functions required This means you don’t have extension=bz2.so somehow enabled into php. #Enable Features […]
Using zyxel utils hooks
#you can’t apply/stop one hook; you start/stop all of them with: /ffp/start/zyxel_utils.sh start/stop #you enable/disable hook by uncommenting/commenting entries in /ffp/start/zyxel_utils.sh #e.g. enable nfs hooking: #uncomment hook_nfs entry in /ffp/start/zyxel_utils.sh #see zyxel_utils.sh log cat /tmp/intercept.log #see active zyxel_utils.sh hooks cat […]
NSA310 FFP patches
wget -O /ffp/bin/config.guess ‘http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD‘ wget -O /ffp/bin/config.sub ‘http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD‘ chmod +x /ffp/bin/config.guess chmod +x /ffp/bin/config.sub sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/roff2text sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/pprof sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/grog sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/roff2x sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/roff2ps sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/g /ffp/bin/gdbus-codegen sed -i […]
FFP 0.7 startup scripts
#Executed at startup /usr/local/zy-pkgs/ffproot/after_booting.sh /etc/init.d/samba.sh restart /ffp/start/sshd.sh /ffp/etc/fun_plug.local -> here insert your startup commands /ffp/etc/rc /ffp/etc/rc /ffp/start/.sh #executed at least for shell logins /ffp/etc/profile /ffp/etc/profile.d/.sh
NSA310, FFP, lddd (missing libraries)
#see http://forum.nas-central.org/viewtopic.php?f=249&t=14699&hilit=lddd&start=0#p82527 wget http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/lddd -O /ffp/sbin/lddd chmod 755 /ffp/sbin/lddd lddd #Do NOT solve like below the missing libraries reported by lddd: ln -s /lib/libc.so.6 /ffp/lib/ ln -s /usr/lib/libdb-5.2.so /ffp/lib/ ln -s /usr/lib/libffi.so.5 /ffp/lib/ ln -s /lib/ld-linux.so.3 /ffp/lib/
Zyxel NSA310 toolchain
Zyxel NSA310 toolchain & firmware sdk http://gpl.nas-central.org/ZYXEL/NSA310_GPL/FW4.40/ Zyxel NSA310 processor http://www.marvell.com/embedded-processors/kirkwood/ Marvell Kirkwood 88F6281 Processor information (cpu info) cat /proc/cpuinfo Features: swp half thumb fastmult edsp Hardware: Feroceon-KW -> means Feroceon Kirkwood /bin/dmesg | grep ‘ARM’