David Ranch <dranch@...>
Ok though you're looking to use the TNC-Pi with the Linux AX.25 stack and not the AX.25 stack built into BPQ32? The former approach is more powerful if you want to interconnect your system to say the AMPR Internet system, other Linux programs, etc. but the configuration is more complicated. The later is simpler but generally will only service things within the BPQ32 program.
Your copy/paste might be adding empty lines in your file. Make sure there are NOT any empty lines in there.
Few things here: 1. Yes, # characters mean "remark", "comment" or ignore this line. I would argue that if you don't need the line, delete it instead 2. First, I would recommend to make these AX.25 names intuitive. For example, let's say your radio and TNC are going to operate on 145.050Mhz. If so, I would recommend to name your AX25 port "vhf050" or something like that. Yes, a single digit will work but I've seen where it badly confuses new users later. 3. After the MTU of 236 (which is needed if you want to support NETROM connections), you're missing a AX25 window paramter. I generally recommend a window of 2 to 4. It depends on how well other stations can clearly hear your station. If you have a very high level, powerful system, start with a value of 4 So it would look like: vhf050 KF6FES-1 19200 236 4 TNC1 (19200 bps)
You do NOT put these lines in the /etc/ax25/axports file. Those lines are only to do the final interconnect between the TNC-PI running in I2C mode and the built-in LInux AXstack (not BPQ32's stack). Stepping back, there are two ways to use a TNC-Pi: Serial port or I2C. The serial port approach is simpler but has some caveats: - Only one TNC-Pi can run on your Raspberry Pi - On newer Raspberry Pis, you need to swap over the serial port from the Bluetooth system to the serial port system - You need to disable serial console services on the serial port Using I2C: - Multiple TNC-Pis can run on the same Raspberry Pi (stacked) - Requires you to enable the I2C system (easy) If you go the I2C route, I do recommend to get the newest versions of these programs and not the links posted on the Coastal Chipworks PDF file as those files usually seem to be a bit old. Instead, get the newest code from the author (also the author of BPQ32 btw): wget http://www.cantab.net/users/john.wiseman/Downloads/PITNCParamsApr18.zip wget http://www.cantab.net/users/john.wiseman/Downloads/i2ckiss.zip One major benefit of the "cantab" link is that it includes the source code for the program. In that i2ckiss.c file is lots of comments of how to use the program since no manual, readme, etc are provided otherwise. Anyway, the usage of that i2ckiss command is: "i2ckiss [-p interval] [-d] [-l] [-v] i2cbus i2cdevice [[-m mtu] port inetaddr]\n" You didn't mention which version of the TNC-Pi you have (it matters) but I'll assume your have v2 and thus the command you'd want to use is: #I2C Bus number: 1 #I2C device number: 16 (that's the TNC pi) #ax25 interface: recommending to use the more human readable name mentioned above #axip IP address: optionally used AXIP address used - must be an address NOT used by your computer (no conflicts) i2ckiss 1 16 vhf050 10.0.0.2 That command is the equivelent to the linux command "kissattach". At this point, the TNC should be working with the Linux AX.25 stack. I have a bunch of these steps for either TNC-Pi approach documented here. In sections farther up (mostly intended for the Direwolf approach, I include command you can run as tests to confirm your setup is working: http://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi2-setup.html#90a.bringing-up-tncpi
That's not what I would expect. /dev/tty01 is a system TTY.
This is what you'd see if you were using the serial port approach with the "symlink" approach for generic Linux programs that natively communicate to KISS-based TNCs. This is NOT what you want as you want to configure BPQ32 to use your "vhf050" port.
No.. it's because you currently have BPQ32 not configure to use the Linux AX.25 stack
KISS-only TNCs don't offer any command line interfaces like what a Kantronics, Timewave, MJF, PacComm, etc. TNCs offer. As such, minicom won't show anything. You MUST either use the Linux program kissattach for TNC-PI's running in "serial port" mode or i2ckiss when running in I2C mode. --David KI6ZHD