Sunday, November 17, 2024

Digital Network Update

 Digital Network Update-Nov2024



 

Current Available Services and Dashboards

FreeDMR       -       http://cjdmr.root.sx

MMDVM        -       http://cjmmdvm.root.sx/allmon2/link.php?nodes=502490

YSF PKAP2    -    https://register.ysfreflector.de/ (Search for ap2)

AP2CJ-R        -    Echolink node connected to multi-mode network

FreeDMR TG-410

TGIF TG-41033


 
Experimental services below shutdown till further notice- Update: Nov2024
M17-AP2        -    http://m17.pakhams.com:3000
DvSwitch       -    http://dvswitch.pakhams.com
XLXAP2         -    http://xlxap2.pakhams.com/
AP2ARS-R     -    Standalone 2m CG repeater Echolink (2012-2024)

Tuesday, May 14, 2024

HamRadio 3.0 updated

 The current experimental network now comprises of the following;


Click image to view in hires original size

Current Dashboards

FreeDMR    -    http://dmr.pakhams.com
MMDVM    -    http://mmdvm.pakhams.com/allmon2/link.php?nodes=502490 
YSF PKAP2 - https://register.ysfreflector.de/ (Serach for ap2)
AP2ARS-R - Echolink node connected to 2m Standalone CG Repeater
 
Update: Oct2024 - Experimental services below are now shutdown till further notice
M17-AP2    -    http://m17.pakhams.com:3000
DvSwitch    -    http://dvswitch.pakhams.com
ASL-PRV    -    http://asl.pakhams.com/allmon2/link.php?nodes=48092
XLXAP2     -    http://xlxap2.pakhams.com/



Thursday, October 26, 2023

Streaming from Allstarlink

Streaming from Allstarlink to Broadcastify using ezstrem

https://wiki.allstarlink.org/wiki/Stream_Node_Audio_to_Broadcastify

https://allstarlink.github.io/adv-topics/broadcastify/

 

 

Install Software and Packages

Log into your node and type the following commands.

sudo -s
cd /usr/src

git clone https://gitlab.xiph.org/xiph/ezstream.git
cd ezstream
git checkout master

wget https://gitlab.xiph.org/xiph/ezstream/uploads/ba768fa1349c65b60affd496cf4282ed/ezstream-1.0.2.patch

patch src/stream.c ezstream-1.0.2.patch

apt-get update
apt-get install check libshout-dev libtagc0-dev lame

./autogen.sh
./configure
make
make install 
 
 

Update rpt.conf

Edit /etc/asterisk/rpt.conf. Add the following line above duplex of the node that you want to broadcast.

outstreamcmd = /bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/local/bin/ezstream -qvc /etc/ezstream.xml
 

After these changes have been made, you will need to restart asterisk.

Streaming should start immediately after asterisk is restarted.

If you run into any problems, you can add 2>/tmp/ezstreamlog.txt to the end of the outstream command. This will write errors to /tmp/ezstreamlog.txt. 

 

 

This is the contents of ezstream.xml
You will need to add / edit your passwords etc. for Broadcastify. Place this file in the /etc directory.

<ezstream>
    <url>http://audio3.broadcastify.com:80/mountpoint-provided-by-broadcastify</url>
    <sourcepassword>feed-specific-password-not-same-as-website-login</sourcepassword>
    <format>MP3</format>
    <filename>stdin</filename>
    <stream_once>1</stream_once>
    <reconnect_tries>0</reconnect_tries>
    <svrinfoname>Description </svrinfoname>
    <svrinfourl>http://www.radioreference.com/</svrinfourl>
    <svrinfogenre>Amateur Radio</svrinfogenre>
    <svrinfodescription>Description</svrinfodescription>
    <svrinfobitrate>16</svrinfobitrate>
    <svrinfochannels>1</svrinfochannels>
    <svrinfosamplerate>22050</svrinfosamplerate>
    <svrinfopublic>1</svrinfopublic>
</ezstream> 
 
 

Embed Feed in a Web Page

To embed the feed insert this code into any Web page, and replace XXXX with your assigned domain key.

Don't have a domain key yet? Apply for one here.
 
 
73's

ASL custom message

 

Playing custom message on Allstar node

https://4x5mg.net/2017/01/16/playing-custom-message-allstar-node/

Some background

I wanted to play a custom message on my Allstar Node, not just the pre recorded files. I found an easy way to do it.

Make it.

Find your audio file and open it in your audio editor, I’m using GoldWave.

Save it.

Save your file in WAV format and choose “Set attributes” to save as PCM signed 16 bit, stereo.

Upload it.

Open WinSCP or any other software and connect to your Raspberry Pi. Upload your WAV file to /var/lib/asterisk/sounds

Convert it.

We will use SOX for converting. Open PuTTY and connect to the Raspberry Pi, Change directory to “/var/lib/asterisk/sounds” and enter this command:

sox YOURFILENAME.wav -r 8000 -c 1 YOURFILENAME.gsm

Now we should have a new file with GSM extension.
All we have to do now is to restart Asterisk by calling astres.sh script.

Now we can test it on Asterisk by entering to the CLI:
asterisk -r
rpt playback 12345 YOURFILENAME

Replace 12345 with your node number.
Please note that you don’t need to add extension after your file’s name.If you want to play it via CRON on scheduled time or just play it outside of the CLI just use:

asterisk -r -x "rpt playback 12345 YOURFILENAME"

73!

Wednesday, October 18, 2023

HamRadio 2.0

HAM RADIO 2.0 

 

Technology is ever evolving and keeping up with them is indeed a daunting task. Have been involved in software defined radio protocols, M17 took the spotlight recently. M17 is developing a new digital radio protocol for data and voice, made by and for amateur radio operators.

M17 protocol voice mode uses the free and open Codec 2 voice encoder. This means there are no patents, no royalties, and no licensing or legal barriers to scratch-building your own radio or modifying one you already own.

This freedom to build, understand, and innovate is core to amateur radio, but has been missing from the commercially available digital voice modes. This is part of why amateur radio digital voice modes have largely stagnated since the 1990s and we're almost wholly dependent on commercial products that aren't well designed for amateur radio users. M17 is about unlocking the capabilities that amateur radio hardware should already have.

Operation in the Digital Network

  • Follow all rules of your regulatory authority
  • Keep it classy
  • Identify your station by voice. Digital stations are used to quick- keying to break-in or check-in, this will not work. IDs in data streams are lost due to analog and cross-linked connections. Users on non- radio digital solutions tend to forget they’re on a radio system. Proper ID is required and accepted method is by voice.
  • Press PTT and pause for 2 seconds before speaking. This gives time for all links to become operational otherwise, the first couple words of the transmission will be lost.
  • Pause a minimum 3-5 seconds between transmissions. Stations cannot break-in when stations quickly key-up (or "tailgate") after the previous. System timeouts are caused when links are not given proper time to reset.

 

The addition of M17 to the already deployed digital experimental network, logical depiction as below - click images for original size/view


Running Virtually in a datacenter

PK-FreeDMR

PK-FreeDMR OB Links

ASL/MMDVM

M17-AP2 - PK-M17 Reflector

2m Feed @ Broadcastify

All Running


 

How to's on all coming soon!!

Friday, November 4, 2022

The Digital Divide

 

I am not going to discuss the politics of why there are so many networks, but it is clear that many people cannot come to terms with the fact that they exist. As a tech mind, albeit in a small way i find it both interesting and frustrating that the users of the various networks cannot get along.

There are many but have experimented with the following
1. Brandmeister
2. TGIF
3. FreeDMR


Moving from network to network, I have heard the following commentaries from both sides of the fence.

“I don’t go on the other network, I don’t like it.”, “the quality of the audio isn’t the same”, “I don’t like to do what I’m told and what talk groups to use”,”I can’t go to my own talk group and give it a name.”, “The server keeps going down”, “I can’t get a bridge to the other network”. “I’m not allowed to bridge to another network”…… and the list goes on.

You the user, have the right to go on to the network of your choice, subject to the available nodes. If you can’t, then get your own hot-spot or build your own repeater. The quality is typical of DMR, it is either typically DMR or it’s poor, and more often or not, it’s your own node that is the problem, or the proximity to it. For any network there has to be a protocol or there is anarchy. There is a center of activity and there is a method to move to a chat channel. If you like to have a private chat or a group channel, why do you have to give it a name, like you want your own domain and control something. I have a talk-group like that and it’s called 41033…No naming required, or you can use your own ID, or that of a repeater, all perfectly acceptable.

All servers have issues, and some more than others. They are not necessarily under our total control and subject to the wiles and vagaries of the internet and the data centers in which they are held.

Bridging networks introduces other issues that are far too technical to describe individually, but needless to say I have to ask the question “If you have access to a network in one domain by existing means, why do you have to complicate it by connecting two domains together?” I already know the answer. You just want control! You want to jealousy guard your own little empire, that has so little activity, you want to bridge back to where the main players are so giving your members a little more action than they have at the moment. Don’t play politics, play radio!

I'm just not keen on someone upstream deciding for me how to run my repeater. Brandmeister does when they want to, make life unpleasant for hotspots/repeaters that didn't want to follow an arbitrary set of rules as well as having one of the nastiest set of volunteers as admins in user support. DMR-MARC did, for a long time. If you didn't run a Mother /V\ repeater, and use their C-Bridge, you weren't getting on their network. Many of their repeater owners supposedly also actively blocked non-Motorola radios (although I'm not sure how you would do that). Hopefully it doesn't come to that.

Now having played first with HBLINK3 and built a server, HBLINK3, can be useful for independent and specialized groups, such as Radio Amateur Emergency Networks. The potential abuse exists where talk groups of different networks could be linked together if they appear in the same Bridge, on the same Master, and appear in the same context. The only permissible use for HBLINK3 on BrandMeister is by using OpenBridge, but only with permission of the networks involved, a permission that is not granted lightly. Unless you know what you are doing, leave it alone. Having tried it, I turned mine off – Permanently – I see no use for it.

Finally – if you want a choice of Networks and you have access to an MMDVM Hotspot, or you are an MMDVM Repeater keeper, then the way to go is the use of DMR-Gateway. Details for this are found in Github under G4KLX under the section for DMR-Gateway, with the Talk groups Rewrite Functions. The Gateway is best configured in Pi-Star Version 4.1.1 when run from a Raspberry Pi.

I disagree that imposing standards is "against everything in ham spirit". Think bandplans and this is AMATEUR RADIO. It's all about experimentation, and individual efforts. All of these repeaters are privately owned, some by individual hams, others by clubs, or groups. In my case, I linked to Brandmeister, then somebody at BM decides to start telling me how to operate my repeater/hotspot/bridge, and what timeslot a talkgroup must be on, hence the birth of another splinter group and another network. I control my repeater, but I'm not about to allow some group of other amateurs tell me how to run it as long as I am not creating any technical issues that to intentionally and why would anyone?

here comes firstly FreeDMR network, one of the most pleasant helpful HAM's I have come across and then the TGIF network. Wonderful HAMs indeed at both sides. With their support and help, I now run my own splinter network within Pakistan ;)



2mAnalog-->ASL-->DVSwitch------>FDMR
                       |__>Echolink     |__>TGIF



Few downside thoughts on DMR:

On paper DMR sounds great, or you watched a youtube video of some guy in Canada easily starting up a crystal clear QSO with some fella in France, that's awesome! The reality is actually more like spending $200+ to be dropped off in the middle of the woods without a compass or any sense of direction. There's no clear advantage or goal for new users interested in DMR unless they have friends or a local club that are active on DMR and they have talkgroups they know they want to access before even getting started. In an event of an emergency and/or a force majeure event disabling all IP network locally or globally, the reliance/dependency on the internet link of repeater/hotspot is one of the biggest drawback as it would leave the repeater in a local mode only and hotspots disconnected from anything.

Because of the above etc, I hesitate to recommend DMR when someone asks me about it. A friend sometime back came to me wanting me to program his new TYT and hotspot because he wanted to get in to DMR, but after seeing how much of a pain it can be he has pretty much lost interest before even playing on his new gear, not to mention the fact he has no idea what talkgroups he'd even want programmed to use over his hotspot.


some of you would definitely misread my intent here, I want to clarify that I'm not a DMR hater nor am I trying to get others to hate DMR. I think I've made it sufficiently clear that I've programmed plenty of DMR gear, I am a current DMR user, and that I simply wanted to share my experience and thoughts on it so far and have a discussion about the things I think are stifling its growth and keeping it from being a much better and easier to use mode.


73's


Online Scams !!



ATTENTION: I have provided some of the technical facts in the following post for any sane mind to actually question the businesses running such schemes, to dive in deep, please feel free to do it your self if you have the expertise.

recently I had an experience to getting to know online working platforms that claim to give very high ROI on little investments. Digging in deep how the business was portrayed to work I quickly realized that there are ponzi / pyramid schemes in the digital format with a touch of MLM (Multi Level Marketing) all boxed in one platform, a similar to the Double Shah scheme ran in Pakistan https://en.wikipedia.org/wiki/Double_Shah

The essential difference between the two frauds is that a Ponzi scheme generally only requires investment in something from its victims, with promised returns at a later pay date. Pyramid schemes, unlike Ponzi schemes, usually offer a victim the opportunity to “make” money by recruiting more people into the scam.

  • Both pyramid schemes and Ponzi schemes involve unscrupulous investors taking advantage of unsuspecting individuals by promising them extraordinary returns in exchange for their money.
  • With Ponzi schemes, investors give money to a portfolio manager. Then, when they want their money back, they are paid out with the incoming funds contributed by later investors.
  • With a pyramid scheme, the initial schemer recruits other investors who in turn recruit other investors and so on. Late-joining investors pay the person who recruited them for the right to participate or perhaps sell a certain product.

 



These are some of the hallmarks of a pyramid scheme:

  • Emphasis on recruiting. If a program focuses solely on recruiting others to join the program for a fee, it is likely a pyramid scheme. Be skeptical if you will receive more compensation for recruiting others than for product sales.
  • No genuine product or service is sold.  Exercise caution if what is being sold as part of the business is hard to value, like so-called “tech” services or products such as mass-licensed e-books or online advertising on little-used websites. Some fraudsters choose fancy-sounding “products” to make it harder to prove the company is a bogus pyramid scheme.    
  • Promises of high returns in a short time period. Be skeptical of promises of fast cash – it could mean that commissions are being paid out of money from new recruits rather than revenue generated by product sales.
  • Easy money or passive income.  There is no such thing as a free lunch. If you are offered compensation in exchange for doing little work such as making payments, recruiting others, or placing online advertisements on obscure websites, you may be part of an illegal pyramid scheme.   
  • No demonstrated revenue from retail sales.  Ask to see documents, such as financial statements audited by a certified public accountant (CPA), showing that the company generates revenue from selling its products or services to people outside the program.  As a general rule, legitimate MLM companies derive revenue primarily from selling products, not from recruiting members.
  • Complex commission structure. Be concerned unless commissions are based on products or services that you or your recruits sell to people outside the program. If you do not understand how you will be compensated, be cautious.

 


 

All Pyramid Schemes Collapse

When fraudsters attempt to make money solely by recruiting new participants into a program, that is a pyramid scheme, and there is only one possible mathematical result – collapse. Imagine if one participant must find six other participants, who, in turn, must find six new recruits each. In only 11 layers of the “downline,” you would need more participants than the entire population of the United States to maintain the scheme. This infographic shows how all pyramid schemes are destined to collapse.

 

What I investigated in my little free time is as follows;

 

Scam running from richace.net / richace.com / richace.vip / rchace.com all collapsed and the scammers ran off with a lot of money by 31st Oct 2022. On 1st Nov 2022 the same scheme is now launched as gomemall.run and is also running as queentask.com










The similarity in all these scams is that all are running of alibaba cloud hosting protected by cloudflare




as well as running telegram groups with similar offerings and mechanism 




 

Why I say all is the same, looking at the code inspector, the coding is almost the same at the backend 




The above is in no way a through deepdive investigation evidences but are enough for any sane logical mind to run far away from such businesses.



Saturday, March 5, 2022

Bridging the GAP !!

The first EchoLink server from Pakistan connecting the analog RF network to IP was put into production in 2012 and has been maintained for the last 10 years now. Over the last few years, addition to the network was done in form of adding ASL (AllStarLink) with MMDVM bridge to Brandmeister running on a Raspberry Pi3, moving from windows to linux infrastructure etc so that anyone with an analog RF would be able to communicate with anyone on Echolink and BM talkgroup.

Recently, the installation of DMR repeaters presented an opportunity to build a mesh network. Upon researching the technologies and how we would be able to achieve this (courtesy ke6yjc), a DMR Master Server was required. BM connectivity was dropped from the design for now as it requires OpenBridge connectivity from HBLink and associated approvals from BM thus the final design of integrating currently install infrastructure with the new was

 

 

Installed DUDE-Starx64 to test on windows 10.


 

Summary

Master Server 10.100.1.1
MASTER REPEATER – IP Address 10.0.0.1, UDP port 50000
DMRLINK INSTANCE  – PEERS INTO MASTER REPEATER1 AT 10.0.0.1 ON UDP PORT 50000
IPSC_BRIDGE INSTANCE  – RX UDP PORT 31000, TX UDP PORT 32000
HB_BRIDGE INSTANCE  – RX UDP PORT 32000, TX UDP PORT 31000
HBLINK INSTANCE 1 – PEERS INTO CJ_Mesh AT 10.100.1.1 ON UDP PORT 52000

REPEATER/IPSC <-> IPSC Gateway <-> Routing Gateway
 
IPSC_Bridge Configuration Summary
DMRLINK (repeater.cfg) IPSC_Bridge (bridge_repeater.cfg)
IP Address: <blank> gateway = 127.0.0.1
PORT: 50000 fromGatewayPort = 31000
MASTER_IP: 10.0.0.1 toGatewayPort = 32000
MASTER_PORT: 50000
HB_Bridge Configuration Summary
HBLINK (bridge_repeater.cfg) HB_Bridge (repeater.cfg)
gateway = 127.0.0.1 PORT: 51000
fromGatewayPort = 32000 MASTER_IP: 10.100.1.1
toGatewayPort = 31000 MASTER_PORT: 52000 
HBLink Configuration Summary
HBLINK (hblink.cfg)             
[AP2ARS_MASTER]
MODE: MASTER
ENABLED: True
REPEAT: True
MAX_PEERS: 10
IP:
PORT: 52000 
[BRIDGE_TS2]
MODE: PEER
ENABLED: True
LOOSE: False
IP:
PORT: 52001
MASTER_IP: 10.100.1.1
MASTER_PORT: 52000 
HBlink rules.py
BRIDGES = {
'CJ_MESH': [
{'SYSTEM': 'AP2ARS_MASTER', 'TS': 1, 'TGID': 1, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [2,], 'OFF': [9,10], 'RESET': []},
{'SYSTEM': 'BRIDGE_TS2', 'TS': 1, 'TGID': 410331, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [2,], 'OFF': [9,10], 'RESET': []},

]
}

DVswitch MMDVM_Bridge.ini Summary
[DMR Network]
Enable=1
Address=10.100.1.1
Port=52000
Jitter=750
Local=62032
Password=passw0rd
Slot1=0
Slot2=1
Debug=1
    
Dude-Star on windows 10. In C:\Users\HP\AppData\Local\DroidStar\DMRHosts.txt added

######################################################################################################
# Name                DMR-ID    IP/Hostname                Password    Port #
######################################################################################################
1DMR_PAKHAMS_COM        0000    10.100.1.1                 passw0rd    52000
######################################################################################################

Our goal was to take our IPSC traffic and convert it over to HBP (HomeBrew Protocol) and then route everything over to the Routing Gateway. Mission Accomplished I would say!
 
 

Friday, December 13, 2019

Digi Services Status

Services Deployed and maintained;

Echolink Nodes

AP2ARS ALLSTARLINK NODE 50249 with DMR Gateway

DMR BM Talkgroup 410331
Hose line (Live audio): https://hose.brandmeister.network/group/410331/

 

50249

AP2CJ AllStarLink NODE 48092

48092

 
Refresh page to get updated status