Category Archives: General

WIFI compartida: APN de MasMovil per Android

Després de diverses proves, he trobat la manera de configurar l’APN de MasMovil perquè funcionin correctament les dades i també la connexió compartida via WIFI.

Heu de crear un nou APN amb la següent configuració:

 

Nom: MASMOVIL

APN: masdatos

Nom Usuari: mas

Password: mas

MCC: 214

MNC: 03

Tipus d’autentificació: PAP

Tipus APN: default,dun

Protocol APN: IPv4

Protocol Itenerància: IPv4

Tipus MVNO: IMSI

Valor MVNO: 21403x

Local and remote YSF list, modification for YSFHostsupdate.sh

Hello to all.

Recently, i needed a local YSF list for future possible internal YSF network (or backup directory), and make  compatible via radio with the actual YSF Registry Directory.

Jonathan, G4KLX, has commented to me, via twitter, modify the hosts update script.

For this, i tried modify the actual script YSFReflectorupdate.sh and others changes.

1. Change file name YSFHosts.txt to YSFHosts.lst

2. Create a file named YSFhosts.local

3. Modify the file YSFHostsupdate.sh, similar to this:

#! /bin/bash

################################################
#
# YSFHostsupdate.sh
#
# Copyright (C) 2016 by Tony Corbett G0WFV
# Adapted to YSFHosts by Paul Nannery KC2VRJ on 6/28/2016 with all crdeit
# to G0WFV for the orignal script.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
################################################
#
# On a Linux based system, such as a Raspberry Pi, this script will perform all
# the steps required to maintain the YSFHosts.txt (or similar) file for you.
#
# It is designed to run from crontab and will download the YSFHosts from the
# master ysfreflector.de database and optionally keep a backup of previously
# created files for you.
#
# It will also prune the number of backup files according to a value specified
# by you in the configuration below.
#
# To install in root’s crontab use the command …
#
# sudo crontab -e
#
# … and add the following line to the bottom of the file …
#
# 0 0 * * * /path/to/script/YSFHostsupdate.sh 1>/dev/null 2>&1
#
# … where /path/to/script/ should be replaced by the path to this script.
#
###############################################
#
# CONFIGURATION
#
# Full path to YSFHosts
YSFHOSTS=/path/to/script/YSFHosts.txt
YSFHOSTSLIST=/path/to/script/YSFHosts.lst
YSFHOSTSLOCAL=/path/to/script/YSFHosts.local

# How many YSFHosts files do you want backed up (0 = do not keep backups)
YSFHOSTSFILEBACKUP=0

###############################################
#
# Do not edit below here
#
###############################################

# Check we are root
if [ “$(id -u)” != “0” ]
then
echo “This script must be run as root” 1>&2
exit 1
fi

# Create backup of old file
if [ ${YSFHOSTSFILEBACKUP} -ne 0 ]
then
cp ${YSFHOSTS} ${YSFHOSTS}.$(date +%d%m%y)
fi

# Prune backups
BACKUPCOUNT=$(ls ${YSFHOSTS}.* | wc -l)
BACKUPSTODELETE=$(expr ${BACKUPCOUNT} – ${YSFHOSTSFILEBACKUP})

if [ ${BACKUPCOUNT} -gt ${YSFHOSTSFILEBACKUP} ]
then
for f in $(ls -tr ${YSFHOSTS}.* | head -${BACKUPSTODELETE})
do
rm -f $f
done
fi

# Generate YSFHosts.txt file
curl https://register.ysfreflector.de/export_csv.php > ${YSFHOSTSLIST}
cat ${YSFHOSTSLOCAL} ${YSFHOSTSLIST} > ${YSFHOSTS}
exit 0

4. For activate the YSFHostsupdate.sh script, execute on terminal:

sudo crontab -e

5. Edit the content and add a line similar to this and save:

0/5 * * * * sudo /path/to/script/YSFHostsupdate.sh 1>/dev/null 2>&1

(This permits a refresh the Directory list, between 5 minutes)

6. Change this line of YSFGateway.ini and save:

ReloadTime=5

 

Content of my YSFHosts.local

96663;BM TG-21468;BM TG-21468;85.214.119.76;42108;002

04523;CT CATALANA;C4FM Catalunya;85.214.119.76;42000;005

99998;YSF LOCAL;Local Example;192.168.1.55;42000;001

On start YSFHostsupdate.sh, create a YSFHosts.lst file with the actual YSF Register Directory. Late append the content of YSFHosts.local to the fresh YSFHosts.lst list, saving all into the needed file YSFHosts.txt.

If exists duplicates, no problem, only appears duplicate.

The local reflectors only are listed on the Yaesu’s radios when a DX is sent.

The local reflectors are NOT added on the actual YSF Reflector Directory and make no accesible from the rest of the internet network, only via radio.

The possible use for this script modified are make a local YSF network with 192.’s ip’s via VPN or have a friendly continuous usable YSF Reflector list for backup if the YSF Register Directory falloff or our personal Dashboard have a error.

 

Try and enjoy!!!

73’s.

Sergi, EA3HKB.

Conferencia sobre el sistema digital DMR

Nuestro compañero EA2CQ, Íñigo nos brinda una completa y entendedora conferencia  sobre el sistema de comunicaciones digital DMR, orientado al uso para radioaficionados y en especial a la red Brandmeister.
Exposicion realizada durante el transcurso de la Fira Mercaham 2017

Os comparto dos videos realizados por EA3ANS, Quim:

Use OpenSpot MMDVM protocol for DMR+ or Brandmeister

The new firmware v.85 for OpenSpot adds as new, the MMDVM network protocol.

This connector is intended for DMR+ network, but works also in Brandmeister.

For connect to DMR+ network with MMDVM protocol:

1- Type Connectors menu.

2- On Edit connector, select Homebrew/MMDVM connector.

3- Type Switch to selected.

4- On DMR/Homebrew/MMDVM, mark MMDVM option on the Protocol section.

5- On DMR/Homebrew/MMDVM, choose our favorite master server in the Server section.

6- Add our callsign and personal DMR id,

7- If need, add a reflector number or TG number for autoconnect in start.

8- Type Save.

9- That’s all !!

openspot-mmdvm

For connect to Brandmeister network with MMDVM protocol:

The web interface of OpenSpot is intended for use Homebrew protocol, but works also in MMDVM.

Try on this order:

1- Type Connectors menu.

2- On Edit connector, select Homebrew/MMDVM connector.

3- Type Switch to selected.

4- On bottom right of page mark Advanced mode option.

5- On DMR/Homebrew/MMDVM, mark Homebrew option on the Protocol section.

6- On DMR/Homebrew/MMDVM, choose our favorite master server in the Server section.

7- On DMR/Homebrew/MMDVM, change the port from 62030 to 62031.

8- Add our callsign and personal DMR id,

9- If need, add a reflector number or TG number for autoconnect in start.

10- Important !! On DMR/Homebrew/MMDVM, mark MMDVM option on the Protocol section.

11- Type Save.

12- That’s all !!

mmdvm-bm

Works also in HBLink’s servers????

Try…

73’s!

Sergi (EA3HKB)

Connect via internet our OpenSpot

Hello from Barcelona, Catalonia.
I discovered the methode for make direct connection to our OpenSpot web interface, via internet.
1- In the Settings/Network zone, change Ip Configuration Mode from DHCP to Static.

2- Type a configuration similar to this:

openspot

3- Type the SAVE button

4- In our internet router make a NAT bridge from a personal internet side TCP port, to a internal TCP 80 port, using the internal Static IP, wrote in the OpenSpot configuration, in my case, 192.168.1.4

5- Open our web browser and type the url:

http://our_internet_address:our_router_opened_port/openspot.html_gz#login

Example:

http://myweb.no-ip.org:12567/openspot.html_gz#login

6- And is all !!! Manage our OpenSpot via internet.

 

Important!!

At this moment, if use a address similar to this:

http://myweb.no-ip.org:12567

This NOT works, because in connection, the web interface of the OpenSpot change our internet IP to the internal IP, in my case 192.168.1.4 and lost the connection.

 

For LOCAL home network connection, use directly the OpenSpot address, in my case:

http://192.168.1.4

 

73’s to all!!!

Sergi. EA3HKB

 

1 2 3