RE: ax25 start up scripts

From: Wilson G. Hein (hseap@alpeng.com)
Date: Thu Jul 18 2002 - 23:27:53 EEST

  • Next message: John Feist: "PPPOE, IPTABLES and dynamic axip tunnels"

    Have you tried putting sleep 2 after the first 3 kissataches? I know that
    was a problem in the past.

    Wilson, WJ3G

    -----Original Message-----
    From: tkinvy@c66-231.icpnet.pl
    [mailto:kvn.bvlwcz@mx.dy.fi]On Behalf Of Barry
    Sent: Friday, July 12, 2002 10:10 PM
    To: Linux-Hams
    Subject: ax25 start up scripts

    Hi, I have the following in a file called rc.ax25

    #!/bin/bash

    kissnetd /dev/ptysf /dev/ptyse &

    #sleep 10

    kissattach /dev/ttyS2 ax0 44.135.97.18
    kissattach /dev/ttyS3 ax1 44.135.97.19
    kissattach /dev/ttysf ax2 44.135.97.20
    kissattach /dev/ttyse ax3 44.135.97.21

    /sbin/ifconfig ax0 mtu 236 broadcast 44.135.97.255 up
    /sbin/ifconfig ax1 mtu 236 broadcast 44.135.97.255 up
    /sbin/ifconfig ax2 mtu 236 broadcast 44.135.97.255 up
    /sbin/ifconfig ax3 mtu 236 broadcast 44.135.97.255 up

    The script works just fine if I execute it from a consol, but if I call
    it from rc.local and have it run at start up, ax0 and ax1 are created
    OK, but not ax2 and ax3.

    This problem occurs in other situations too, where the file runs fine
    when manually started, but not when called at startup. Any ideas please?

    Using Mandrake 8.2, with kernel 2.4.18-19
    Athalon 1.3 ghz

    Barry
    Ve3nav/va3wi

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to ioga.cinexqxtxh@viertel-motoren.de
    More majordomo info at http://vger.kernel.org/majordomo-info.html

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to whhxc.lsicc@ricoh.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Thu Jul 18 2002 - 23:28:23 EEST