update to MMDVM.README

pull/2/head
Tom Early 8 years ago
parent ffc4f038c2
commit fcccc1ae11

@ -15,7 +15,8 @@ system should work. It just needs a g++ compiler with version greater than 4.9.
3) cd into the MMDVMHost directory and compile: make 3) cd into the MMDVMHost directory and compile: make
If you're on a multicore system use: make -jx If you're on a multicore system use: make -jx
where x is the number of cores on you system (RPi x=4, Odroid XU4 x=8) where x is the number of processors on you system.
To tell how many processors you have: cat /cpu/info | grep processor | wc -l
4) Copy the ini file: cp MMDVM.ini MMDVM.qn 4) Copy the ini file: cp MMDVM.ini MMDVM.qn
@ -26,7 +27,7 @@ system should work. It just needs a g++ compiler with version greater than 4.9.
D-Star (at least for now). Very important: Set the [D-Star] Module. For UHF D-Star (at least for now). Very important: Set the [D-Star] Module. For UHF
use B and for VHF use C. use B and for VHF use C.
6) Start it: ./MMDVMHost MMDVM.qn 6) Let's test it! Start it: ./MMDVMHost MMDVM.qn
7) Key your radio and see if the MMDVMHost responds with an acknowledgement. Then 7) Key your radio and see if the MMDVMHost responds with an acknowledgement. Then
you'll know that everything on the MMDVM side is fine. you'll know that everything on the MMDVM side is fine.
@ -46,8 +47,10 @@ system should work. It just needs a g++ compiler with version greater than 4.9.
11) Then compile: make 11) Then compile: make
don't forget the -j option! don't forget the -j option!
12) You need a configuration file for QnetGateway. The simplest config file is: 12) You need a configuration file called qn.cfg for QnetGateway. The simplest config
file is:
#
ircddb = { ircddb = {
logon = "YOUR CALLSIGN" logon = "YOUR CALLSIGN"
} }
@ -62,24 +65,30 @@ system should work. It just needs a g++ compiler with version greater than 4.9.
admin = [ "AA0AAA" , "BB1BBB" , "CC3CCC" ] admin = [ "AA0AAA" , "BB1BBB" , "CC3CCC" ]
} }
where x is the lowercase module you specified in the MMDVM.qn file. Use B and b where x is the lowercase module you specified in the MMDVM.qn file. Use a for A,
or C and c. Don't mix them up! You can add more stuff to the gn.cfg file. Please b and B or c and C. Don't mix them up! You can add more stuff to the gn.cfg file.
see the qn.everything.cfg example. Please see the qn.everything.cfg example. By convention, you should use "a" for a
23cm repeater, "b" for 70cm and "c" for 2M.
Only callsigns in the admin list can execute scripts. Two scripts are include: What's with the link.admin paramter? Only callsigns in the admin list can execute
scripts. Two scripts are include:
YR = _ _ _ _ _ R X will reboot you system, and YR = _ _ _ _ _ R X will reboot you system, and
YR = _ _ _ _ _ H X will halt your system (never unplug a running computer!) YR = _ _ _ _ _ H X will halt your system (never unplug a running computer!)
See the CONFIGURING file for info on how to add your own scripts.
13) You need a gwys.txt file for all the reflectors: ./reflist.sh 13) You need a gwys.txt file for all the reflectors: ./reflist.sh
This will download a format your reflect list. If you find you can no longer
connect to a reflector, it may be because its IP address has changed.
14) Install and start the three QnetGateway services: sudo make install 14) Install and start the three QnetGateway services: sudo make install
Now it's time to go back to the MMDVMHost... Now it's time to go back to the MMDVMHost...
15) Start the MMDVM service: sudo make installmmdvm 15) Start the MMDVM service: sudo make installmmdvm
You should be up and running now! Congratulations! <Fireworks!>
16) You should be up and running! You can see the log of any of the 4 services that 16) You can see the log of any of the 4 services that make up the QnetGateway +
make up the QnetGateway + MMDVMHost system: MMDVMHost system:
sudo journalctl -u qngateway -f sudo journalctl -u qngateway -f
sudo journalctl -u qnlink -f sudo journalctl -u qnlink -f
sudo journalctl -u qnrelay -f sudo journalctl -u qnrelay -f

@ -318,7 +318,6 @@ static void RptrAckThread(char *arg)
unsigned char buf[56]; unsigned char buf[56];
unsigned int aseed; unsigned int aseed;
time_t tnow = 0; time_t tnow = 0;
//unsigned char silence[12] = { 0x9E, 0x8D, 0x32, 0x88, 0x26, 0x1A, 0x3F, 0x61, 0xE8, 0x55, 0x2D, 0x16 };
unsigned char silence[12] = { 0x9E, 0x8D, 0x32, 0x88, 0x26, 0x1A, 0x3F, 0x61, 0xE8, 0x16, 0x29, 0xf5 }; unsigned char silence[12] = { 0x9E, 0x8D, 0x32, 0x88, 0x26, 0x1A, 0x3F, 0x61, 0xE8, 0x16, 0x29, 0xf5 };
struct sigaction act; struct sigaction act;
@ -432,9 +431,6 @@ static void RptrAckThread(char *arg)
break; break;
case 9: case 9:
buf[14] |= 0x40; buf[14] |= 0x40;
//buf[24] = 0x70;
//buf[25] = 0x4f;
//buf[26] = 0x93;
buf[24] = 0x16; buf[24] = 0x16;
buf[25] = 0x29; buf[25] = 0x29;
buf[26] = 0xf5; buf[26] = 0xf5;

Loading…
Cancel
Save

Powered by TurnKey Linux.