N1MM network mode, Field Day and TCP/IP over AX.25
Eric Grumling
Our club is looking at different options for this year's Field Day since we have no intention of collecting at our usual 3A campsite. Most of us will probably be operating from home using our own callsigns, but there's some discussion of using N1MM's network mode and forming a multi-user multi-station group using the club call. I'm pretty well versed in networking N1MM on a LAN, and can probably get a VPN set up (to simplify setup for non-network savvy members) for everyone to use. However it might be interesting to see what might be possible using all radio instead of Internet and VPN tunnels. The club repeater sites are connected via a 3GHz WAN that could also be utilized if members have direct LOS with the repeater sites (not many do).
With that in mind, what is the possibility of running 9600 baud TCP/IP using a Raspberry Pi and UDRC/soundcard modem? That way we could keep things all radio and maybe get some infrastructure built for longer term projects. I'll have to see how much network traffic is generated by N1MM of course, but the idea would be similar to a Cradlepoint style cellular modem, where the logging PC could join a WiFi hotspot or Ethernet port on the Pi, which would then act like a router. Would JNOS or Direwolf do this? Ideally I'd build a standard image for the club, and probably build a few stations too. Club members who want to join the network would need to supply a 70 CM radio with 9600 baud input and we'd probably have to set nodes at the repeater sites. Good idea or waste of time?
|
|||||||||||
|
|||||||||||
Functional End-User Operation Directions
Ed Bloom, KD9FRQ
I am looking for some more formalized End-User Directions to keep on the thumb drive, and print for the Go Bag/Box.
What I am looking for is how to swap ports from 0 to 1 should the port 0 fail on the hat (as a precaution) and how to make the needed baseline setting changes to Xastir runs off of Port 1 as default and let the Pac-Link side run off of Port 0. As it stands now, Xastir sees the Port 0 and I need to move it.
|
|||||||||||
|
|||||||||||
Re: #DRAWS oddity, GPS and ALSA headaches
#draws
Hi Basil,
toggle quoted messageShow quoted text
Well, I finally got a chance to do a "multiswap" to see what hardware is working and what is not with this DRAWS system. Previously determined that the GPS antenna we have discussed was bad by swapping on to a good DRAWS/Pi unit that was working fine with another antenna. Ordered a replacement which arrived last week. Finally got some time to reconfigure so... before putting the new GPS antenna on the DRAWS unit that had the antenna failure, I tested both DRAWS boards with a good Pi3B+ and the remaining good GPS antenna that I have. I was worried because there had been some heating that took place when the GPS antenna failed. The DRAWS board that had the antenna go bad apparently also has a bad GPS chip: -When I was testing it a week ago or so with the good antenna from my GO kit, it "seemed OK", but was very sluggish getting a fix and there seemed to be a lot of position jitter when it did acquire some satellites. ALSA indicated the UDRC BCM chip was working. The GPS chip seemed to get a bit warm, but not alarmingly. -Today's testing, the DRAWS board in question did not get a fix and no matter how long after starting the units, no satellites were acquired. ALSA did appear to work. GPSMON show 4 satellites in the list, but consistently only shows 00.0000 for coordinates no matter how long I left it. With the same antenna and same Pi3B+ with the other DRAWS board mounted, the full GPSMON display comes up immediately and all systems check out. Xastir runs flawlessly. I guess this moves to a Brian question... Is the DRAWS board repairable or swappable for a fee? I most likely am past any reasonable warranty time and I need this unit for my go kit. 73 and Thanks! KD4IZ Jack Spitznagel FM19oo
-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Basil Gunn Sent: Saturday, April 4, 2020 01:17 To: udrc@nw-digital-radio.groups.io Subject: Re: [draws and udrc] #DRAWS oddity, GPS and ALSA headaches Hi Jack, It also turns out that the original GPS/LNA antenna had gone bad alongI found these also work: https://www.amazon.com/gp/product/B00LXRQY9A/ref=ppx_yo_dt_b_search_asin_tit le Note: The Pi4 B+ really needs a fan... runs 55 to 60C without, 35-37Cwith. Had a 12V microfan sitting in the junk box, wired it in, and the PiYes I agree. Pi4's run cool enough when laying naked on my bench but as soon as you put them into any kind of enclosure they heat up. I have a case on back order. Does it have a place for a fan mount?Don't know. Bryan or John need to answer that. Jack - kd4iz
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
Paul Noa
Thanks Basil,
I am on my way now:
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
Curiously NWDR's name was in there that's when I knew I didn't knowbtest.sh script defaults to sending a message 'btest.sh -p' sends a location beacon $ ./btest.sh -h *** Running as user: pi *** Usage: btest.sh [-P <port>][-s <num>][-p][-m][-v][-h] -P <portname> | --portname <portname> eg. udr0 -s <num> | --sid <num> set sid in callsign, number 0-15 -p | --position send a position beacon -m | --message send a message beacon (default) -g | --gps verify gps is working -v | --verbose display verbose messages -h | --help display this message The btest.sh script prints out the beacon command it executes: $ ./btest.sh Send a message beacon Sent: /usr/local/sbin/beacon -c N7NIX-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 :N7NIX :12 13:06:58 PDT N7NIX mesg_beacon test from host testit2 on port udr0 Seq: 1 You should probably read this link http://www.aprs.org/ /basil n7nix
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
Paul Noa
Thanks Everyone,
My nearest ham friend sent me this he received on his home rig: KO4BCZ-11 audio level = 26(7/7) [NONE] |||||||__ [0.3] KO4BCZ-11>APUDR1,WIDE1-1::KO4B mesg_beacon test from host asawizard on port udr0 Seq: 0" � APRS Message for "KO4BCZ", Original Balloon (think Ham b, NW Digital Radio's UDR (APRS/Dstar) 11 15:54:28 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0"� [ig] K4GDG-10>APDW14:!3006.64NR0813 on RPi+RTL-SDR using QSO365 image Curiously NWDR's name was in there that's when I knew I didn't know how to send a message!! I will study up on all the information and try again ASAP. Thanks Only Perseverance Prevails! Paul KO4BCZ
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
It appears everything is working but I do not know enough toWays to send a position beacon on the image you are using: cd cd n7nix/debug ./beacmin.sh or ./btest.sh -p or YAAC is installed, configure YAAC or Xastir is installed, configure Xastir or nixtracker is installed, configure nixtracker or configure direwolf to beacon YAAC, Xastir, nixtracker & direwolf can be configured to beacon an APRS position at some interval. You could also make a cron entry & use either beacmin.sh or btest.sh Example cron entry to use beacmin.sh to beacon on the 1/2 hour. */30 * * * * /bin/bash /home/pi/n7nix/debug/beacmin.sh >> /home/pi/tmp/beacmin.log 2>&1
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
You are getting close. You are transmitting and an IGate station is sending your packets to the APRS-IS servers.
Let's look at your most recent transmission. After the part with addresses we find: :KO4BCZ :11 16:46:28 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1<0x09><0xe7> The first character of the information part is ":" meaning "message." In APRS, the term "message" has a very special meaning. You can think of it like a mobile phone text message. Suppose you sent a text message to the number for a phone that has never been powered on. The telephone network would not know how to forward the message. It is the same situation here. The APRS-IS servers will try to forward this message to IGate stations near the last known location of "KO4BCZ". There is no known location for that station. The error message "KO4BCZ was not found in the location database." is exactly what you would expect in this case. You can only send an APRS "message" to a station if the APRS-IS servers have recent information about where it is. "Successful IGate Operation," found here https://github.com/wb2osz/direwolf/tree/dev/doc , briefly describes how APRS messaging works. If you want to advertise your location, use a "Position Report." Look in your direwolf.conf file and use an existing PBEACON example as a starting point.
|
|||||||||||
|
|||||||||||
Re: #aprs
#aprs
Andrew P.
Have you sent a position packet yet? Just because you transmitted an APRS text message doesn't provide anyone with your station position.
Andrew, KA2DDO author of YAAC ________________________________________ From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> on behalf of Paul Noa <pauljnoa@gmail.com> Sent: Saturday, April 11, 2020 4:18 PM To: udrc@nw-digital-radio.groups.io Subject: [draws and udrc] #aprs I have just completed a new and clean install of NWDR15 due to some strange IPtable issues which seem to be resolved now. Attached are outputs from commands used in VERIFY_CONFIG.md It appears everything is working but I do not know enough to understand why no aprs.fi location? # I see this on the server T2PR: Port Username Address Verified Up Last in Software Packets Tx Packets Rx Bytes Tx Bytes Rx Tx/Rx bytes/s OutQ MsgRcpts Filter 4580 KO4BCZ 174.227.144.238:3629 Yes 17m 28s Dire-Wolf 1.6 1 0/0/0 4044 145 0 / 0 0 0 # On APRS.fi Raw Packets: 2020-04-11 15:54:30 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAO,K4GDG-10::KO4BCZ :11 15:54:28 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0"<0x92> aprs.fi · KO4BCZ · Log out KO4BCZ was not found in the location database.
|
|||||||||||
|
|||||||||||
#aprs
#aprs
Paul Noa
I have just completed a new and clean install of NWDR15 due to some strange IPtable issues which seem to be resolved now.
Attached are outputs from commands used in VERIFY_CONFIG.md It appears everything is working but I do not know enough to understand why no aprs.fi location? # I see this on the server T2PR:
Port Username Address Verified Up Last in Software Packets Tx Packets Rx Bytes Tx Bytes Rx Tx/Rx bytes/s OutQ MsgRcpts Filter
4580 KO4BCZ 174.227.144.238:3629 Yes 17m 28s Dire-Wolf 1.6 1 0/0/0 4044 145 0 / 0 0 0
# On APRS.fi Raw Packets:
2020-04-11 15:54:30 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAO,K4GDG-10::KO4BCZ :11 15:54:28 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0"<0x92>
aprs.fi · KO4BCZ · Log out
KO4BCZ was not found in the location database.
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
john.chabalko@...
Thanks Basil, what i was trying to use is provided by mDNS - which seems to work after initial setup but not during initial boot.
Last night i tried to do that with a couple of images and then gave up and plugged it into a TV where the IP address was displayed on the screen. Makes me think i missed something. Once i had the IP i was able to connect fine remotely and complete the setup after i connected it back to my radio. I thought this worked before but it's been a while since i've set up DRAWs. It does work correctly on a pi-star setup. I was going to do it via a wired connection and couldn't find my long ethernet cable - which i of course found right after i got it sorted out ;) 73 -john
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
John D. Hays Kingston, WA K7VE
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
You can also run the GUI through VNC to make the copy :)
On Fri, Apr 10, 2020 at 2:08 PM Basil Gunn <basil@...> wrote:
--
John D. Hays Kingston, WA K7VE
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
If you are running a monitor with your RPi, Gayland's suggestion of
toggle quoted messageShow quoted text
using the Raspbian 'SD Card Copier' is by far the easiest. It even resizes to accommodate the size of the target mSD card. Nice. /Basil n7nix Gayland Gump <kg7gcf@gmail.com> writes:
On your pi under Raspberry Menu/Accessories/SD Card Copier assuming that
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
Ed Bloom, KD9FRQ
Thank you.
During my WFH lunch hour, I was able to successfully use that method and copy the SD card that was used to boot the Pi.
I swapped the cards and the Pi booted as expected.
Now...…………..to get the extra 2m antennas up.
Ed Bloom, KD9FRQ
ewbloom@... Sent from Webmail access
-----Original Message-----
From: John D Hays - K7VE <john@...> To: udrc <udrc@nw-digital-radio.groups.io> Sent: Fri, Apr 10, 2020 1:03 pm Subject: Re: [draws and udrc] Backups and Updates The method Gayland provided runs directly on the Pi with a GUI enabled. You need to attach an SD Card Reader/Writer
On Fri, Apr 10, 2020 at 9:57 AM Basil Gunn <basil@...> wrote:
John D. Hays
Kingston, WA K7VE
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
john.chabalko@gmail.com writes:
Thanks Basil, i followed your advice last night and went ahead with aYes. I need to make a new image that updates all the packages. I started it kind of late and just let it run into the night.Sure. This works fine as the DRAWS/UDRC driver is now part of mainline Linux There are a couple of wonky things in the setup instructions (To be expected until you do a reboot. * I was able to use a wpa_supplicant.conf and to enable ssh on the sdssh pi@<ip_address_of_pi> Works from first boot with an Ethernet cable If you want to use a machine host name then: * Add an entry to /etc/hosts ie. <ip_address_of_pi> hactar hactar.localnet * Since the ip address comes from a DHCP server this address will last until you have a power failure or reboot your router. * To change you RPi to have a fixed ip address on your Ethernet device only. * look at your router config to see where the DHCP range starts. * Run fixed_ip.sh script to change ip address of your RPi. Usage: fixed_ip.sh [-l][-s][-w][-y][-d][-h] last_ip_octet or complete ip address Default to setting a static ip address -y --dhcp set Ethernet device to use DHCP -l --link show all devices that have link -s --show show all devices with ip4 addresses -w --wifi set wifi address -d --debug set debug mode, will not change any files -h display this message I don't see an updated hostname in the setup doc?? run hostname from a console prompt. and that's what it used to be called from my notes. ITo find ip address of a headless RPi * Look in the dhcp table of your router * Run the following command from another (Linux) machine. - This will port knock the SSH port number on your subnet. - requires the root ip address of your subnet. nmap -p 22 --open -sV <first_3_octets_of_subnet>.* -Pn ie. nmap -p 22 --open -sV 10.0.42.* -Pn Thanks for your help - here's the current state of my OS and applications, and everything's working great with radio control and audio routing.
|
|||||||||||
|
|||||||||||
Re: Backups and Updates
The method Gayland provided runs directly on the Pi with a GUI enabled. You need to attach an SD Card Reader/Writer
On Fri, Apr 10, 2020 at 9:57 AM Basil Gunn <basil@...> wrote:
--
John D. Hays Kingston, WA K7VE
|
|||||||||||
|
|||||||||||
I ended up renaming the draws-manager folder to draws-manager-old I used Git to clone the latest version and the following steps. sudo git clone https://github.com/nwdigitalradio/draws-manager.git cd draws-manager sudo cp draws-manager.service /lib/systemd/system sudo cp draws-manager /etc/default cd webapp sudo /usr/bin/npm install #this will take a while sudo systemctl start draws-manager Now I am back in Business! -Kb5zur David
On Fri, Apr 10, 2020 at 12:17 PM Mike B <kf5dey@...> wrote: Could you list what actions you did that solved the problem or problems...in case someone else has the same or similar problem?
|
|||||||||||
|
|||||||||||
Mike B
Could you list what actions you did that solved the problem or problems...in case someone else has the same or similar problem?
|
|||||||||||
|
|||||||||||
I got it going. Thanks
On Sun, Apr 5, 2020, 6:17 PM John D Hays - K7VE <john@...> wrote:
|
|||||||||||
|