Menu

#7 fbb script fail line # 285 on axports port name

7.0.6
closed
None
2021-05-28
2015-01-21
No

fbb script fails on line 285:

root@ab4mw:/usr/local/etc/ax25/fbb# fbb

Name of the port #1 as named in /usr/local/etc/ax25/axports (<CR> to end) : vhf
/usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found

same error if I use the actual ax.25 interface name of ax1:

Name of the port #1 as named in /usr/local/etc/ax25/axports (<CR> to end) : ax1
/usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found

/usr/local/etc/ax25/axports :

#Port Call Baud PacLen Window Description
vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105

Related

Tickets: #7

Discussion

1 2 > >> (Page 1 of 2)
  • Mitch Winkle

    Mitch Winkle - 2015-01-21

    I created my own port.sys file, but I have no clue if it is anything near correct. At least I was able to finish the fbb script and create the rest of the files and xfbbd started ok.

    Digging for configuration documentation.

     
    • Mitch Winkle

      Mitch Winkle - 2015-01-21

      Bernard. I created the port.sys file manually as follows:

      # FBB7.0.6
      #
      #Ports TNCs
       2     2
      #
      #Com Interface Adress (Hex) Baud
       1   9         /root/kisstnc 38400
       2   9         /root/tncx   9600
      #
      #TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode  Freq
       0   0    0   0      0     0     0     0      00/01   ----  File-fwd.
       1   10   1   hf     60    1     1     10     10/30   XUWY  14.105
       2   10   2   vhf    236   1     1     10     10/30   XUWY  145.730
      #
      # End of file.
      #
      

      I have it all running and it answers on VHF. I will have to make a loop
      thru VE1JOT to test HF. I have a forwarding issue, but that's for another
      ticket.

      --
      Mitch Winkle
      http://ewamjlu.blogspot.com
      ...How long will you go limping between two different opinions? If the LORD
      is God, follow him...
      1 Kings 18 ESV

       

      Last edit: ve7fet 2015-01-23
      • Bernard Pidoux

        Bernard Pidoux - 2015-01-21

        Hello Mitch,

        You may find a port.sys.sample file in 7.06 doc directory.
        Also there are axports.sample and port.sys/sample files in SourceForge
        files directory.
        You may have a look at those files for sample declarations.

        I don't actually see why you get an error about port name with fbb script.

        How did you make /usr/local/etc/ax25 directory ?
        How did you make /usr/local/etc/ax25/axports file ?
        Did you run ./configure, make, make install ?
        Apparently this was a first BBS install, otherwise you would have
        already a port.sys file.
        In that case did you run "make installconf"

        Looking at your manually created port.sys file I see that you gave
        Linux interfaces address.
        However, with Linux interface 9 address is not used and may be a * or 0.

        73 de Bernard, f6bvp

        Le 21/01/2015 18:16, Mitch Winkle a écrit :

        Bernard. I created the port.sys file manually as follows:

        FBB7.0.6

        Ports TNCs

        2 2

        Com Interface Adress (Hex) Baud

        1 9 /root/kisstnc 38400
        2 9 /root/tncx 9600

        TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq

        0 0 0 0 0 0 0 0 00/01 ---- File-fwd.
        1 10 1 hf 60 1 1 10 10/30 XUWY 14.105
        2 10 2 vhf 236 1 1 10 10/30 XUWY 145.730

        End of file.

        I have it all running and it answers on VHF. I will have to make a loop
        thru VE1JOT to test HF. I have a forwarding issue, but that's for another
        ticket.

        --
        Mitch Winkle
        http://ewamjlu.blogspot.com

         
        • Mitch Winkle

          Mitch Winkle - 2015-01-21

          Bernard,

          The realization that "com's" and "tnc's" are ordered left to right, top to
          bottom was what cleared up the format of the port.sys file for me. I had
          to swap the 1 and 2 lines in the 2nd and 3rd blocks since my axports is
          arranged vhf then hf (uhf is now disabled). The Linux tty addresses helps
          ME to keep them straight.

          I used the svn code for 7.0.6 and:
          ./autogen.sh
          ./configure --disable-x-utils (because it will not compile against Motif
          dev files apparently, see the other ticket)
          make
          make install
          make installconf

          You are correct, it is a brand new installation. Still trying to
          understand what the modes mean and I cannot find documentation for that.
          BUT, I did find the sample files in /usr/local/share/doc/fbb and they were
          very helpful as were the web pages once I got myself oriented.

          I now have the VHF and HF ports functional, as well as a Telnet.

          Now, I assume that the port mentioned in the forward.sys file is also the
          "TNC" in the port.sys 3rd block? In my case a forwarding script for the
          VHF port would then be "P 1" since that is the "TNC" in port.sys which
          corresponds to my VHF TNCx. Is that correct?

          Now, all that being said, this doesn't really explain why the script
          broke. I was prompted :

          Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) :</cr>

          which is "vhf". It errored out on the READ line in the script :

          /usr/local/sbin/fbb: 286: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found

          ...and went on to the next line asking for how many channels. I looked at
          the script and did not see anything out of the ordinary. It is just
          reading a string into a variable and adding it to an array of PORT_NAME.
          But it it will not let me create the port.sys that way. I just hit enter
          at the first prompt and got a default port.sys file to modify.

          --
          Mitch Winkle
          http://ewamjlu.blogspot.com
          ...How long will you go limping between two different opinions? If the LORD
          is God, follow him...
          1 Kings 18 ESV

          Hello Mitch,

          You may find a port.sys.sample file in 7.06 doc directory.
          Also there are axports.sample and port.sys/sample files in SourceForge
          files directory.
          You may have a look at those files for sample declarations.

          I don't actually see why you get an error about port name with fbb script.

          How did you make /usr/local/etc/ax25 directory ?
          How did you make /usr/local/etc/ax25/axports file ?
          Did you run ./configure, make, make install ?
          Apparently this was a first BBS install, otherwise you would have
          already a port.sys file.
          In that case did you run "make installconf"

          Looking at your manually created port.sys file I see that you gave
          Linux interfaces address.
          However, with Linux interface 9 address is not used and may be a * or 0.

          73 de Bernard, f6bvp

          Le 21/01/2015 18:16, Mitch Winkle a écrit :

          Bernard. I created the port.sys file manually as follows:

          FBB7.0.6

          Ports TNCs

          2 2

          Com Interface Adress (Hex) Baud

          1 9 /root/kisstnc 38400
          2 9 /root/tncx 9600

          TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq

          0 0 0 0 0 0 0 0 00/01 ---- File-fwd.
          1 10 1 hf 60 1 1 10 10/30 XUWY 14.105
          2 10 2 vhf 236 1 1 10 10/30 XUWY 145.730

          End of file.

          I have it all running and it answers on VHF. I will have to make a loop
          thru VE1JOT to test HF. I have a forwarding issue, but that's for another
          ticket.

          --
          Mitch Winkle
          http://ewamjlu.blogspot.com


          Status: open
          Milestone: 7.06
          Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
          Last Updated: Wed Jan 21, 2015 02:44 PM UTC
          Owner: nobody

          fbb script fails on line 285:

          root@ab4mw:/usr/local/etc/ax25/fbb# fbb

          Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) :
          vhf
          /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found</cr>

          same error if I use the actual ax.25 interface name of ax1:

          Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) :
          ax1
          /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found</cr>

          /usr/local/etc/ax25/axports :

          Port Call Baud PacLen Window Description

          vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
          uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
          hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/linfbb/tickets/7/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Tickets: #7

          • Bernard Pidoux

            Bernard Pidoux - 2015-01-22

            Mitch,

            Here is another extract from port.sys sample explaining "mode"

            Mode    : One of these:
            
            #           B : BBS-mode.
            
            #           G : "Guest"-mode.
            
            #           U : Normal-mode.
            
            # Type host-mode, one of these:
            
            #           D : WA8DED
            
            #           K : KAM hostmode.
            
            #           M : Telephone-modem.
            
            #           P : PK-232
            
            #           Q : BPQ v 4.x
            
            # Addition: One of these letters can be used too:
            
            #           L : Send unproto beacon after each arriving mail.
            
            #           Y : Yapp allowed on this QRG.
            
            #           W : Gateway allowed TO this QRG.
            
            #           R : Read-Only acces.
            
            #           E : Recommanded by JP F6FBB
            
            #
            
            # Freq.   : Text to describe this port (max 9 characters, no space)
            
            # Same number of lines as number of TNCs.
            
            #
            
            #TNC NbCh Com MultCh   Pacln Maxfr NbFwd MxBloc M/P-Fwd  Mode  Freq
            
               0   0    0   0        0     0     0     0      00/01   ----  File-fwd.
            
               1   4    1   vhfdrop  250   2     2     10     15/15   XULWY VHF
            

            Bernard

            Le 22/01/2015 00:41, Mitch Winkle a écrit :

            Bernard,

            Still trying to

            understand what the modes mean and I cannot find documentation for that.
            BUT, I did find the sample files in /usr/local/share/doc/fbb and they were
            very helpful as were the web pages once I got myself oriented.

             

            Last edit: ve7fet 2015-01-23
          • Bernard Pidoux

            Bernard Pidoux - 2015-01-22

            Mitch,

            I am sorry that port.sys.sample is not clear enough about forwarding ports.
            You should probably have a look at doc files to help you understand
            F6FBB BBS set up.
            http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/

            Forwarding files may be quite complexe for they are used to organize how
            forwarding is handled.
            http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/fmtforwa.htm

            In short, ports are now defined by letters starting with A for TNC 1 in
            port.sys, B for TNC 2 etc...

            In your case you have in port.sys

            TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq

            0 0 0 0 0 0 0 0 00/01 ---- File-fwd.

            1 10 1 hf 60 1 1 10 10/30 XUWY 14.105

            2 10 2 vhf 236 1 1 10 10/30 XUWY 145.73

            Then, in your forward file for a BBS using TNC 2 on ax.25 port "vhf" you
            will declare "P B"

            At home I have two BBS (TM6BVP and F6BVP) on the same LAN for test purpose.
            Here is for example my forward file for bbs f6bvp using telnet port I
            declared as TNC 2 in port.sys

            A F6BVP
            P B
            C C f6bvp-1 192.168.0.112 6300
            V TM6BVP$WBERNARD$W

            H WW
            H .FRPA.
            H .FRA.

            G WW
            G DXNEWS
            G AMSAT
            G KEP
            G KEPS
            G KEPLER
            G EU
            G FRANCA

            B F6BVP
            F F6BVP
            R


            73 de Bernard

            Le 22/01/2015 00:41, Mitch Winkle a écrit :

            Bernard,

            .....
            I now have the VHF and HF ports functional, as well as a Telnet.

            Now, I assume that the port mentioned in the forward.sys file is also the
            "TNC" in the port.sys 3rd block? In my case a forwarding script for the
            VHF port would then be "P 1" since that is the "TNC" in port.sys which
            corresponds to my VHF TNCx. Is that correct?

             
            • Mitch Winkle

              Mitch Winkle - 2015-01-22

              Benard,

              Thank you for the extra examples. I found the ones in the distribution
              also and they were very helpful.

              The confusion (for me) arises because I saw mention of using forwarding
              port "C" as defined in the port.sys file on the example web page, however,
              on that page, there was no mention that the TNC's were mapped from numerals
              to letters, so I was at a loss.

              If there is any interest, I would be happy to work on some of this initial
              user setup documentation. Since it is primarily HTML, that will be easy
              for me to do. I come from the perspective of the BRAND NEW FBB user,
              having never seen it before. Let me know your thoughts there. I can only
              offer English however. :D There are a few help web pages out there from
              other people, but honestly, from what you are explaining, many of those are
              incorrect.

              I have changed my forward port to B and we'll see how things progress now.
              Many thanks.

              73,

              Mitch AB4MW

              --
              Mitch Winkle
              http://ewamjlu.blogspot.com
              ...How long will you go limping between two different opinions? If the LORD
              is God, follow him...
              1 Kings 18 ESV

              On Thu, Jan 22, 2015 at 4:48 AM, Bernard Pidoux f6bvp@users.sf.net wrote:

              Mitch,

              I am sorry that port.sys.sample is not clear enough about forwarding ports.
              You should probably have a look at doc files to help you understand
              F6FBB BBS set up.
              http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/

              Forwarding files may be quite complexe for they are used to organize how
              forwarding is handled.
              http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/fmtforwa.htm

              In short, ports are now defined by letters starting with A for TNC 1 in
              port.sys, B for TNC 2 etc...

              In your case you have in port.sys

              TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq

              0 0 0 0 0 0 0 0 00/01 ---- File-fwd.

              1 10 1 hf 60 1 1 10 10/30 XUWY 14.105

              2 10 2 vhf 236 1 1 10 10/30 XUWY 145.73

              Then, in your forward file for a BBS using TNC 2 on ax.25 port "vhf" you
              will declare "P B"

              At home I have two BBS (TM6BVP and F6BVP) on the same LAN for test purpose.
              Here is for example my forward file for bbs f6bvp using telnet port I
              declared as TNC 2 in port.sys

              A F6BVP
              P B
              C C f6bvp-1 192.168.0.112 6300
              V TM6BVP$WBERNARD$W

              H WW
              H .FRPA.
              H .FRA.

              G WW
              G DXNEWS
              G AMSAT
              G KEP
              G KEPS
              G KEPLER
              G EU
              G FRANCA

              B F6BVP
              F F6BVP
              R


              73 de Bernard

              Le 22/01/2015 00:41, Mitch Winkle a écrit :

              Bernard,

              .....
              I now have the VHF and HF ports functional, as well as a Telnet.

              Now, I assume that the port mentioned in the forward.sys file is also the
              "TNC" in the port.sys 3rd block? In my case a forwarding script for the
              VHF port would then be "P 1" since that is the "TNC" in port.sys which
              corresponds to my VHF TNCx. Is that correct?


              Status: open
              Milestone: 7.06
              Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
              Last Updated: Wed Jan 21, 2015 02:44 PM UTC
              Owner: nobody

              fbb script fails on line 285:

              root@ab4mw:/usr/local/etc/ax25/fbb# fbb

              Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end)</cr>
              vhf
              /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found

              same error if I use the actual ax.25 interface name of ax1:

              Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end)</cr>
              ax1
              /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found

              /usr/local/etc/ax25/axports :

              Port Call Baud PacLen Window Description

              vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
              uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
              hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/linfbb/tickets/7/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/

               

              Related

              Tickets: #7

              • Mitch Winkle

                Mitch Winkle - 2015-01-22

                OH, and I saw the labels on the Mode. I just don't understand what they
                mean. Still digging in the web pages, but so far haven't found those
                definitions. I other words, "In what situations would I choose one mode
                over another?"

                We can take this off the ticket if you prefer. mitchwinkle gmail com

                 
              • Bernard Pidoux

                Bernard Pidoux - 2015-01-22

                Hello Mitch,

                It is nice to have people like you that not only start from scratch on a
                software project as a user
                but then spontaneously offers to help other OMs by sharing his experience.
                Of course I warmly accept your help.
                Lee VE7FET has just started first chapter of LinFBB Wiki pages.
                Wiki pages primary goal is documentation.
                I think this is the right place for you to start a documentation for
                BRAND NEW FBB sysop/user.
                I am not already well trained managing a SourceForge project.
                However I understand that you need to register to LinFBB project as a
                user then
                I will give you a developer status in order to allow you to create a
                Wiki page.

                73 de Bernard, f6bvp

                Le 22/01/2015 14:20, Mitch Winkle a écrit :

                Bernard,

                Thank you for the extra examples. I found the ones in the distribution
                also and they were very helpful.

                The confusion (for me) arises because I saw mention of using forwarding
                port "C" as defined in the port.sys file on the example web page, however,
                on that page, there was no mention that the TNC's were mapped from
                numerals
                to letters, so I was at a loss.

                If there is any interest, I would be happy to work on some of this initial
                user setup documentation. Since it is primarily HTML, that will be easy
                for me to do. I come from the perspective of the BRAND NEW FBB user,
                having never seen it before. Let me know your thoughts there. I can only
                offer English however. :D There are a few help web pages out there from
                other people, but honestly, from what you are explaining, many of
                those are
                incorrect.

                I have changed my forward port to B and we'll see how things progress now.
                Many thanks.

                73,

                Mitch AB4MW

                --
                Mitch Winkle
                http://ewamjlu.blogspot.com
                ...How long will you go limping between two different opinions? If the
                LORD
                is God, follow him...
                1 Kings 18 ESV

                On Thu, Jan 22, 2015 at 4:48 AM, Bernard Pidoux f6bvp@users.sf.net
                f6bvp@users.sf.net wrote:

                Mitch,
                
                I am sorry that port.sys.sample is not clear enough about
                forwarding ports.
                You should probably have a look at doc files to help you understand
                F6FBB BBS set up.
                http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/
                <http://f6bvp.free.fr/logiciels/BBS-f6fbb/html>
                
                Forwarding files may be quite complexe for they are used to
                organize how
                forwarding is handled.
                http://f6bvp.free.fr/logiciels/BBS-f6fbb/html/fmtforwa.htm
                
                In short, ports are now defined by letters starting with A for TNC
                1 in
                port.sys, B for TNC 2 etc...
                
                In your case you have in port.sys
                
                TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
                
                0 0 0 0 0 0 0 0 00/01 ---- File-fwd.
                
                1 10 1 hf 60 1 1 10 10/30 XUWY 14.105
                
                2 10 2 vhf 236 1 1 10 10/30 XUWY 145.73
                
                Then, in your forward file for a BBS using TNC 2 on ax.25 port
                "vhf" you
                will declare "P B"
                
                At home I have two BBS (TM6BVP and F6BVP) on the same LAN for test
                purpose.
                Here is for example my forward file for bbs f6bvp using telnet port I
                declared as TNC 2 in port.sys
                
                A F6BVP
                P B
                C C f6bvp-1 192.168.0.112 6300
                V TM6BVP$WBERNARD$W
                
                H WW
                H /.FRPA./
                H /.FRA./
                
                G WW
                G DXNEWS
                G AMSAT
                G KEP
                G KEPS
                G KEPLER
                G EU
                G FRANCA
                
                B F6BVP
                F F6BVP
                R
                
                ------------------------------------------------------------------------
                
                73 de Bernard
                
                Le 22/01/2015 00:41, Mitch Winkle a écrit :
                
                Bernard,
                
                .....
                I now have the VHF and HF ports functional, as well as a Telnet.
                
                Now, I assume that the port mentioned in the forward.sys file is
                also the
                "TNC" in the port.sys 3rd block? In my case a forwarding script
                for the
                VHF port would then be "P 1" since that is the "TNC" in port.sys which
                corresponds to my VHF TNCx. Is that correct?
                
                ------------------------------------------------------------------------
                
                  * [tickets:#7] <http://sourceforge.net/p/linfbb/tickets/7>
                    http://sourceforge.net/p/linfbb/tickets/7 fbb script fail
                    line # 285 on axports port name*
                
                /Status:/ open
                /Milestone:/ 7.06
                /Created:/ Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
                /Last Updated:/ Wed Jan 21, 2015 02:44 PM UTC
                /Owner:/ nobody
                
                fbb script fails on line 285:
                
                root@ab4mw:/usr/local/etc/ax25/fbb# fbb
                
                Name of the port #1 as named in /usr/local/etc/ax25/axports (<CR>
                to end)
                : vhf
                /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf:
                not found
                
                same error if I use the actual ax.25 interface name of ax1:
                
                Name of the port #1 as named in /usr/local/etc/ax25/axports (<CR>
                to end)
                : ax1
                /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1:
                not found
                
                /usr/local/etc/ax25/axports :
                
                
                  Port Call Baud PacLen Window Description
                
                vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
                uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
                hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105
                
                ------------------------------------------------------------------------
                
                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/linfbb/tickets/7/
                <https://sourceforge.net/p/linfbb/tickets/7>
                
                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/
                <https://sourceforge.net/auth/subscriptions>
                

                [tickets:#7] http://sourceforge.net/p/linfbb/tickets/7 fbb script
                fail line # 285 on axports port name

                Status: open
                Milestone: 7.06
                Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
                Last Updated: Wed Jan 21, 2015 02:44 PM UTC
                Owner: nobody

                fbb script fails on line 285:

                |root@ab4mw:/usr/local/etc/ax25/fbb# fbb|

                ||

                |Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to
                end) : vhf
                /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found
                |</cr>

                same error if I use the actual ax.25 interface name of ax1:

                |Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to
                end) : ax1
                /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found
                |</cr>

                /usr/local/etc/ax25/axports :
                |#Port Call Baud PacLen Window Description
                vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
                uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
                hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105
                |


                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/linfbb/tickets/7/
                https://sourceforge.net/p/linfbb/tickets/7

                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/
                https://sourceforge.net/auth/subscriptions

                 

                Related

                Tickets: #7

                • Mitch Winkle

                  Mitch Winkle - 2015-01-23

                  Understood! When I return home, I will dive in!

                  Mitch

                   
  • Bernard Pidoux

    Bernard Pidoux - 2015-01-21

    Hello Mitch,

    Your axports shows that your ax25 ports names are vhf, uhf and hf, for port number 1, 2 and 3 respectively.

    73 de Bernard f6bvp

    Le 21 janv. 2015 à 14:51, Mitch Winkle guitarpicva@users.sf.net a écrit :

    [tickets:#7] fbb script fail line # 285 on axports port name

    Status: open
    Milestone: 7.06
    Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
    Last Updated: Wed Jan 21, 2015 01:51 PM UTC
    Owner: nobody

    fbb script fails on line 285:

    root@ab4mw:/usr/local/etc/ax25/fbb# fbb

    Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : vhf
    /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found</cr>

    same error if I use the actual ax.25 interface name of ax1:

    Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : ax1
    /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found</cr>

    /usr/local/etc/ax25/axports :

    Port Call Baud PacLen Window Description

    vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
    uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
    hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linfbb/tickets/7/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Tickets: #7

  • Bernard Pidoux

    Bernard Pidoux - 2015-01-22

    Mitch,

    Look at these extracts from port.sys.sample file:

      Interface 9 = LINUX
    
    #
    
    #Com Interface Adress (Hex)  Baud
    
      1   9         0           115200
    
      2   9        189C         0
    
    # Preceding line declares telnet port address 189C in Hexadecimal notation.
    
    # 189C = 6300 decimal ---> sample usage syntaxe : telnet f6xyz.no-ip.org 6300
    
    # Com 2 line should be #commented if not using telnet.
    
    
    and:
    
    #TNC NbCh Com MultCh   Pacln Maxfr NbFwd MxBloc M/P-Fwd  Mode  Freq
    
       0   0    0   0        0     0     0     0      00/01   ----  File-fwd.
    
       1   4    1   vhfdrop  250   2     2     10     15/15   XULWY VHF
    
       2   4    1   uhfdrop  250   2     2     10     14/30   XULWY UHF
    
       3   4    1   hfdrop   250   2     2     10     25/15   QULWY HF
    
       4   4    2   0        250   2     4     10     13/60   TUY   Telnet
    
       5   4    1   axudp    250   2     2     10     12/60   XUWY  AXUDP
    

    Bernard

    Le 21/01/2015 18:25, Mitch Winkle a écrit :

    "Com" port in ports.sys?

    Mitch

     

    Last edit: ve7fet 2015-01-23
  • ve7fet

    ve7fet - 2015-01-22
    • assigned_to: Bernard Pidoux
     
  • Bernard Pidoux

    Bernard Pidoux - 2015-01-22

    Hello Mitch,
    I am not able to reproduce the port error you reported before.
    Would you mind trying to re-install a brand new FBB (after saving present fbb directory in a safe directory) with present code ?
    And see if you get again this unexpected error.

    Bernard

     
    • Mitch Winkle

      Mitch Winkle - 2015-01-26

      Bernard,

      As it happens, I just compiled the very latest from svn to full success for the first time. I will move off my config files and do an install and try to create the port.sys with the initial fbb script once more.

      Mitch

       
  • ve7fet

    ve7fet - 2015-01-23

    FYI, I just applied some markdown syntax to some of the posts to make them more readable (see the Formatting Help button).

    Lee

     
  • Mitch Winkle

    Mitch Winkle - 2015-01-26

    Latest code installed. I renamed my port.sys and ran fbb as if a new installation. It did not create the port.sys file. Here is my result. Note, this is under a bash shell, but I also tried in sh and no difference.

    root@ab4mw:/etc/ax25/fbb# fbb

    Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : vhf
    /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found
    Number of channels [ex. 4] : 1
    /usr/local/sbin/fbb: 288: /usr/local/sbin/fbb: NB_CH[1]=1: not found
    Frequency [ex. 145] : 145.730
    /usr/local/sbin/fbb: 291: /usr/local/sbin/fbb: PORT_FREQ[1]=145.730: not found</cr>

    Name of the port #2 as named in /usr/local/etc/ax25/axports (<cr> to end) : hf
    /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[2]=hf: not found
    Number of channels [ex. 4] : 1
    /usr/local/sbin/fbb: 288: /usr/local/sbin/fbb: NB_CH[2]=1: not found
    Frequency [ex. 145] : 14.105
    /usr/local/sbin/fbb: 291: /usr/local/sbin/fbb: PORT_FREQ[2]=14.105: not found</cr>

    Name of the port #3 as named in /usr/local/etc/ax25/axports (<cr> to end) : </cr>

    /usr/local/sbin/fbb: 299: /usr/local/sbin/fbb: Bad substitution

     
  • Mitch Winkle

    Mitch Winkle - 2015-02-09

    An additional note. I worked with another brand new FBB user on compiling and installing FBB last week. He ran into the exact same issue while running the initial "fbb" script to create the port.sys file.

     
  • Tom

    Tom - 2015-02-13

    Hello Mitch.

    Would you mind sending me your axports file for review, please?

    Best regards.
    Tom - SP2L
    e-mail: SP2L@wp.pl

     
    • Mitch Winkle

      Mitch Winkle - 2015-02-14

      Tom,

      That post was a followup, and not meant for you. Just rec'd this
      message yesterday afternoon.

      Here is the content in full but it is about the same as what is in the
      ticket, and just two active ports:

      root@sova1:/etc/postfix# cat /etc/ax25/axports

      /etc/ax25/axports

      The format of this file is:

      name callsign speed paclen window description

      Port Call Baud PacLen Window Description

      vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA

      uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA

      fld AB4MW-5 38400 64 2 HF Port FLDIGI

      hf AB4MW-5 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105

      I think I detailed the script error reporting in the ticket. I
      confirmed the same errors with another user in California whose axports
      is very similar to my own. What it "looks like" is that the script
      isn't actually writing the value into the first dimension of the array,
      and when it goes to write the second dimension, it's first dimension
      index is "not found".

      73,

      Mitch

      On 02/13/2015 04:22 PM, Tom wrote:

      Hello Mitch.

      Would you mind sending me your axports file for review, please?

      Best regards.
      Tom - SP2L
      e-mail: SP2L@wp.pl


      [tickets:#7] http://sourceforge.net/p/linfbb/tickets/7 fbb script
      fail line # 285 on axports port name

      Status: open
      Milestone: 7.06
      Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
      Last Updated: Mon Feb 09, 2015 01:57 PM UTC
      Owner: Bernard Pidoux

      fbb script fails on line 285:

      root@ab4mw:/usr/local/etc/ax25/fbb# fbb

      Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : vhf
      /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found</cr>

      same error if I use the actual ax.25 interface name of ax1:

      Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : ax1
      /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found</cr>

      |/usr/local/etc/ax25/axports| :

      Port Call Baud PacLen Window Description

      vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
      uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
      hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/linfbb/tickets/7/
      https://sourceforge.net/p/linfbb/tickets/7

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions

       

      Related

      Tickets: #7

  • Tom

    Tom - 2015-02-14

    Hello Mitch.

    I received your response, but I meant sending axports file to me,
    not just copying part of content. I'm asking because I have suspicion
    and to resolve this I need to see FILE axports...

    Best regards.
    Tom - SP2L@wp.pl
    (ex sp2lob)

     
    • Mitch Winkle

      Mitch Winkle - 2015-02-14

      in case you meant the physical file:

      On 02/14/2015 06:33 AM, Tom wrote:

      Hello Mitch.

      I received your response, but I meant sending axports file to me,
      not just copying part of content. I'm asking because I have suspicion
      and to resolve this I need to see FILE axports...

      Best regards.
      Tom - SP2L@wp.pl
      (ex sp2lob)

       
  • Mitch Winkle

    Mitch Winkle - 2015-06-06

    NOTE: Changing the SheBang to #!/bin/bash makes this problem go away, and the declare statement at the top works also.

    I know this is not quite as cross platform but if you are using Bash only operations, it's sort of required.

     
    • Bernard Pidoux

      Bernard Pidoux - 2015-06-12

      Hello FBB users,

      All FBB distro scripts are using #!/bin/sh
      What is the standard shell used on major distros ?
      Would it be better to use #!/bin/bash by default on FBB scripts ?

      Do you think this ticket should be closed ?

      73 de Bernard

      Le 06/06/2015 21:06, Mitch Winkle a écrit :

      NOTE: Changing the SheBang to #!/bin/bash makes this problem go away,
      and the declare statement at the top works also.

      I know this is not quite as cross platform but if you are using Bash
      only operations, it's sort of required.


      [tickets:#7] http://sourceforge.net/p/linfbb/tickets/7 fbb script
      fail line # 285 on axports port name

      Status: open
      Milestone: 7.06
      Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
      Last Updated: Sat Feb 14, 2015 11:33 AM UTC
      Owner: Bernard Pidoux

      fbb script fails on line 285:

      root@ab4mw:/usr/local/etc/ax25/fbb# fbb

      Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : vhf
      /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found</cr>

      same error if I use the actual ax.25 interface name of ax1:

      Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : ax1
      /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found</cr>

      |/usr/local/etc/ax25/axports| :

      Port Call Baud PacLen Window Description

      vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
      uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
      hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/linfbb/tickets/7/
      https://sourceforge.net/p/linfbb/tickets/7

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions

       

      Related

      Tickets: #7

      • Mitch Winkle

        Mitch Winkle - 2015-06-12

        Hello Bernard,

        Bash comes on all major Linux distributions as a default I believe, at
        least on all Debian and derivatives which comprise a large majority of
        typical users (Ubuntu, Mint, etc.). When you open a terminal window, you
        are in Bash, unless you as the sysop explicitly change that behavior.

        System startup programs run in /bin/sh -> dash for speed purposes according
        to the information linked below.

        The issue really may be that if you use Bash only constructs that you
        really need to use the #!/bin/bash shebang to ensure that they run as
        expected. If you want to run a Bash script, why send it to a dash
        shell?

        Debian recommends : (This is old, so the reference to /usr/local/bin/bash
        instead of /bin/bash is dated here.)
        A Note About Bash Specific ScriptsIt is recommend that to avoid errors with
        your own Bash-specific scripts you can use the shebang line
        http://bash.cyberciti.biz/guide/Shebang as follows:

        !/usr/bin/env bash.

        OR

        !/path/to/real/bash.binary

        OR

        !/usr/local/bin/bash

        Information on the change to dash as /bin/sh at :
        https://wiki.ubuntu.com/DashAsBinSh

        So from my perspective, being born and raised in Bash, if it's a Bash
        script, #!/bin/bash otherwise, you are at the mercy of whatever the
        distribution does with /bin/sh.

        73,

        Mitch

        --
        Mitch Winkle
        http://ewamjlu.blogspot.com
        ...How long will you go limping between two different opinions? If the LORD
        is God, follow him...
        1 Kings 18 ESV

        On Fri, Jun 12, 2015 at 7:01 AM, Bernard Pidoux f6bvp@users.sf.net wrote:

        Hello FBB users,

        All FBB distro scripts are using #!/bin/sh
        What is the standard shell used on major distros ?
        Would it be better to use #!/bin/bash by default on FBB scripts ?

        Do you think this ticket should be closed ?

        73 de Bernard

        Le 06/06/2015 21:06, Mitch Winkle a écrit :

        NOTE: Changing the SheBang to #!/bin/bash makes this problem go away,
        and the declare statement at the top works also.

        I know this is not quite as cross platform but if you are using Bash
        only operations, it's sort of required.


        [tickets:#7] http://sourceforge.net/p/linfbb/tickets/7
        http://sourceforge.net/p/linfbb/tickets/7
        http://sourceforge.net/p/linfbb/tickets/7 fbb script fail line # 285 on
        axports port name

        Status: open
        Milestone: 7.06
        Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
        Last Updated: Sat Feb 14, 2015 11:33 AM UTC
        Owner: Bernard Pidoux

        fbb script fails on line 285:

        root@ab4mw:/usr/local/etc/ax25/fbb# fbb

        Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end)</cr>
        vhf
        /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found

        same error if I use the actual ax.25 interface name of ax1:

        Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end)</cr>
        ax1
        /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found

        |/usr/local/etc/ax25/axports| :
        Port Call Baud PacLen Window Description

        vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
        uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
        hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/linfbb/tickets/7/
        https://sourceforge.net/p/linfbb/tickets/7

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/
        https://sourceforge.net/auth/subscriptions


        Status: open
        Milestone: 7.06
        Created: Wed Jan 21, 2015 01:51 PM UTC by Mitch Winkle
        Last Updated: Sat Jun 06, 2015 07:06 PM UTC
        Owner: Bernard Pidoux

        fbb script fails on line 285:

        root@ab4mw:/usr/local/etc/ax25/fbb# fbb

        Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : vhf
        /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=vhf: not found</cr>

        same error if I use the actual ax.25 interface name of ax1:

        Name of the port #1 as named in /usr/local/etc/ax25/axports (<cr> to end) : ax1
        /usr/local/sbin/fbb: 285: /usr/local/sbin/fbb: PORT_NAME[1]=ax1: not found</cr>

        /usr/local/etc/ax25/axports :

        Port Call Baud PacLen Window Description

        vhf AB4MW-2 1200 236 4 Radio - 145.730 MHz Richmond, VA
        uhf AB4MW-3 1200 236 4 Radio - 446.075 MHz Richmond, VA
        hf AB4MW-7 38400 60 2 HF 300 baud packet 14.105 Mhz Network 105


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/linfbb/tickets/7/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Tickets: #7

1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB