trying to get Archlinux arm on tonido

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

trying to get Archlinux arm on tonido

Postby maartenraap » Sun Dec 11, 2011 3:44 pm

I am atm trying to get archlinux running on my tonido, following the http://archlinuxarm.org/platforms/armv5/tonidoplug guide

this works perfect!

after this I tried installing the tonido arm package on it,

doing this:

first i copied the TonidoSetup_arm.deb to the root
then
Code: Select all
ar vx TonidoSetup_arm.deb
rm TonidoSetup_arm.deb
tar -xzf data.tar.gz
rm -rf data.tar.gz control.tar.gz debian-binary


then i tried to run tonido:

Code: Select all
sh /usr/local/tonido/tonido.sh start


as output I got,

Code: Select all
Starting Tonido Service:[root@alarm tonido]# nohup: redirecting stderr to stdout


but when I went to http://myplugip:10001 it apparently didn't start

So I am wondering if you people maybe could help me out? maybe on how to debug this thing? (or find out what packages I may miss?)

----------------------------------------------------------------------------------------------------

Another thing i tried was

Code: Select all
./tonidoconsole &


i got this time

Code: Select all
./tonidoconsole: error while loading shared libraries: libbootstrap.so: cannot open shared object file: No such file or directory
Last edited by maartenraap on Sun Dec 11, 2011 4:39 pm, edited 5 times in total.
maartenraap
 
Posts: 4
Joined: Wed Dec 07, 2011 9:59 pm

Re: trying to get Archlinux arm on tonido

Postby WarheadsSE » Sun Dec 11, 2011 3:59 pm

That's not an error.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6716
Joined: Mon Oct 18, 2010 2:12 pm

Re: trying to get Archlinux arm on tonido

Postby maartenraap » Sun Dec 11, 2011 4:21 pm

WarheadsSE wrote:That's not an error.


I was still editting the post, it is now
maartenraap
 
Posts: 4
Joined: Wed Dec 07, 2011 9:59 pm

Re: trying to get Archlinux arm on tonido

Postby maartenraap » Mon Dec 12, 2011 9:29 pm

okay I got it working, I will try to make a simple guide tomorrow

for now you can follow my post here:

http://www.tonido.com/forum/viewtopic.p ... 5&start=10
maartenraap
 
Posts: 4
Joined: Wed Dec 07, 2011 9:59 pm

Re: trying to get Archlinux arm on tonido

Postby phireph0x » Mon Jan 16, 2012 6:10 am

I've created an init script for starting and stopping Tonido on ALARM, heavily inspired by cron's. This runs as a daemon alongside other system services (e.g. crond, ntpd). I've tested and it seems to do the right thing. I'll have to post my entire config for getting everything up and running in ALARM sometime.

Code: Select all
#!/bin/bash
# Arch Linux init script for Tonido Plug application
# Author: Nick Davis
# Created 1-15-12

. /etc/rc.conf
. /etc/rc.d/functions

USER=tonido
TONIDODIR=/home/tonido/app/tonido
LOGFILE=/home/tonido/tonido_$USER.log

PID=$(pidof $TONIDODIR/tonidoconsole)

case "$1" in
   start)
      stat_busy "Starting Tonido Services"
      if [[ -z ${PID} ]] && su $USER -c "( cd $TONIDODIR && \
         export LD_LIBRARY_PATH=. \
         && $TONIDODIR/tonidoconsole &>$LOGFILE &)" &> /dev/null; then
         add_daemon tonido
         stat_done
      else
         stat_fail
         exit 1
      fi
      ;;
   stop)
      stat_busy "Stopping Tonido Services"
      if [[ -n ${PID} ]] && kill $PID &>/dev/null; then
         rm_daemon tonido
         stat_done
      else
         stat_fail
         exit 1
      fi
      ;;
   restart)
      $0 stop
      sleep 1
      $0 start
      ;;
   *)
      echo "usage: $0 {start|stop|restart}"
esac
phireph0x
 
Posts: 45
Joined: Tue Sep 06, 2011 5:40 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest