[Xastir] ax25 question

Curt, WE7U curt.we7u at gmail.com
Wed Jul 27 15:31:42 EDT 2011


On Wed, 27 Jul 2011, Lee Bengston wrote:

> If you do not have a start-up script in /etc/init.d, I suspect your
> xastir device port is not ax25 given it appears to be working without
> the ax25 interface being set up.
>
> My ax25 interface in Xastir looks like this in the interface control box:
>
> Device  1     UP     AX25 TNC aprs

Yep.  Exactly what I was thinking.

Another thing to check is that you've done the following against the Xastir executable to allow it to run as root when opening the AX.25 port:

     sudo chmod 4755 /usr/local/bin/xastir

or wherever your Xastir executable lives...  The above is the default if you compile from sources without any special flags to relocate it.

A networking port has to be opened as root.  The above command sets the SUID flag on the executable, allowing it to run as root when the executable requests it.  In the Xastir code we assume root privilege only during the opening/closing of ports, and drop back to normal user privileges otherwise.  Good security practice.

-- 
Curt, WE7U.        http://www.eskimo.com/~archer
Babysitting your tracker:  http://info.aprs.net/index.php?title=ControlOperator



More information about the Xastir mailing list