¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

IPGATEWAY ax.25 rf only


 

Hi,
?
Trying to configure ax.25 tcp on rf port...No tunnels,? no access past Linbpq and rf ports. I have went over and over what John has out as an example but Linbpq crashes when I Enable IPGATEWAY..
?
So as usual I'm sure this is a lack of understanding on my part :(... Looking for an actual in use example for rf ax.25 tcp config..
?
Thxs
?
Guy
kd6mtu?


 

IPGATEWAY does not go inside of a PORT configuration.? It goes in the main body of the config file.
?
?
But it could be we are all confused about what you are really trying to do, especially me.? Maybe more details would help.
?
?
?
Mark
?


 


I think I understand what you are trying to do. Even if you are not using tunnels, etc. and only need to run IP over ax25 via a radio, you still need to run the "full fledged" IPGATEWAY feature. You just won't be using all of it. In other words, you still need to enable the tunnel or tap and RIP even if they are not used.

Using the BPQ documentation as a baseline, first I don't know if you are using Windows or Linux, so I'm leaving both options available. If Windows, you need to ID the Ethernet adapter using the bpqadapters executable that comes with the Windows version of BPQ.
IPGATEWAY
Adapter \Device\NPF_{ECDB1154-982B-48D3-A394-785AC42588E3} # Windows Adapter eth0 # Linux 44ENCAP 192.168.1.10 # Enable AMPRNET Tunnels and RIP44. Use 192.168.1.10 as Tunnel Endpoint
# Use a previously unused IP address on your LAN that hosts the computer running BPQ IPAddr 44.131.56.1 # This is the address you assign to BPQ that will be reachable over the radio in your
# case. It doesn't necessarily need to be a 44-net address, but it needs to be in a
# different subnet than your LAN, e.g. 192.168.2.1 IPNetmask 255.255.255.248 # Netmask of your AMPRNet allocation - or the mask of a private network you want
# to use between radios. IPPorts 1 # BPQ Ports to be used for links to IP systems. For testing I would start with 1 radio
# port. If not port 1, change it to the applicable port. ARP 44.131.56.6 G8BPQ-8 1 D # 44.131.56.6 is reachable over radio port 1 - could also be something like
# ARP 192.168.2.2 for a private network. Apply the applicable callsign & port.

Have fun, and I hope I have understood your goal.

73,
Lee K5DAT


 

Hi Mark,
?
its not in the port conf section...Linbpq on a pi4....


 

I think I understand what you are trying to do. Even if you are not using tunnels, etc. and only need to run IP over ax25 via a radio, you still need to run the "full fledged" IPGATEWAY feature. You just won't be using all of it. In other words, you still need to enable the tunnel or tap and RIP even if they are not used.
?
Using the BPQ documentation as a baseline, first I don't know if you are using Windows or Linux, so I'm leaving both options available. If Windows, you need to ID the Ethernet adapter using the bpq adapters executable that comes with the Windows version of BPQ.
?
?
I believe the above is probably the answer !... I misunderstood John wiseman? in his saying to ignore the encap and statements for the nat ...will try it again with full statements this time... Well after I track down what ever I broke in my forwarding to other bbs...I guess if you play to much murphy will get you :)
?
Using 32bit raspberry os pi4 ... I am at the point of needing to start fresh again with the BBS. Have a ardop hf port but don't have the radio hooked up yet.. I moved this year to far northern central Nevada this year and am trying to put it all back together. It is completely solar powered with the internet portion of it through starlink. That in itself is enough to pull your hair out LOL.. Thxs to Mark for the work around to that issue well as long as I don't break it :(...will update as soon as I get my mess cleaned up


 

OK when I am enable IPGATEWAY linbpq will not run.....
?
heres the config when I remark out the IPGATEWAY
?
;IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.223
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 2
ARP 10.0.0.10 KD6MTU-2 2 D
NONODEFAULTROUTE
?
?
?
?
G8BPQ AX25 Packet Switch System Version 6.0.23.62 April 2023
Copyright ? 2001-2023 John Wiseman G8BPQ
Current Directory is /home/bbs/linbpq
Configuration file Preprocessor.
Using Configuration file /home/bbs/linbpq/bpq32.cfg
bpq32.cfg line no 62 not recognised - Ignored: Adapter eth0
bpq32.cfg line no 63 not recognised - Ignored: 44ENCAP 100.64.1.223
bpq32.cfg line no 64 not recognised - Ignored: IPAddr 10.0.0.1
bpq32.cfg line no 65 not recognised - Ignored: IPNetmask 255.255.255.0
bpq32.cfg line no 66 not recognised - Ignored: IPPorts 2
bpq32.cfg line no 67 not recognised - Ignored: ARP 10.0.0.10 KD6MTU-2 2 D
bpq32.cfg line no 68 not recognised - Ignored: NONODEFAULTROUTE

PORTS 0x2a47d0 LINKS 0x2a8230 DESTS 0x2aa6e8 ROUTES 0x2b0c78 L4 0x2b4078 BUFFERS 0x2bacc0
Initialising Port 01 ? ? ARDOP Host 127.0.0.1 8515
Initialising Port 02 ? ? ASYNC /dev/VHF_1k2 Chan A
Initialising Port 03 ? ? Telnet Server
Initialising Port 04 ? ? AXIP
Starting Chat
Config File is /home/bbs/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/bbs/linbpq/linmail.cfg
Config Processed
Mail Started
Connected to ARDOP TNC Port 1
?
?
?
Don't know what crashes it when trying to run the IPGATEWAY?
?
Linux bbs 6.1.21-v7+ #1642 SMP Mon Apr ?3 17:20:52 BST 2023 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Nov ?4 07:27:18 2024 from 192.168.1.64
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
?
?
this is an older ver of raspberry os and i can rebuild with a newer one but it seems? that something would not run correctly with newer ver. just can't remember.
?
?
?


 

Good day.

Here is the full configuration example on the BPQ website.? Note there are 4 asterisks at the end to mark where the IPGateway feature ends.? There are several BPQ features that use this methodology. I think you are missing that last line perhaps because it was not in my previous message.

IPGATEWAY

Adapter \Device\NPF_{ECDB1154-982B-48D3-A394-785AC42588E3}  # Windows
Adapter eth0                                                # Linux

44ENCAP 192.168.1.10         # Enable AMPRNET Tunnels and RIP44. Use 192.168.1.10 as Tunnel Enpoint
IPAddr 44.131.56.1           # IP address of the BPQ32 switch on your LAN
IPNetmask 255.255.255.248    # Netmask of your AMPRNet allocation
IPPorts 1,3,7                # BPQ Ports to be used for links to IP systems. List of ports, separated by commas

NAT 44.131.56.2 192.168.x.x	 # 192.168.x.x is the LAN address of another PC that I want to have access to AMPRNET

ARP 44.131.56.6 G8BPQ-8 1 D	 # 44.131.56.6 is reachable over radio port 1 

ARP 44.131.11.1 GM8BPQ-7 1 D     # ARP entry for Gateway below
ROUTE  44.131.11.1 # All subnet   is reachable over radio link 1 to GM8BPQ-7

route addprivate 44.131.56/29 encap 81.153.51.216  # AMPRNET Tunnel route in encap.txt format (not recommended)

****

73,
Lee K5DAT


On Mon, Nov 4, 2024 at 9:43?AM guy lemke via <kd6mtu=[email protected]> wrote:
OK when I am enable IPGATEWAY linbpq will not run.....
?
heres the config when I remark out the IPGATEWAY
?
;IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.223
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 2
ARP 10.0.0.10 KD6MTU-2 2 D
NONODEFAULTROUTE
?
?
?
?
G8BPQ AX25 Packet Switch System Version 6.0.23.62 April 2023
Copyright ? 2001-2023 John Wiseman G8BPQ
Current Directory is /home/bbs/linbpq
Configuration file Preprocessor.
Using Configuration file /home/bbs/linbpq/bpq32.cfg
bpq32.cfg line no 62 not recognised - Ignored: Adapter eth0
bpq32.cfg line no 63 not recognised - Ignored: 44ENCAP 100.64.1.223
bpq32.cfg line no 64 not recognised - Ignored: IPAddr 10.0.0.1
bpq32.cfg line no 65 not recognised - Ignored: IPNetmask 255.255.255.0
bpq32.cfg line no 66 not recognised - Ignored: IPPorts 2
bpq32.cfg line no 67 not recognised - Ignored: ARP 10.0.0.10 KD6MTU-2 2 D
bpq32.cfg line no 68 not recognised - Ignored: NONODEFAULTROUTE

PORTS 0x2a47d0 LINKS 0x2a8230 DESTS 0x2aa6e8 ROUTES 0x2b0c78 L4 0x2b4078 BUFFERS 0x2bacc0
Initialising Port 01 ? ? ARDOP Host 127.0.0.1 8515
Initialising Port 02 ? ? ASYNC /dev/VHF_1k2 Chan A
Initialising Port 03 ? ? Telnet Server
Initialising Port 04 ? ? AXIP
Starting Chat
Config File is /home/bbs/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/bbs/linbpq/linmail.cfg
Config Processed
Mail Started
Connected to ARDOP TNC Port 1
?
?
?
Don't know what crashes it when trying to run the IPGATEWAY?
?
Linux bbs 6.1.21-v7+ #1642 SMP Mon Apr ?3 17:20:52 BST 2023 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Nov ?4 07:27:18 2024 from 192.168.1.64
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
?
?
this is an older ver of raspberry os and i can rebuild with a newer one but it seems? that something would not run correctly with newer ver. just can't remember.
?
?
?


 

When you comment out the IPGATEWAY statement it may render the others unrecognized, thus the error.? Use a multi-line comment when commenting out the IPGATEWAY section:
?
/*
IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.223
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 2
ARP 10.0.0.10 KD6MTU-2 2 D
NONODEFAULTROUTE
****
*/
?
?
But, I think perhaps you may have luck if you reduce the section to it's most simple form:
?
IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.223
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 4
****
?
?
If this works then you can start adjusting.? If it does not show us the errors it produces.? It may be in the IP addresses used, or perhaps something else..
?
?
?
?
?


 

Oh those 4 asterisks LOL, well that made a difference... now to the next issues :)
?
I wiped the pi and started with bookworm 32bit lite....all went well. installed linbpq went well. all is working good. AXIP master/slave circuits are working good over starlink now (side note had to upgrade n6pnk bbs)? So clean everything. Can access the bbs through the rf port.
?
heres what I have now, that I am starting to work my way through:
?
?
IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.254
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 1
ARP 10.0.0.10 KD6MTU-2 1 D
****
?

G8BPQ AX25 Packet Switch System Version 6.0.24.49 October 2024
Copyright ? 2001-2024 John Wiseman G8BPQ
Current Directory is /home/bbs/linbpq
Log Directory is /home/bbs/linbpq
Making Directory /home/bbs/linbpq/logs
Configuration file Preprocessor.
Using Configuration file /home/bbs/linbpq/bpq32.cfg
Conversion (probably) successful
PORTS 0x2eb320 LINKS 0x2ee020 DESTS 0x2f3de0 ROUTES 0x2fa370 L4 0x2fd770 BUFFERS 0x304720
Initialising Port 01 ? ? ASYNC /dev/ttyUSB0 Chan A
Initialising Port 03 ? ? Telnet Server
Initialising Port 04 ? ? AXIP
?IP Unable to open eth0
Failed to open pcap device - IP Support Disabled
MQTT Enabled 0
Starting Chat
Config File is /home/bbs/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/bbs/linbpq/linmail.cfg
Config Processed
Mail Started
?
thx for all the help !!!


 

sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq

I think you may be missing the above command from the linbpq documentation. The above assumes you have renamed the pilinbpq binary to linbpq.?

If that's not it, then are you sure the adapter name is still eth0?

73
Lee K5DAT?


On Mon, Nov 4, 2024, 4:32 PM guy lemke via <kd6mtu=[email protected]> wrote:
Oh those 4 asterisks LOL, well that made a difference... now to the next issues :)
?
I wiped the pi and started with bookworm 32bit lite....all went well. installed linbpq went well. all is working good. AXIP master/slave circuits are working good over starlink now (side note had to upgrade n6pnk bbs)? So clean everything. Can access the bbs through the rf port.
?
heres what I have now, that I am starting to work my way through:
?
?
IPGATEWAY
Adapter eth0
44ENCAP 100.64.1.254
IPAddr 10.0.0.1
IPNetmask 255.255.255.0
IPPorts 1
ARP 10.0.0.10 KD6MTU-2 1 D
****
?

G8BPQ AX25 Packet Switch System Version 6.0.24.49 October 2024
Copyright ? 2001-2024 John Wiseman G8BPQ
Current Directory is /home/bbs/linbpq
Log Directory is /home/bbs/linbpq
Making Directory /home/bbs/linbpq/logs
Configuration file Preprocessor.
Using Configuration file /home/bbs/linbpq/bpq32.cfg
Conversion (probably) successful
PORTS 0x2eb320 LINKS 0x2ee020 DESTS 0x2f3de0 ROUTES 0x2fa370 L4 0x2fd770 BUFFERS 0x304720
Initialising Port 01 ? ? ASYNC /dev/ttyUSB0 Chan A
Initialising Port 03 ? ? Telnet Server
Initialising Port 04 ? ? AXIP
?IP Unable to open eth0
Failed to open pcap device - IP Support Disabled
MQTT Enabled 0
Starting Chat
Config File is /home/bbs/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/bbs/linbpq/linmail.cfg
Config Processed
Mail Started
?
thx for all the help !!!


 

that was the last part of the puzzle...thx you for the help and everyone else too.? it's working


 

Now trying to ping the bbs from a pi5 bookworm 64bit... direwolf /? tncattach with setup for ip with 10.0.0.10/24 and bbs with 10.0.0.1/24.
?
pi desktop pings out rf interface correctly,? no response from bbs. While logged into bbs remotely I ping from within linbpq and bbs will ping out on port 1... neither will answer.
?
I know not alot of info here, mainly giving setup... Coming from networking engineering side of life I know what to expect from a eithernet response.?
?
Trying to take in consideration the time delay of 1k2 rf ;) I wonder if my expectations are invalid ?. Or how Linbpq responds on that port. Does linbpq respond to pings, I can ping out from the term of bbs and radio will keyup and I can see it then on the direwolf screen..of other packet unit.
?
Any ideas
?
?