¿ªÔÆÌåÓý

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

Re: Gateway - Raspberry Pi 3 -need help


 

Hi Colby,
Here is the file qn.cfg. I do not know how to set up for the ssh.?

# Qnet Gateway Configuration

ircddb = {
? ? ? ? login = "KM6VLB";? ? ?# login callsign for the ircDDB network
? ? ? ? host = ""? ? # other include
? ? ? ? port = 9007? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?# not a good idea to change!
#? ? ? ?password = "password"? ?# not needed for
}

gateway = {
? ? ? ? regen_header = true? ? ? ? # regenerate headers from incoming data
? ? ? ? send_qrgs_maps = true? ? ? # send frequecy, offset, cooridinates and url to irc-server
? ? ? ? local_irc_ip = "0.0.0.0"? ?# 0.0.0.0 means accept any incoming connections
? ? ? ? aprs_send = true? ? ? ? ? ?# send info to aprs
? ? ? ? ip = "172.16.0.20"? ? ? ? ? ?# where the gateway is running

? ? external = {
? ? ? ? ? ? ? ? ip = "172.16.0.1"
? ? ? ? ? ? ? ? port = 20319
? ? ? ? }

? ? ? ? internal = {
? ? ? ? ? ? ? ? ip = "172.16.0.20"
? ? ? ? ? ? ? ? port = 20000
? ? ? ? }
}

module = {
#? ? ? ?a = { # an ICOM full stack might consist of up to three module
#? ? ? ?a = { # an ICOM full stack might consist of up to three module
? ? ? ? ? ? ? # Sorry, the 23 cm data module is not yet supported
? ? ? ? ? # 23 cm module will use "a"
? ? ? ? ? # 70 cm module will use "b"
? ? ? ? ? #? 2? M module will use "c"
#? ? ? ? ? ? ? ?type = "icom"? ? ? # you must define at least one module by uncommenting the type
#? ? ? ? ? ? ? ?ip = "172.16.0.1" # all icom modules should have the same IP address
#? ? ? ? ? ? ? ?port = 20000? ? ? ?# all icom modules should have the same UDP port
#? ? ? ? ? ? ? ?frequency = 448.260? ? ? # in MHz, if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage
#? ? ? ? ? ? ? ?offset = 5 Mhz
#? ? ? ? ? ? ? ?range = 0? ? ? ? ? # the range of this repeater, in meters. 1609.344 meters is 1.0 miles
#? ? ? ?agl = 0? ? ? ? ? ? # the height above ground level for this repeater's antenna
#? ? ? ? ? ? ? ?latitude = 0? ? ? ?# you can leave this unspecified for a mobile rig
#? ? ? ? ? ? ? ?longitude = 0? ? ? # like the latitude
#? ? ? ? ? ? ? ?desc1 = "La Mesa, CA"? ? ? ? ?# maximum of 20 characters, most special symbols are not allowed
#? ? ? ? ? ? ? ?desc2 = ""? ? ? ? ?# just like desc1
#? ? ? ? ? ? ? ?url = ""? ? # 80 characters max
? ? ? ? b = {
? ? ? ? ? ? ? ? type = "icom"
? ? ? ? ? ? ? ? ip = "172.16.0.1" # all icom modules should have the same IP address
? ? ? ? ? ? ? ? port = 20319? ? ? ?# all icom modules should have the same UDP port
? ? ? ? ? ? ? ? frequency = 448.260
? ? ? ? ? ? ? ? offset = 5 Mhz
? ? ? ? ? ? ? ? range = 0.0
? ? ? ? ? ? ? ? agl = 0.0
? ? ? ? ? ? ? ? latitude = 32.0
? ? ? ? ? ? ? ? longitude = 117.0
? ? ? ? ? ? ? ? desc1 = "La Mesa, CA"
#? ? ? ? ? ? ? ?desc2 = ""
? ? ? ? ? ? ? ? url = ""
? ? ? ? }
#? ? ? ?c = {
#? ? ? ? ? ? ? ?type = "icom"
#? ? ? ? ? ? ? ?ip = "172.16.0.1" # all icom modules should have the same IP address
#? ? ? ? ? ? ? ?port = 20000? ? ? ?# all icom modules should have the same UDP port
#? ? ? ? ? ? ? ?frequency = 0
#? ? ? ? ? ? ? ?dvap_offset = 0
#? ? ? ? ? ? ? ?range = 0.0
#? ? ? ? ? ? ? ?agl = 0.0
#? ? ? ? ? ? ? ?latitude = 0.0
#? ? ? ? ? ? ? ?longitude = 0.0
#? ? ? ? ? ? ? ?desc1 = ""
#? ? ? ? ? ? ? ?desc2 = ""
#? ? ? ? ? ? ? ?url = ""
? ? ? ? }
}
log = {
? ? ? ? # debuging and extra logging switches
? ? ? ? qso = false? ? ?# QSO info goes into the log
? ? ? ? irc = false? ? ?# IRC debug info
? ? ? ? dtmf = false? ? # DTMF debug info
}

aprs = {? ? ? ? # connect info
? ? ? ? host = ""
? ? ? ? port = 14580
? ? ? ? interval = 40
#? ? ? ?filter = ""
}
link = {
? ? ? ? link_at_start = "XRF072AL" # Link to a reflector at startup.
#? ? ? ? ? ? ? ? ? ? ? ? ? ? ?to link repeater module B to REF001 C, use "BREF001C"
? ? ? ? ref_login = ""? ? ? ? ? ? ?# for loging into REF reflectors, if undefined, ircddb.username will be used
? ? ? ? admin = [ "N0MIS" ]? ? ? ? ? # only these users can execute scripts, block dongles and reload the gwys.txt
#? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # you probabaly want you own callsign in the admin list!
? ? ? ? link_unlink = [ "N0MIS" ]? ? # if defined, only these users can link and unlink a repeater
#? ?no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users cannot link or unlink, it's a blacklist
#? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # if the blacklist is defined (even if it's em$
? ? ? ? incoming_ip = "0.0.0.0"? ? ?# incoming ip address, "0.0.0.0" means accepts all connections.
? ? ? ? ip = "172.16.0.1"? ?# where g2_link is running
? ? ? ? port = 20319? ? ? ?# port for communications to g2_link
? ? ? ? ref_port = 20001? ?# port for REF linking, don't change
? ? ? ? xrf_port = 30001? ?# port for XRF linking, don't change
? ? ? ? dcs_port = 30051? ?# port for DCS linking, don't change
? ? ? ? announce = true? ? # do link, unlink, etc. announcements
? ? ? ? acknowledge = true # send text acknowledgement on key-up
? ? ? ? max_dongles = 30? ? # maximum number of linked hotspots
file = {
? ? ? ? status = "/usr/local/etc/rptr_status"? # where repeater status info is passed between services
? ? ? ? DTMF = "/tmp"? ? ? ? ? ? ? ? ? ? ? ? ? #
? ? ? ? echotest = "/tmp"? ? ? ? ? ? ? ? ? ? ? # echo dat files will end up here
? ? ? ? qnvoicefile = /tmp/qnvoice.txt? ? ? ? ?# where qnvoice will create the play command
? ? ? ? gwys = "/usr/local/etc/gwys.txt"? ? ? ?# where the list of gateways and reflectors (with ports) is.
? ? ? ? announce_dir = "/usr/local/etc"? ? ? ? # where are the *.dat files for the verbal link, unlink, etc. announcements
}

timing = {
? ? ? ? timeout = {
? ? ? ? ? ? ? ? echo = 1? ? ? ? ?# delay time in seconds for echo
? ? ? ? ? ? ? ? voicemail = 1? ? # delay time for voicemail
? ? ? ? ? ? ? ? remote_g2 = 2? ? # after this many seconds with no packets, we assume the tx is closed
? ? ? ? play = {
? ? ? ? ? ? ? ? wait = 1? ? ? ? ? # seconds before playback occurs, between 1 and 10
? ? ? ? ? ? ? ? delay = 19? ? ? ? # microseconds between frames playback, if echo sounds bad, adjust this up or down 1,2 microseconds
? ? ? ? }

? ? ? ? inactivity = {
? ? ? ? ? ? ? ? a = 30? ? ? ? ? ? ?# unlink repeater if no activity for this many minutes
? ? ? ? ? ? ? ? b = 30? ? ? ? ? ? ?# zero mean there will be no timer
? ? ? ? ? ? ? ? c = 30
? ? ? ? }


On Thu, Sep 6, 2018 at 4:22 PM Colby Ross W1BSB <colbypr@...> wrote:

No problems, we¡¯ll work through it.? The trick to the whole set up is the static IP on the 2nd NIC that is plugged into the ICOM repeater controller. It will have to be configured manually and be set to 172.16.0.20.? You will first need to identify how your system is labelling the device. My guess is eth1. Once you¡¯ve determined that, a static IP address can be set for that adapter (to 172.16.0.20, netmask 255.255.255.0, no gateway).? This ethernet connection should be connected directly to the repeater.? The internet serving router should be on the 10.0.0.1 network, and your primary ethernet interface (eth0) can be left to grab an IP via DHCP from the router.? This should be enough to get QnetGateway working in its default configuration.

?

If you can get a working internet connection on the Pi, and open up an SSH port and provide a user and password that I can gain root level access with, I can log in and verify the configuration (or make it for you if you like) and ensure that communication between the PI and the repeater is working, and that QnetGateway is configured correctly to get it on the air. It¡¯s a bit much for someone who hasn¡¯t done it before, and it took me a bit to figure it out.

?

Colby

?

?

From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr.
Sent: Thursday, September 6, 2018 19:10
To: [email protected]
Subject: Re: [QnetGateway] Gateway - Raspberry Pi 3 -need help

?

Hi Colby,

I am sorry if was not clear, this is my first time to set up an icom repeater (ID-RP4000V) with the controller (ID-RP2C).? I appreciate all the help I can get, I might be a little slow in learning, please bear with me. Before I go any further, please? let me know if my set up will work.

Using Raspberry Pi 3 and the second NIC was connected to the USB, TP-Link. ID-RP2C 10 Base T connected to the PI 3 ethernet connection and my router/modem connected to TP-link. Will this work, if not them I will get another computer and start again.

?

?

On 9/6/2018 6:33 AM, Colby Ross W1BSB wrote:

I¡¯m a bit confused myself. Is this on a Pi? Have you changed the repeater¡¯s IP to an address on the same block your router and system are configured for?


With QnetGateway, to link to a reflector, you must put XRF072AL in the UR field. It¡¯s a bit different than the conventional ICOM stack.

?

The IPs are configured in the qn.cfg file, you have to tell it what IP your repeater is on and what IP the gateway should be listening on.

?

Show me the output of your /usr/local/etc/qn.cfg file, the output of journalctl -u qngateway, and tell me what IP your repeater is currently assigned, as well as your router, and the system you are running QnetGateway on. (The local IP addresses, i.e. 10.x.x.x, 192.168.x.x, 172.x.x.x, etc)

?

Colby

?

?

From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr.
Sent: Thursday, September 6, 2018 09:26
To:
[email protected]
Subject: Re: [QnetGateway] Gateway - Raspberry Pi 3 -need help

?

Hi Colby,

Thank you very much. I did what you provided and did not see any error but it would not link to where I configured to XRF072 A (Set up BXRF072A). I am a little bit confuse in setting up the IP addresses and need assistance. I am using and assigned a fixed IP address to the Gateway and assigned it on my modem/router, the same set up I did on the XLX server. I appreciate if you could assist me in setting up our Gateway link to icom repeater. Thank you.

Questions:

1. QnetGateway/qn.icom.cfg: Do I need to change any IP addresses on the qnet Gateway Configuration?

2. Icom ID-RP2C controller: following the ID-RP2C manual, setting is currently Gateway IP address: 172.16.0.20 and port is 2000; Communication Settings IP address: 172.16.0.1, Port 20319, Subnet 255.255.255.0, Def Gateway 0.0.0.0. Do I need to change any setting on the controller?

3. Where do I enter the static IP address (purchased five fixed IP address from AT&T)?

?

On 9/5/2018 9:20 PM, Colby Ross W1BSB wrote:

Try sudo make uninstallicom and then sudo make installicom

?

From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr.
Sent: Thursday, September 6, 2018 00:19
To: [email protected]
Subject: [QnetGateway] Gateway - Raspberry Pi 3 -need help

?

Results after running sudo make installicom:

pi@raspberrypi:~/QnetGateway $ sudo make installicom

######### QnetGateway #########

/bin/cp -f qngateway /usr/local/bin

/bin/cp -f qnremote qnvoice /usr/local/bin

/bin/ln -s /home/pi/QnetGateway/qn.cfg /usr/local/etc

/bin/ln: failed to create symbolic link '/usr/local/etc/qn.cfg': File exists

Makefile:139: recipe for target 'installicom' failed

make: *** [installicom] Error 1

pi@raspberrypi:~/QnetGateway $?

?

?

?



--
Regards,
Nomis A. Bayan Jr.

Join [email protected] to automatically receive all group messages.