ax25 start up scripts

From: Barry (xkhp.afibco@uninett.no)
Date: Sat Jul 13 2002 - 05:09:59 EEST

  • Next message: Steve Lampereur: "Re: 802.11b wireless lan equipment and ham radio ?"

    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 oig@tricom.net
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Sat Jul 13 2002 - 05:28:17 EEST