Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* ax25 start up scripts
@ 2002-07-13  2:09 Barry
  2002-07-18 20:27 ` Wilson G. Hein
  0 siblings, 1 reply; 2+ messages in thread
From: Barry @ 2002-07-13  2:09 UTC (permalink / raw)
  To: Linux-Hams

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: ax25 start up scripts
  2002-07-13  2:09 ax25 start up scripts Barry
@ 2002-07-18 20:27 ` Wilson G. Hein
  0 siblings, 0 replies; 2+ messages in thread
From: Wilson G. Hein @ 2002-07-18 20:27 UTC (permalink / raw)
  To: Barry, Linux-Hams

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: linux-hams-owner@vger.kernel.org
[mailto:linux-hams-owner@vger.kernel.org]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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-18 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-13  2:09 ax25 start up scripts Barry
2002-07-18 20:27 ` Wilson G. Hein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox