Re: [Xastir] USB to Serial issue

2011-04-08 Thread ml41782



I'm running xastir on a Desktop with 2 TNC's KPC3+  KPC9612
I'm using all three ports. and both TNC's are connected using USB-RS232  
/dev/ttyUSB0  /dev/ttyUSB1
both TNC's are in kiss mode

I'm using ax25 tools to do this. and the one connected to the KPC9612 I'm using 
the mkiss command. 


This  gives me ax0,ax1  ax2 interfaces to bring up in xastir. 

i.e. 
1. sudo /usr/sbin/kissattach /dev/ttyUSB0 SGATE 172.1.1.2

2. beacon -c k4mqf -d WIDE2-2  -s SGATE test

3. sudo  mkiss -s 9600 -x 2 /dev/ttyUSB1
**VERIFY BY LOOKING AT THE RADIO AT TIME OF SENDING ** SAME BELOW FOR 6  7

set the pts ports per cmd response above

4. sudo /usr/sbin/kissattach /dev/pts/1 IGATE 172.1.1.1
5. sudo /usr/sbin/kissattach /dev/pts/2 UGATE 172.1.1.1

6. beacon -c k4mqf -d WIDE2-2  -s IGATE test
7. beacon -c k4mqf -d WIDE2-2  -s UGATE test

8. start  XASTIR in far window #4

9. Start Monitors in Windows 3

10. Start Digi_ned in Window 2

Use this cmd line as is.
first port internal to digi_ned is 1 second port is 2

digi_ned location is /opt/digi_ned

server digi_ned #sudo ./digi_ned -p IGATE -p UGATE -p SGATE -v -a -d -k


sudo axlisten -a -c -p UGATE
sudo axlisten -a -c -p IGATE
sudo axlisten -a -c -p SGATE


sudo /usr/local/bin/xastir

sudo /opt/digi_ned




___
Xastir mailing list
Xastir@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] USB to Serial issue (Curt, WE7U)

2011-04-08 Thread Dale Seaburg

Subject:
Re: [Xastir] USB to Serial issue
From:
Curt, WE7U curt.w...@gmail.com
Date:
Thu, 07 Apr 2011 09:35:10 -0700 (PDT)

To:
Xastir - APRS client software discussion xastir@lists.xastir.org


On Thu, 7 Apr 2011, Dale Seaburg wrote:

I have on my laptop (HP dv-7) a copy of Ubuntu 10.10 with latest 
xastir from cvs,  When I insert my USB-serial dongle, and add a KISS 
serial tnc (OT+ @ 9600) and then Start the interface, the Interface 
hangs.  I have to pull the dongle to release the hang.


When I use a serial terminal, like GtkTerm, it works fine.  I see the 
KISS stuff come across.  When I shutdown the serial terminal and 
start xastir and the Interface, I still get a hang.  The user is a 
group member of DIALOUT.


I have a similar setup on my stationary HP TC-1100 (KG5LT-5),  The 
user in this case is not a group member of DIALOUT.  It just works!


Do I have to remove the DIALOUT group membership on my laptop?

Any suggestions where to look for the problem?


Check the ownership and permissions for the USB port you're trying to 
use.  It should be something like /dev/USB0 or /dev/USB1.


ls -l /dev/USB*

See what group the USB ports belong to as it it might be something other 
than dialout.  The permissions for the group need to be read/write as 
well so it should be something like:


crw-rw 1 root dialout

Also make absolutely sure that the user you're logging in as is a member 
of the dialout group, or whatever group is listed for that port.


grep user /etc/group

and that you've logged out and back in since adding that user to the group.

--
Curt, WE7U. http://www.eskimo.com/~archer
U.S. Weather Alerts:  Firenet.us, port 14580, filter t/n e/WE7U-WX

Curt,

Actually, the device is /dev/ttyUSB0  and it does have the root DIALOUT 
user/group values.  And, they both are 'rw'.  The only thing I can think 
of is that I may have done the xastir-cvs-thinky incorrectly.  Also, as 
I pointed out, on my TC-1100, user 'dale' is not a member of the group 
DIALOUT, but xastir still works on that machine under the 'dale' user.  
Also, logging out and back in did not solve the issue.


Why would GtkTerm have no problems?  What's so special about that 
program, that xastir doesn't have?  Very strange.


Still mystified... 73 - Dale.  KG5LT


___
Xastir mailing list
Xastir@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] USB to Serial issue (Curt, WE7U)

2011-04-08 Thread David Flood
Dale,

It's possible that GtkTerm runs SETUID dialout or SETUID root.  I don't
think that Xastir runs SETUID anything

http://en.wikipedia.org/wiki/Setuid

Dave
KD7MYC

-Original Message-
From: xastir-boun...@lists.xastir.org
[mailto:xastir-boun...@lists.xastir.org] On Behalf Of Dale Seaburg
Sent: Friday, April 08, 2011 16:49

Why would GtkTerm have no problems?  What's so special about that program,
that xastir doesn't have?  Very strange.

___
Xastir mailing list
Xastir@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir