[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linrad] Linrad + MAP65 "How to ...Guide"



Hi Edward, Jeff, Joe, Leif and all

Here the guide I prepare based on my experience with Joe and Leif in the EME
conference in Florence / Italy.

The guide I prepare is based on the fact I'm running Linrad under Windows XP
Service pack 3. Linrad v2.47 and MAP65 BETA 0.9

SCENARIO A:

GOAL: Run Linrad and MAP65 on the same computer
ADVANTAGES: Less hardware on the table, time sync easy for both programs.
DISADVANTAGES: You need a more power computer; you need big monitor or two
monitors. I start with 756MB RAM up to 2GB RAM and I found both programs run
well with at least 1500MB RAM, with less run but some decode cycles are
overlap within the next minute and I don't like that.

COMPUTER: CORE DUO Dual core 3.0GHz with 2GB RAM with Windows XP Service
pack 3

STEP 1) Modified Linrad source to send data to the localhost IP address
127.0.0.1

- Download the source code of Linrad, save and expand in a temp folder like
c:\Linrad\Linrad_source
- Browse the file network.c and open with WordPad or other editor BUT not
with Notepad, with Notepad the file is a chaos of characters.
- Browse inside the file until you arrive to the section:

// ********************  addresses and ports  ***************************
// These defininitions should be in agreement with current rules.
#define NET_MULTI_MINPORT 50000
#define NET_MULTI_MAXPORT 65000
#define CONNPORT 49812   // This is outside the range ..MINPORT to ..MAXPORT
char netsend_rx_multi_group[]={"239.255.0.00"};
char netrec_rx_multi_group[]={"239.255.0.00"};
// ***********************************************************************

- Change the IP address on the line
char netsend_rx_multi_group[]={"239.255.0.00"};
to 127.0.0.1 (this is the localhost IP address by facto in Networking)

- The "address and port" need to looks like:

// ********************  addresses and ports  ***************************
// These defininitions should be in agreement with current rules.
#define NET_MULTI_MINPORT 50000
#define NET_MULTI_MAXPORT 65000
#define CONNPORT 49812   // This is outside the range ..MINPORT to ..MAXPORT
char netsend_rx_multi_group[]={"127.0.0.1"};
char netrec_rx_multi_group[]={"239.255.0.00"};
// ***********************************************************************

- Close and save the file.

STEP 2) COMPILATE the new source with the modification to send data to the
localhost:

- Download MinGW 3.01 from Linrad homepage and install, accept the default
folder c:\MinGW
- Download nasm from Linrad homepage, extract and copy the nasm.exe file
into the c:\MinGW\bin directory.
- Open the cmd (click start and in run type "cmd")
- Move to the properly directory were the Linrad source is
c:\Linrad\Linrad_source
-Type: configure, when finish type make
- Now your compilation is finish, from the c:\Linrad\Linrad_source copy the
files errors.lir, help.lir and Linrad.exe into your new Linrad directory
like c:\Linrad_localhost , run Linrad.exe as usual and setup your program.

ADDITIONAL STEPS:

- When you configure network under Linrad you will see now the line were the
data is send to 127.0.0.1, you need to deactivate option 10 and activate
option 8, after that Linrad show the port 50004, exit, activate network with
T and save with W , run SSB with D and for sure now you are sending data to
the localhost. 
 - Press X and then change parameters, move to First backward FFT Version
and change from 0 (default) to 1. With that you are sending in 16bit format,
If you keep the default parameter MAP65 will show 60dB of noise but did not
work because he need to receive the data in 16bits. 
- Start MAP65 and wait at leas 2 minutes, the first 2 minutes is possible to
have some "RX No Data" or overlapping decoding (more than a minute) after 2
minutes both programs runs perfect.

SCENARIO B) 

GOAL: Run Linrad and MAP65 on the separate computers but sending data to a
specific IP address on the network (unicast)
ADVANTAGES: Spread the load in 2 computers, you can use your old PIII for
Linrad, separate working space.
DISADVANTAGES: More hardware on the table, time sync

COMPUTER 1 (Linrad): Dell Dimmension 8100 P4 1.8GHz with 1GB RAM + Windows
XP service pack 3

COMPUTER 2 (MAP65): CORE DUO Dual core 3.0 GHz + 2GB RAM with Windows XP
Service pack 3

STEP 1) Connect your computers into your network and check communication in
both directions, disable windows firewall or create and exception rule into
the firewall, because my network is behind a Firewall I disable the windows
firewall to avoid problems. The MAP65 need to have a static IP address
otherwise you will need to change in the setup of Linrad when the IP address
of the MAP65 host change, prefer use static IP's for both computers.

STEP 2) Modified Linrad source to send data to MAP65 computer. (Specific IP
for example 192.168.1.15):

- Download the source code of Linrad, save and expand in a temp folder like
c:\Linrad\Linrad_source
- Browse the file network.c and open with WordPad or other editor BUT not
with Notepad, with Notepad the file is a chaos of characters.
- Browse inside the file until you arrive to the section:

// ********************  addresses and ports  ***************************
// These defininitions should be in agreement with current rules.
#define NET_MULTI_MINPORT 50000
#define NET_MULTI_MAXPORT 65000
#define CONNPORT 49812   // This is outside the range ..MINPORT to ..MAXPORT
char netsend_rx_multi_group[]={"239.255.0.00"};
char netrec_rx_multi_group[]={"239.255.0.00"};
// ***********************************************************************

- Change the IP address on the line
char netsend_rx_multi_group[]={"239.255.0.00"};
to 192.168.1.15 (this is only and example, put here the IP address you have
in your MAP65 computer)

- The "address and port" need to looks like:

// ********************  addresses and ports  ***************************
// These defininitions should be in agreement with current rules.
#define NET_MULTI_MINPORT 50000
#define NET_MULTI_MAXPORT 65000
#define CONNPORT 49812   // This is outside the range ..MINPORT to ..MAXPORT
char netsend_rx_multi_group[]={"192.168.1.15"};
char netrec_rx_multi_group[]={"239.255.0.00"};
// ***********************************************************************

- Close and save the file.

STEP 3) COMPILATE the new source with the modification to send data to the
MAP65 computer

- Download MinGW 3.01 from Linrad homepage and install, accept the default
folder c:\MinGW
- Download nasm from Linrad homepage, extract and copy the nasm.exe file
into the c:\MinGW\bin directory.
- Open the cmd (click start and in run type "cmd")
- Move to the properly directory were the Linrad source is
c:\Linrad\Linrad_source
-Type: configure, when finish type make
- Now your compilation is finish, from the c:\Linrad\Linrad_source copy the
files errors.lir, help.lir and Linrad.exe into your new Linrad directory
like c:\Linrad_localhost, run Linrad.exe as usual and setup your program.

ADDITIONAL STEPS:

- When you configure network under Linrad you will see now the line were the
data is send to the IP you specified as the MAP65 computer IP address (in
our example 192.168.1.15) you need to deactivate option 10 and activate
option 8, after that Linrad show the port 50004, exit, activate network with
T and save with W, run SSB with D and for sure now you are sending data to
the IP address you specified (MAP65 computer) 
 - Press X and then change parameters, move to First backward FFT Version
and change from 0 (default) to 1. With that you are sending in 16bit format,
If you keep the default parameter MAP65 will show 60dB of noise but did not
work because he need to receive the data in 16bits. 
- Start MAP65  in the other computer and wait at leas 2 minutes, the first 2
minutes is possible to have some "RX No Data" or overlapping decoding (more
than a minute) after 2 minutes both programs runs perfect.

Well, everything described here works in Florence with the assistance of Joe
and Leif and I repeat this configuration at home and in our Club HB9Q, will
be nice if people report how was going on with that.

LAST POINT: When I modified the file network.c I introduce the IP address
192.168.1.222, this IP was the IP in my MAP65 host, well when I run Linrad
after compilation the network configuration show 192.168.1.0 and with the
option 2 I was able to change only up to IP 15, no more, I select 15 to have
192.168.1.15 and then modified the static IP in MAP65 from 222 to 15, after
that works nice. 

To Leif: would be nice to have the chance to select and IP from 1 to 253 and
not only 15 IP's, to be more flexible, but I don't know were I can change
that.

Best regards

Alex Artieda
HB9DRI OA4CRK HK3TAS




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Linrad" group.
To post to this group, send email to linrad@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to linrad+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/linrad?hl=en
-~----------~----~----~----~------~----~------~--~---

LINRADDARNIL