Table of Contents

Environment

PATH=/home/jann/openwrt/trunk/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux/bin:$PATH

Wampes

Compiling

Packaging

Files in user-defined subdirectory:

/etc/rc.d/S98wampes         <- Link to /etc/init.d/wampes
/etc/init.d/wampes
/CONTROL
/CONTROL/control
/CONTROL/conffiles
/usr/local/wampes/net    
/usr/local/wampes/net.rc

File /etc/init.d/wampes

#!/bin/sh /etc/rc.common
 
START=98
STOP=98
 
start() {
  if [ ! -d /tmp/tcp ] ; then
    mkdir /tmp/tcp
    ln -s /usr/local/wampes/net /tmp/tcp/net
    ln -s /usr/local/wampes/net.rc /tmp/tcp/net.rc
    if [ ! -h /tcp ] ; then 
      ln -s /tmp/tcp /tcp
    fi
  fi
  /tcp/net  </dev/null >/dev/null 2>&1 &
}
 
stop() {
  killall net
}

File /CONTROL/control

Package: wampes
Version: 20050527-0.2
Depends:
Provides:
Source: http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/wampes-import
Section: hamradio
Priority: optional
Maintainer: Jann Traschewski, DG8NGN <jann@gmx.de>
Architecture: mipsel
Description: Packet Radio Software Router for AX.25

File /CONTROL/conffiles (these will not be overwritten on an update)

/usr/local/wampes/net.rc

Xnet

Packaging

Files in user-defined subdirectory:

/etc/rc.d/S80xnet         <- Link to /etc/init.d/xnet
/etc/init.d/xnet
/CONTROL
/CONTROL/control
/CONTROL/conffiles
/usr/local/xnet/wrtxnet
/usr/local/xnet/conf/AUTOEXEC.NET
/usr/local/xnet/conf/PASSWD.NET
/usr/local/xnet/conf/IP.NET
/usr/local/xnet/conf/screen.xnet

File /etc/init.d/xnet

#!/bin/sh /etc/rc.common
 
START=80
STOP=80
 
start() {
  rdate time.fu-berlin.de
  if [ ! -d /tmp/xnet ] ; then
    mkdir /tmp/xnet
    ln -s /usr/local/xnet/wrtxnet /tmp/xnet/wrtxnet
    ln -s /usr/local/xnet/conf/* /tmp/xnet/
    touch /tmp/xnet/BOX.CFG
  fi
  cd /tmp/xnet
  chmod 600 /tmp/xnet/BOX.CFG
  screen -DmS xnet -c /usr/local/xnet/conf/screen.xnet &
}
 
stop() {
  killall wrtxnet
}

File /CONTROL/control

Package: xnet
Version: 1.39-20071005-0.3
Depends: screen
Provides:
Source: http://www.swiss-artg.ch/xnet/beta
Section: hamradio
Priority: optional
Maintainer: Jann Traschewski, DG8NGN <jann@gmx.de>
Architecture: mipsel
Description: Packet Radio Software Router for AX.25

File /CONTROL/conffiles (these will not be overwritten on an update)

/usr/local/xnet/conf/AUTOEXEC.NET
/usr/local/xnet/conf/PASSWD.NET
/usr/local/xnet/conf/IP.NET
/usr/local/xnet/conf/screen.xnet

TNN

Compiling

Compile “cleaner” and “output” with x86.

Packaging

Files in user-defined subdirectory:

/etc/rc.d/S80tnn         <- Link to /etc/init.d/tnn
/etc/init.d/tnn
/CONTROL/control
/CONTROL/conffiles
/usr/local/tnn/tnn179.tnb
/usr/local/tnn/pacsat/pfhadd
/usr/local/tnn/tnn.ini
/usr/local/tnn/textcmd
/usr/local/tnn/example/tnnini.all
/usr/local/tnn/example/tnn179.pas
/usr/local/tnn/msg/msg.sys
/usr/local/tnn/msg/msg.usr
/usr/local/tnn/tnn179.pas
/usr/local/tnn/__README.1ST__
/usr/local/tnn/sysexe/msy
/usr/local/tnn/######01.tnb
/usr/local/tnn/conversd.xhf
/usr/local/tnn/screen.tnn
/usr/local/tnn/conversd.g
/usr/local/tnn/upd
/usr/local/tnn/userexe/msg
/usr/local/tnn/userexe/help
/usr/local/tnn/userexe/top
/usr/local/tnn/tnn
/usr/local/tnn/ax25ip.cfg

File /etc/init.d/tnn

#!/bin/sh /etc/rc.common
 
START=80
STOP=80
 
start() {
  rdate time.fu-berlin.de
  cd /usr/local/tnn
  screen -DmS tnn -c /usr/local/tnn/screen.tnn &
}
 
stop() {
  killall tnn
}

File /CONTROL/control

Package: tnn
Version: 1.79mh05-0.2
Depends: screen
Provides:
Source: http://www.nordlink.org/~dg9obu/source_download.htm
Section: hamradio
Priority: optional
Maintainer: Jann Traschewski, DG8NGN <jann@gmx.de>
Architecture: mipsel
Description: Packet Radio Software Router for AX.25

File /CONTROL/conffiles (these will not be overwritten on an update)

/usr/local/tnn/tnn179.tnb
/usr/local/tnn/tnn.ini
/usr/local/tnn/tnn179.pas
/usr/local/tnn/######01.tnb
/usr/local/tnn/conversd.xhf
/usr/local/tnn/conversd.g
/usr/local/tnn/ax25ip.cfg

Discussion

Warning: tnn write some files like xnet and wampes in installed dir, better use a filesystem in the ramdisc.

“PAR SaveConfig 0” is default to prevent multiple write events on the flash disk. ← This Info is out of the Readme for TNN/Mipsel. Please give further details. Is there a need to change the startupfiles? — Jann Traschewski 2008/03/03 18:42

BIRD

Compiling

./configure –prefix= -host=mipsel -with-sysconfig=linux-22 bird_cv_c_endian=little-endian

Packaging

Files in user-defined subdirectory:

/etc/rc.d/S40bird         <- Link to /etc/init.d/bird
/etc/init.d/bird
/etc/bird.conf
/CONTROL
/CONTROL/control
/CONTROL/conffiles
/usr/sbin/bird
/usr/sbin/birdc

File /etc/init.d/bird

#!/bin/sh /etc/rc.common
 
START=40
STOP=40
 
start() {
  bird
}
 
stop() {
  killall bird
}

File /CONTROL/control

Package: bird
Version: 1.1.4-0.1
Depends: libncurses
Provides:
Source: ftp://bird.network.cz/pub/bird/bird-1.1.4.tar.gz
Section: net
Priority: optional
Maintainer: Jann Traschewski, DG8NGN <jann@gmx.de>
Architecture: mipsel
Description: Internet routing daemon with BGP/RIP/OSPF support

File /CONTROL/conffiles (these will not be overwritten on an update)

/etc/bird.conf