Loading ...
Sorry, an error occurred while loading the content.
 

Setting up new PITNC

Expand Messages
  • Max
    I m trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command pitnc_getparams 2 0 I get command
    Message 1 of 15 , Apr 23 6:17 PM
      I'm trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command "pitnc_getparams 2 0" I get "command not found". I then tried to make it executable but it still won't run. I also tried it using sudo. What am I doing wrong.

      Thanks, Max KG4PID

      pi@igate ~ $ ls -l
      total 240
      drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
      -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
      -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
      -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
      -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
      -rw-r--r-- 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
      -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
      -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
      -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
      -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
      drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

      pi@igate ~ $ pitnc_getparams 2 0
      -bash: pitnc_getparams: command not found

      pi@igate ~ $ sudo chmod +x pitnc_getparams

      pi@igate ~ $ ls -l
      total 240
      drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
      -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
      -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
      -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
      -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
      -rwxr-xr-x 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
      -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
      -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
      -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
      -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
      drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

      pi@igate ~ $ sudo pitnc_getparams 2 0
      sudo: pitnc_getparams: command not found
    • ve2hom Pascal
      I think you need to type the command like this: ./pitnc_getparams 2 0 The ./ say to execute from the current directory 73 de Pascal ... I think you need to
      Message 2 of 15 , Apr 23 6:24 PM
        I think you need to type the command like this:
            ./pitnc_getparams 2 0

        The ./ say to execute from the current directory

        73 de Pascal


        Le 23/04/13 21:17, Max a écrit :
         

        I'm trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command "pitnc_getparams 2 0" I get "command not found". I then tried to make it executable but it still won't run. I also tried it using sudo. What am I doing wrong.

        Thanks, Max KG4PID

        pi@igate ~ $ ls -l
        total 240
        drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
        -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
        -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
        -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
        -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
        -rw-r--r-- 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
        -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
        -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
        -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
        -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
        drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

        pi@igate ~ $ pitnc_getparams 2 0
        -bash: pitnc_getparams: command not found

        pi@igate ~ $ sudo chmod +x pitnc_getparams

        pi@igate ~ $ ls -l
        total 240
        drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
        -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
        -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
        -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
        -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
        -rwxr-xr-x 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
        -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
        -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
        -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
        -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
        drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

        pi@igate ~ $ sudo pitnc_getparams 2 0
        sudo: pitnc_getparams: command not found


      • Max Harper
        We have a winner! Thanks, that was it. The instructions need to be rewritten for us beginners. It runs now but it just says   retrying... retrying...
        Message 3 of 15 , Apr 23 8:44 PM
          We have a winner! Thanks, that was it. The instructions need to be rewritten for us beginners.
          It runs now but it just says
           
          retrying...
          retrying...
          retrying...
          retrying...

          Until I stop it with a Ctrl-C
           
          Thanks again.
           
          Max KG4PID

          From: ve2hom Pascal <ve2hom@...>
          To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
          Sent: Tuesday, April 23, 2013 8:24 PM
          Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC
           
          I think you need to type the command like this:     ./pitnc_getparams 2 0 The ./ say to execute from the current directory 73 de Pascal Le 23/04/13 21:17, Max a écrit :
           
          I'm trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command "pitnc_getparams 2 0" I get "command not found". I then tried to make it executable but it still won't run. I also tried it using sudo. What am I doing wrong.

          Thanks, Max KG4PID

          pi@igate ~ $ ls -l
          total 240
          drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
          -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
          -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
          -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
          -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
          -rw-r--r-- 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
          -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
          -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
          -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
          -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
          drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

          pi@igate ~ $ pitnc_getparams 2 0
          -bash: pitnc_getparams: command not found

          pi@igate ~ $ sudo chmod +x pitnc_getparams

          pi@igate ~ $ ls -l
          total 240
          drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
          -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
          -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
          -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
          -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
          -rwxr-xr-x 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
          -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
          -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
          -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
          -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
          drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

          pi@igate ~ $ sudo pitnc_getparams 2 0
          sudo: pitnc_getparams: command not found
        • John Wiseman
          Make sure you have JP3 and JP4 fitted (parallell to the 26 way connector). Also check that you disabled the getty on /dev/ttyAMA0 (by editing /etc/inittab).
          Message 4 of 15 , Apr 24 12:34 AM
            Make sure you have JP3 and JP4 fitted (parallell to the 26 way connector).
             
            Also check that you disabled the getty on /dev/ttyAMA0 (by editing /etc/inittab).
             
            What document are you following? - I'll get it fixed.
             
            73, John G8BPQ


            From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
            Sent: 24 April 2013 04:45
            To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
            Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

             

            We have a winner! Thanks, that was it. The instructions need to be rewritten for us beginners.
            It runs now but it just says
             
            retrying...
            retrying...
            retrying...
            retrying...

            Until I stop it with a Ctrl-C
             
            Thanks again.
             
            Max KG4PID

            From: ve2hom Pascal <ve2hom@...>
            To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
            Sent: Tuesday, April 23, 2013 8:24 PM
            Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC
             
            I think you need to type the command like this:     ./pitnc_getparams 2 0 The ./ say to execute from the current directory 73 de Pascal Le 23/04/13 21:17, Max a écrit :
             
            I'm trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command "pitnc_getparams 2 0" I get "command not found". I then tried to make it executable but it still won't run. I also tried it using sudo. What am I doing wrong.

            Thanks, Max KG4PID

            pi@igate ~ $ ls -l
            total 240
            drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
            -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
            -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
            -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
            -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
            -rw-r--r-- 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
            -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
            -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
            -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
            -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
            drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

            pi@igate ~ $ pitnc_getparams 2 0
            -bash: pitnc_getparams: command not found

            pi@igate ~ $ sudo chmod +x pitnc_getparams

            pi@igate ~ $ ls -l
            total 240
            drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
            -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
            -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
            -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
            -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
            -rwxr-xr-x 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
            -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
            -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
            -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
            -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
            drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

            pi@igate ~ $ sudo pitnc_getparams 2 0
            sudo: pitnc_getparams: command not found

          • ve2hom Pascal
            I m happy to see the apps running but I can t say more, I don t have the tnc-pi here Good luck 73 de Pascal ... I m happy to see the apps running but I can t
            Message 5 of 15 , Apr 24 3:27 AM
              I'm happy to see the apps running but I can't say more, I don't have the tnc-pi here

              Good luck

              73 de Pascal

              Le 23/04/13 23:44, Max Harper a écrit :
               
              We have a winner! Thanks, that was it. The instructions need to be rewritten for us beginners.
              It runs now but it just says
               
              retrying...
              retrying...
              retrying...
              retrying...

              Until I stop it with a Ctrl-C
               
              Thanks again.
               
              Max KG4PID

              From: ve2hom Pascal <ve2hom@...>
              To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
              Sent: Tuesday, April 23, 2013 8:24 PM
              Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC
               
              I think you need to type the command like this:     ./pitnc_getparams 2 0 The ./ say to execute from the current directory 73 de Pascal Le 23/04/13 21:17, Max a écrit :
               
              I'm trying to setup my 2 new PITNCs. I currently only have one of them plugged into the PI. When I try to run the command "pitnc_getparams 2 0" I get "command not found". I then tried to make it executable but it still won't run. I also tried it using sudo. What am I doing wrong.

              Thanks, Max KG4PID

              pi@igate ~ $ ls -l
              total 240
              drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
              -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
              -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
              -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
              -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
              -rw-r--r-- 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
              -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
              -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
              -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
              -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
              drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

              pi@igate ~ $ pitnc_getparams 2 0
              -bash: pitnc_getparams: command not found

              pi@igate ~ $ sudo chmod +x pitnc_getparams

              pi@igate ~ $ ls -l
              total 240
              drwxr-xr-x 2 pi pi 4096 Apr 23 17:21 Desktop
              -rw-r--r-- 1 pi pi 18764 Mar 28 14:45 i2ckiss
              -rw-r--r-- 1 pi pi 15373 Mar 28 14:45 i2ckiss.c
              -rw-r--r-- 1 pi pi 55802 Mar 31 17:53 params.zip
              -rw-rw-rw- 1 pi pi 87016 Mar 23 13:37 PITNC.asm
              -rwxr-xr-x 1 pi pi 11443 Jan 31 16:53 pitnc_getparams
              -rw-r--r-- 1 pi pi 5755 Jan 31 16:53 pitnc_getparams.c
              -rw-rw-rw- 1 pi pi 8444 Mar 23 13:37 PITNC.HEX
              -rw-rw-rw- 1 pi pi 11783 Mar 23 13:48 pitnc_setparams
              -rw-rw-rw- 1 pi pi 6290 Mar 23 09:44 pitnc_setparams.c
              drwxrwxr-x 2 pi pi 4096 Jul 20 2012 python_games

              pi@igate ~ $ sudo pitnc_getparams 2 0
              sudo: pitnc_getparams: command not found

            • Max Harper
              John, one thing that is confusing to me is what programs and steps are required for setup using the I2C connection compared to what programs are needed to work
              Message 6 of 15 , Apr 24 9:47 AM
                John, one thing that is confusing to me is what programs and steps are required for setup using the I2C connection compared to what programs are needed to work with a program such as APRX. One of the steps removes the ability to use the console (Remove the line that says: console=ttyAMA0, 115200) for example. But in my case I want the console. Does the program  i2ckiss need the ax25-tools and ax25-apps? Does the programs pitnc_getparams and pitnc_setparams need the ax25-tools and ax25-apps? I don't want to install anything that isn't needed.
                 
                An unrelated problem that I have run into is that as soon as I start APRX, my Wifi connection drops. An error in the syslog reads "wlan0: CTRL-EVENT-DISCONNECTED bssid=00:14:bf:3b:38:17 reason=0"
                 
                 
                 
                 
                 
                My suggestion would be for you to sit down with someone who knows nothing about Linux and let them try to use your instructions.
                 
                 
                Thanks, Max KG4PID
              • John Wiseman
                Max, I m not sure which John you are asking, but I can probably answer. Sorry, I don t understand the first question. Whether you use i2c or not is a separate
                Message 7 of 15 , Apr 24 10:49 AM
                  Max,
                   
                  I'm not sure which John you are asking, but I can probably answer.
                   
                  Sorry, I don't understand the first question. Whether you use i2c or not is a separate issue from what application you use.
                   
                  Basically you need to use i2c if you want to use more than one TNC, or you are using the PI serial port for something else. Otherwise it is simpler to use the serial interface. This is the case whatever packet software you are running.
                   
                  If you want to use i2c, and any packet program other than LinBPQ, you have to use i2ckiss.
                   
                  It isn't clear what console you are talking about when you say you want to use the console. The console=ttyAMA0 allows you to connect a dumb terminal (or emulator) to the serial port for use as a console. Removing it does not prevent you using the linux consoles that appear on the HDMI or composite video.
                   
                  i2ckiss needs libax25. Normally it is used in conjunction with the linux ax.25 stack, so you will already have ax25-tools and ax25-apps, but if you have an application that doesn't use the linux stack you'll have to install libax25. pitnc_getparams and pitnc_setparams don't need any other libraries.
                   
                  I've never used APRX,, so I've no idea why it should cause your wifi to drop.
                   
                  73, John G8BPQ

                  From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                  Sent: 24 April 2013 17:48
                  To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                  Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                   

                  John, one thing that is confusing to me is what programs and steps are required for setup using the I2C connection compared to what programs are needed to work with a program such as APRX. One of the steps removes the ability to use the console (Remove the line that says: console=ttyAMA0, 115200) for example. But in my case I want the console. Does the program  i2ckiss need the ax25-tools and ax25-apps? Does the programs pitnc_getparams and pitnc_setparams need the ax25-tools and ax25-apps? I don't want to install anything that isn't needed.
                   
                  An unrelated problem that I have run into is that as soon as I start APRX, my Wifi connection drops. An error in the syslog reads "wlan0: CTRL-EVENT-DISCONNECTED bssid=00:14:bf:3b:38:17 reason=0"
                   
                   
                   
                   
                   
                  My suggestion would be for you to sit down with someone who knows nothing about Linux and let them try to use your instructions.
                   
                   
                  Thanks, Max KG4PID

                • Max Harper
                  Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn t find it. Seems like it was
                  Message 8 of 15 , Apr 24 1:02 PM
                    Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn't find it. Seems like it was address ZERO that was a problem.
                     
                    Thanks, Max
                  • John Wiseman
                    It must be between 3 and 119. Zero means use serial. 1 or 2 will stop you accessing it and require a PIC programmer to fix it. The latest setparams wont let
                    Message 9 of 15 , Apr 24 1:06 PM
                       
                      It must be between 3 and 119. Zero means use serial. 1 or 2 will stop you accessing it and require a PIC programmer to fix it.
                       
                      The latest setparams wont let you set other values, but you may have an old copy.
                       
                      73, John


                      From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                      Sent: 24 April 2013 21:03
                      To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                      Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                       

                      Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn't find it. Seems like it was address ZERO that was a problem.
                       
                      Thanks, Max

                    • Max Harper
                      Sorry I wasn t clear about the console port. I was refering to the console port that uses the on board serial port. Thanks again, Max KG4PID
                      Message 10 of 15 , Apr 24 1:07 PM
                        Sorry I wasn't clear about the console port. I was refering to the console port that uses the on board serial port.
                        Thanks again, Max KG4PID
                        From: John Wiseman <john.wiseman@...>
                        To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                        Sent: Wednesday, April 24, 2013 12:49 PM
                        Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC
                         
                        Max,
                         
                        I'm not sure which John you are asking, but I can probably answer.
                         
                        Sorry, I don't understand the first question. Whether you use i2c or not is a separate issue from what application you use.
                         
                        Basically you need to use i2c if you want to use more than one TNC, or you are using the PI serial port for something else. Otherwise it is simpler to use the serial interface. This is the case whatever packet software you are running.
                         
                        If you want to use i2c, and any packet program other than LinBPQ, you have to use i2ckiss.
                         
                        It isn't clear what console you are talking about when you say you want to use the console. The console=ttyAMA0 allows you to connect a dumb terminal (or emulator) to the serial port for use as a console. Removing it does not prevent you using the linux consoles that appear on the HDMI or composite video.
                         
                        i2ckiss needs libax25. Normally it is used in conjunction with the linux ax.25 stack, so you will already have ax25-tools and ax25-apps, but if you have an application that doesn't use the linux stack you'll have to install libax25. pitnc_getparams and pitnc_setparams don't need any other libraries.
                         
                        I've never used APRX,, so I've no idea why it should cause your wifi to drop.
                         
                        73, John G8BPQ
                        From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                        Sent: 24 April 2013 17:48
                        To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                        Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                         
                        John, one thing that is confusing to me is what programs and steps are required for setup using the I2C connection compared to what programs are needed to work with a program such as APRX. One of the steps removes the ability to use the console (Remove the line that says: console=ttyAMA0, 115200) for example. But in my case I want the console. Does the program  i2ckiss need the ax25-tools and ax25-apps? Does the programs pitnc_getparams and pitnc_setparams need the ax25-tools and ax25-apps? I don't want to install anything that isn't needed.
                         
                        An unrelated problem that I have run into is that as soon as I start APRX, my Wifi connection drops. An error in the syslog reads "wlan0: CTRL-EVENT-DISCONNECTED bssid=00:14:bf:3b:38:17 reason=0"
                         
                         
                         
                         
                         
                        My suggestion would be for you to sit down with someone who knows nothing about Linux and let them try to use your instructions.
                         
                         
                        Thanks, Max KG4PID
                      • John Wiseman
                        Ok, Max. That will give you a problem. The TNC comes programmed for serial, and you have to access it over the serial port to switch it to i2c. So you will
                        Message 11 of 15 , Apr 24 1:23 PM
                          Ok, Max.
                           
                          That will give you a problem. The TNC comes programmed for serial, and you have to access it over the serial port to switch it to i2c. So you will have to use some other access (monitor/usb keyboard or ssh) to set the TNC to i2c mode, You can then re-enable the getty on /dev/ttyAMA0 so you can use it as a console.
                           
                          73, John
                           
                           


                          From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                          Sent: 24 April 2013 21:08
                          To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                          Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                           

                          Sorry I wasn't clear about the console port. I was refering to the console port that uses the on board serial port.
                          Thanks again, Max KG4PID
                          From: John Wiseman <john.wiseman@...>
                          To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                          Sent: Wednesday, April 24, 2013 12:49 PM
                          Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC
                           
                          Max,
                           
                          I'm not sure which John you are asking, but I can probably answer.
                           
                          Sorry, I don't understand the first question. Whether you use i2c or not is a separate issue from what application you use.
                           
                          Basically you need to use i2c if you want to use more than one TNC, or you are using the PI serial port for something else. Otherwise it is simpler to use the serial interface. This is the case whatever packet software you are running.
                           
                          If you want to use i2c, and any packet program other than LinBPQ, you have to use i2ckiss.
                           
                          It isn't clear what console you are talking about when you say you want to use the console. The console=ttyAMA0 allows you to connect a dumb terminal (or emulator) to the serial port for use as a console. Removing it does not prevent you using the linux consoles that appear on the HDMI or composite video.
                           
                          i2ckiss needs libax25. Normally it is used in conjunction with the linux ax.25 stack, so you will already have ax25-tools and ax25-apps, but if you have an application that doesn't use the linux stack you'll have to install libax25. pitnc_getparams and pitnc_setparams don't need any other libraries.
                           
                          I've never used APRX,, so I've no idea why it should cause your wifi to drop.
                           
                          73, John G8BPQ
                          From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                          Sent: 24 April 2013 17:48
                          To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                          Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                           
                          John, one thing that is confusing to me is what programs and steps are required for setup using the I2C connection compared to what programs are needed to work with a program such as APRX. One of the steps removes the ability to use the console (Remove the line that says: console=ttyAMA0, 115200) for example. But in my case I want the console. Does the program  i2ckiss need the ax25-tools and ax25-apps? Does the programs pitnc_getparams and pitnc_setparams need the ax25-tools and ax25-apps? I don't want to install anything that isn't needed.
                           
                          An unrelated problem that I have run into is that as soon as I start APRX, my Wifi connection drops. An error in the syslog reads "wlan0: CTRL-EVENT-DISCONNECTED bssid=00:14:bf:3b:38:17 reason=0"
                           
                           
                           
                           
                           
                          My suggestion would be for you to sit down with someone who knows nothing about Linux and let them try to use your instructions.
                           
                           
                          Thanks, Max KG4PID

                        • Clayton Brantley
                          Guess I killed mine!   Have never been able to get the TNCX to respond to pitnc_getparams or ...setparams. pilinbpq seems to load and perhaps will work. 
                          Message 12 of 15 , Apr 24 5:55 PM
                            Guess I killed mine!   Have never been able to get the TNCX to respond to pitnc_getparams or ...setparams.
                            pilinbpq seems to load and perhaps will work.  Will try the serial interface and see what happens.

                            73 Clayton N4EV



                            From: John Wiseman <john.wiseman@...>
                            To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                            Sent: Wednesday, April 24, 2013 4:06 PM
                            Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                             
                             
                            It must be between 3 and 119. Zero means use serial. 1 or 2 will stop you accessing it and require a PIC programmer to fix it.
                             
                            The latest setparams wont let you set other values, but you may have an old copy.
                             
                            73, John


                            From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                            Sent: 24 April 2013 21:03
                            To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                            Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                             
                            Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn't find it. Seems like it was address ZERO that was a problem.
                             
                            Thanks, Max


                          • John Wiseman
                            Clayton, If it never responded to get or set in serial mode, then it is unlikely thet you have changed the i2c address. There is probably some other problem -
                            Message 13 of 15 , Apr 24 10:24 PM
                              Clayton,
                               
                              If it never responded to get or set in serial mode, then it is unlikely thet you have changed the i2c address. There is probably some other problem - a build error, missing links LK3 and 4 or something using /dev/ttyAMA0.
                               
                              If it responded in serial mode, but not after you attemted to set an address of 1 or 2, then it is probably messed up.
                               
                              73, John
                               
                               

                              From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Clayton Brantley
                              Sent: 25 April 2013 01:55
                              To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                              Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                               

                              Guess I killed mine!   Have never been able to get the TNCX to respond to pitnc_getparams or ...setparams.
                              pilinbpq seems to load and perhaps will work.  Will try the serial interface and see what happens.

                              73 Clayton N4EV



                              From: John Wiseman <john.wiseman@...>
                              To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                              Sent: Wednesday, April 24, 2013 4:06 PM
                              Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                               
                               
                              It must be between 3 and 119. Zero means use serial. 1 or 2 will stop you accessing it and require a PIC programmer to fix it.
                               
                              The latest setparams wont let you set other values, but you may have an old copy.
                               
                              73, John


                              From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                              Sent: 24 April 2013 21:03
                              To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                              Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                               
                              Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn't find it. Seems like it was address ZERO that was a problem.
                               
                              Thanks, Max


                            • Clayton Brantley
                              John:   Well I must ve lucked out!  Set it up for serial port and using ax25tools/apps, I was able to connect with a station here.  Tried the Xastir
                              Message 14 of 15 , Apr 25 4:10 PM
                                John:   Well I must've lucked out!  Set it up for serial port and using ax25tools/apps, I was able to connect with a
                                station here.  Tried the Xastir program but never received any data nor would it transmit (not my main focus).
                                I am going to reload Pilinbpq again tomorrow and see if I can get the thing on the air. 

                                I  agree with one of the chaps that wanted a Pilinbpq for Dummies how to.  Seems some of the details are passed
                                over.  I know from past experience that doing a how-to seems to loose some of the details because I know how
                                to make it work and assume that anyone else does too.

                                Thanks for all you hard work on this effort and hope you have some help in answering the "dumb" questions!  HI

                                73 Clayton N4EV



                                From: John Wiseman <john.wiseman@...>
                                To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                                Sent: Thursday, April 25, 2013 1:24 AM
                                Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                                 
                                Clayton,
                                 
                                If it never responded to get or set in serial mode, then it is unlikely thet you have changed the i2c address. There is probably some other problem - a build error, missing links LK3 and 4 or something using /dev/ttyAMA0.
                                 
                                If it responded in serial mode, but not after you attemted to set an address of 1 or 2, then it is probably messed up.
                                 
                                73, John
                                 
                                 

                                From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Clayton Brantley
                                Sent: 25 April 2013 01:55
                                To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                                Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                                 
                                Guess I killed mine!   Have never been able to get the TNCX to respond to pitnc_getparams or ...setparams.
                                pilinbpq seems to load and perhaps will work.  Will try the serial interface and see what happens.

                                73 Clayton N4EV



                                From: John Wiseman <john.wiseman@...>
                                To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                                Sent: Wednesday, April 24, 2013 4:06 PM
                                Subject: RE: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                                 
                                 
                                It must be between 3 and 119. Zero means use serial. 1 or 2 will stop you accessing it and require a PIC programmer to fix it.
                                 
                                The latest setparams wont let you set other values, but you may have an old copy.
                                 
                                73, John


                                From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Max Harper
                                Sent: 24 April 2013 21:03
                                To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
                                Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Setting up new PITNC

                                 
                                Can someone remind me of the I2C address that some were haveing a problem with on the TNC-PI. I tried doing a search but couldn't find it. Seems like it was address ZERO that was a problem.
                                 
                                Thanks, Max




                              • Ray Wells
                                Clayton, I ve had xastir working on the Pi with kernel ax25 ports. If you want, contact me off list and we can run through some configs or, join the xastir
                                Message 15 of 15 , Apr 25 5:51 PM
                                  Clayton,

                                  I've had xastir working on the Pi with kernel ax25 ports. If you want, contact me off list and we can run through some configs or, join the xastir mailing list for a wider support base.

                                  Ray vk2tv

                                  On 26/04/13 09:10, Clayton Brantley wrote:
                                   
                                  John:   Well I must've lucked out!  Set it up for serial port and using ax25tools/apps, I was able to connect with a
                                  station here.  Tried the Xastir program but never received any data nor would it transmit (not my main focus).
                                  I am going to reload Pilinbpq again tomorrow and see if I can get the thing on the air. 

                                  I  agree with one of the chaps that wanted a Pilinbpq for Dummies how to.  Seems some of the details are passed
                                  over.  I know from past experience that doing a how-to seems to loose some of the details because I know how
                                  to make it work and assume that anyone else does too.

                                  Thanks for all you hard work on this effort and hope you have some help in answering the "dumb" questions!  HI

                                  73 Clayton N4EV





                                Your message has been successfully submitted and would be delivered to recipients shortly.