Hi to all!

I use SuSE and have written a startscript
for my ax25 interfaces. It does it's work perfectly
when starting the interfaces, but the lines that should
stop them very often hangs my system. (not everytime -
sometimes it works without any problems)
There is no error message, but the system hangs
completely.

These few lines seem to be responsible for that:

killproc -TERM /usr/sbin/beacon &&
killproc -TERM /usr/sbin/ax25ipd >/dev/null &&
killproc -TERM /usr/sbin/ax25d &&
killproc -TERM /usr/sbin/ax25rtd &&
killproc -TERM /usr/sbin/mheardd &&
ifconfig scc2 down &&
ifconfig scc1 down &&
ifconfig scc0 down &&
ifconfig ax0 down &&
killproc -TERM /usr/sbin/kissattach &&
rmmod scc || return=$rc_failed

to be compelte here are the lines that start everything:

modprobe scc &&
 sccinit &&
 ifconfig scc0 44.143.216.14 netmask 255.0.0.0 hw ax25 OE8RSQ-10 &&
 ifconfig scc1 44.143.216.14 netmask 255.0.0.0 hw ax25 OE8RSQ-11 &&
 ifconfig scc2 44.143.216.14 netmask 255.0.0.0 hw ax25 OE8RSQ-12 &&
 kissattach /dev/ptyqf axip1 192.168.1.254 >/dev/null &&
 startproc /usr/sbin/mheardd &&
 startproc /usr/sbin/ax25rtd &&
 startproc /usr/sbin/ax25d &&
 startproc /usr/sbin/ax25ipd >/dev/null &&
 /usr/sbin/beacon -c OE8RSQ -d IDENT -t 20 radio1 "OE8RSQ TCP/IP Server
(Node callsign)" &&
 /usr/sbin/beacon -c OE8RSQ-10 -d IDENT -t 20 radio1 "OE8RSQ TCP/IP Server
(TCP/IP callsign)" &&
 echo 1 > /proc/sys/net/ax25/scc0/ip_default_mode ||
 return=$rc_failed


Thanks for your answers in advance
73 de Robert/OE8RSQ

Reply via email to