Friday, July 1, 2016

OpenWebRX with KiwiSDR covering the whole HF band 0 -30Mhz is now up and running in South Africa

OpenWebRX SDR covering the whole HF band 0 - 30Mhz  is now up and running in South Africa

This Web based SDR http://zr6aic.giga.co.za:8073 is using the new KiwiSDR Hardware running on Beagle bone.

KiwiSDR using OpenWebRX running on Beagle.
This Web based SDR is covering the Whole HF band 0- 30Mhz. here is the link go and check it out.

Here is the list of receivers around the world using the OpenWebRx platform.

http://sdr.hu/
Here is the list of OpenWebRX servers around the world.

http://sdr.hu/

The KiwiSDR will soon be available from Giga Technology. http://www.giga.co.za


OpenWebRX with KiwiSDR covering the whole HF band 0 -30Mhz is now up and running in South Africa

OpenWebRX SDR covering the whole HF band 0 -30Mhz  is now up and running in South Africa

This Web based SDR http://zr6aic.giga.co.za:8073 is using the new KiwiSDR Hardware running on Beagle bone.

KiwiSDR using OpenWebRX running on Beagle.
This Web based SDR is covering the Whole HF band 0- 30Mhz. here is the link go and check it out.

Here is the list of receivers around the world using the OpenWebRx platform.

http://sdr.hu/
Here is the list of OpenWebRX servers around the world.

http://sdr.hu/

The KiwiSDR will soon be available from Giga Technology. http://www.giga.co.za


Sunday, June 26, 2016

How setup your NWT Spectrum Analyzer on Linux. (Ubuntu)

How setup your NWT Spectrum Analyzer on Linux. (Ubuntu).



NWT70 in picture.

I got my Spectrum Analyzer and here are the steps I use to install and configure it on my Linux (Ubuntu) laptop.

Download the software here. http://www.dl4jal.eu/  link to the file http://www.dl4jal.eu/linnwt4_V4_11_10.tar.gz

Copy the file to your favorite directory
mkdir nwt
cd nwt
cp /home/anton/Downloads/linnwt4_V4_11_10.tar.gz  ./
Unzip the file in the directory.
unzip linnwt4_V4_11_10.tar.gz
Check if the files has unziped
There should be a directory linnwt4_V4_11_10 and cd to it.
cd linnwt4_V4_11_10
Check if you have qmake installed
qmake -v
 You need vertion QT 4 + if you don't have it, install it.
sudo apt-get install build-essential
now install QT
sudo apt-get install gcc qt4-qmake libqt4-dev
now create a directory build inside the linnwt4_V4_11_10 directory
mkdir build
Change to the build directory
cd build
run the gmake command
qmake -qt4 ../
Then run the make command
make
Get coffee ;-) it takes 2 min
There should the be a new file in exsiting directory called linnwt.
Connect your spectrum analizer to your laptop USB connector.
then run the apllication linnwt
sudo ./linnwt
mmmmm, its German!
no problem, run it with this parameter to get it in Englesh
sudo ./linnwt ../app_en.qm

USB device error could not find your NWT device.
So how do I identify my USB device and configure it in the software ?

Run the command tail -f /var/log/syslog


Then unplug your spectrum analyzer usb cable from laptop and reconnect it after 2 seconds to laptop.

There will be new text appearing in the terminal console. Something like this below.

Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537093] usb 2-1.2: USB disconnect, device number 5
Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537573] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537628] ftdi_sio 2-1.2:1.0: device disconnected
Jun 26 11:55:10 anton-SATELLITE-P755 bluetoothd[800]: Authentication attempt without agent
Jun 26 11:55:10 anton-SATELLITE-P755 bluetoothd[800]: Access denied: org.bluez.Error.Rejected
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.756112] usb 2-1.2: new full-speed USB device number 6 using ehci-pci
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855421] usb 2-1.2: New USB device found, idVendor=0403, idProduct=6001
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855430] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855434] usb 2-1.2: Product: FT232R USB UART
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855437] usb 2-1.2: Manufacturer: FTDI
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855440] usb 2-1.2: SerialNumber: AL01PTLP
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.858330] ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.858406] usb 2-1.2: Detected FT232RL
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.859036] usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
Jun 26 11:55:12 anton-SATELLITE-P755 mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jun 26 11:55:12 anton-SATELLITE-P755 mtp-probe: bus: 2, device: 6 was not an MTP device

You will be looking for ttyUSB?? in the text.

I my example, my usb was ttyUSB0

So now enter your ttyUSB?? in this usb port detail screen below. and then save your configeration.

Select the Settings > Options Menu from the pulldown menu in LinNWT4 application.

Change the value to /dev/ttyUSB?? Your port number found above.
In my case it was /dev/ttyUSB0

O.k., lets now setup a Frequency Spectrum scan.

Add frequency svan limits and then select a single or continuos scan option.

Connect your filter or circuit for testing on SMA terminals.

Then click on your Graphics display to see the return loss of you filter or circuit under test.

Scan display.
Hope this helps.
This spectrum Analizer is available from Giga Technology http://www.giga.co.za/ocart/index.php?route=product/product&product_id=226

Monday, February 22, 2016

Geostationary AMSAT Satellite (Phase 4) Spacecraft Covering the whole of Africa and Europe. (P4B)

I think this Satellite will open up one of the most exiting telecommunication capabilities for Africa and Europe.(P4A/B)

Coverage map
Phase 4 AMSAT planed

Qatar Satellite Company’s second satellite, Es’hailSat-2, will be placed in a geostationary orbit by a Space-X Falcon-9 rocket in December 2016. It will carry an AMSAT linear transponder as a secondary payload, giving Radio Amateurs access to a geostationary satellite for the first time.

Es’hailSat-2 will be “parked” 35 786 km above the equator at 25.5°East, nearly due North from Pretoria and Johannesburg (which are at 28°E).

Planned Frequency.

This satellite will have two linear transponders. (250 Khz and 8Mhz wide)
Narrowband transponder:
Uplinks: 2400.050 - 2400.300 MHz modes SSB and CW. 5 Watt uplink power,
Downlinks: 10489.550 - 10489.800 centre 10 489.675 MHz. Vertical polarization.

Wideband transponder:
Uplinks: 2401.500 - 2409.500 MHz
Downlinks: 10491.000 -10499.000 MHz 

It will be so nice to have fixed antennas mounted on mast pointing to the satellite having continuous communication to any where in Africa and Europe. HI ;-) ;-)

Will have to start looking for some equipment and antennas for this one.

Here is a list of Equipment that should work for the P4A satellite.

X-Band 10 GHz Downlink:

HailSat-2 Downlink configuration.


  • 89 cm dishes in rainy areas at EOC like Brazil or Thailand.
  • 60 cm around coverage peak,
  • 75 cm dishes at peak -2dB.
Narow Band : linear vertical polarisation.
  • Wide Band: linear horizontal polarisation.



S-Band 2.4 GHz Narrow Band-Uplink:


  • Narrow band modes like SSB, CW
  • 5W nominal Uplink power (22.5 dBi antenna gain, 75cm dish)
  • RHCP polarisation

S-Band 2.4 GHz Wide Band-Uplink (DATV):


  • Wide band modes, DVB-S2
  • Peak EIRP of 53 dBW (2.4m dish and 100W) required
  • RHCP polarisation

Azimuth and Elevation details for Johannesburg South Africa.

Azimuth and Elevation from Johannesburg


More information http://amsat-uk.org/2015/07/03/phase-4-spacecraft-frequencies/
and here http://www.itu.int/en/ITU-R/space/workshops/2015-prague-small-sat/Presentations/Eshail-2.pdf

Thursday, July 16, 2015

What can I do with the TP-Link TL-WR703N router? (APRS, SDR)

What can I do with the TP-Link TL-WR703N router? (APRS, SDR)



Basically this device is meant to be a little 3g travel router. You can plug in a 3g USB adapter and share that Internet connection to multiple devices over WIFI. It also supports Ethernet. It runs a Linux operating system so this opens up lost of Amateur Radio opportunities. So for $24 you can get a 400mhz Linux computer, with Ethernet, Wifi and USB ports and several GPIO pins.
This router is available from http://www.giga.co.za/ocart/index.php?route=product/product&path=99&product_id=150

1) SDR
Using a RTL-SDR dongle on TL-WR703n you can listing to Amateur radio frequencies.
If you’re running OpenWrt Barrier Breaker (i.e. trunk) you can install librtlsdr SDR dongle labraries
Here is the pre compiled applications
https://steve-m.de/projects/rtl-sdr/openwrt/packages/

2) APRS
This unit can be used to do APRS with external GPS unit.
More info how to make this router a (APRS) Igate go  to http://www.aprs4r.org/cgi-bin/trac.cgi/wiki/OpenWrtAPRS4RInstallation
The router is well documented http://wiki.openwrt.org/toh/tp-link/tl-wr703n/pcb

Thursday, June 11, 2015

Decoding DMR (mototurbo) from webSDR http://zr6aic.giga.co.za:8902 using DSDPlus 1.7 and VB-cables on Windows 7

Decoding DMR (mototurbo) from webSDR http://zr6aic.giga.co.za:8902 using DSDPlus 1.7 and VB-cables on Windows 7


Screenshot of working DMR
1) Install VB-cable from http://vb-audio.pagesperso-orange.fr/Cable/index.htm
3) Create a start_dsdplus.bat in the directory where you unziped the DSDPlus1p074.zip zip file.
4) For now enter the following in the bat file DSDPlus.EXE -i1 -o2 -fr
5) Set the playback device as follows making the VB-Cable the default device and Speaker just ready.




6) Set the recording settings as follows.



7) In the Recording tab set the VB-Cable as default device and Stereo Mix ready



8) Set the sound levels as follows.
VB-Cable level about 10% and Speaker level.


9) Volume settings
Volume Settings.
10) Now run the start_dsdplus.bat file that you created in step 3 and check that the numbers correspond to the red in the pictures below.
 i = Audio input to DSDPlus and o = Audio Output from DSDPlus
10.1) Input to DSPPlus must be from VB-Cable and not any other device (Stereo mixer in my case).
10.2) Output must go to Speakers in my case to 2.
10.3) Your Audio input and output configuration should be different to the one I have.
10.4) You will then need to change it in the start_dsdplus.bat file and then re run start_dsdplus.bat file. and refresh websdr website (CTRL F5)
Then re-tune websdr DMR frequency to 438.225Mhz FM
11) If your Audio Input and Output configuration is correct you will have to just set your audio levels coming from webSDR and going to speaker.

DSDPlus command shell details

12) Then go to my WEBsdr in your Chrome or Firefox  browser http://zr6aic.giga.co.za:8902


Select 70cm_dmr band and tune frequency to 438210.88 Fm
13) There is small burst of data with now sound wait for the long bursts of data witch is normally conversation. I think the small burst is just data and you will not hear anything.
(Sound level to DSDPlus input should not be to strong)

Hope this help.

I will add some videos tomorrow.


video
Video 1





Monday, June 1, 2015

How to Decode DMR-MARK (mototurbo) with SDRsharp and rtl dongle on Windows 7

How to Decode DMR-MARK (mototurbo) with SDRSharp and RTL dongle on Windows 7

DSD decoding with SDRSharp and RTL dongle.


I found this website with very nice plugins for your SDR# software
http://rtl-sdr.ru/page/vse-dostupnye-na-etom-sajte-plaginy-s-kratkim-opisaniem (you can use this script to install all the plug-ins) http://rtl-sdr.ru/uploads/download/sdr-update.zip
Here is the list of plugins

  1. Audio Processor Displays range of audio signal contains 6 adjustable bandpass filters and customizable deemfazis filter.
  2. IF Processor Displays range IF signal to the demodulator, an asymmetric bandpass filter and a custom tracking notch filter.
  3. Base band Recorder Writes the entire IQ stream received from the tuner to a file, you can choose a folder to store the recordings, and there is a scheduler for recording time. Large buffer for recording flow with high sampling rate without any losses. It can be controlled from other plug-ins.
  4. IF Recorder Writes a stream of IQ intermediate frequency to a file, you can choose a folder to store the recordings, and there is a scheduler for recording time. It can be controlled from other plug-ins.
  5. Audio Recorder Writes the audio file. Ample opportunities to control the format of the output file (mono, stereo, bit rate, sample rate). Extensive records management (do not write in the absence of a signal, create new files when changing frequency, etc.). Customizable file and folder names.
  6. Decoder CTCSS squelch It displays the CTCSS tone in the presence of the signal and provides the squelch responds to set the tone.
  7. DCS Decoder Squelch Displays DCS codes in the presence of a signal and contains a squelch responsive to certain code or the presence of any code in the signal.
  8. AUX VFO Adds additional radio channels to SDR #. You can add more than one radio channel.
  9. DSD Interface The plug consists of three parts. The first - an additional audio output from the demodulator can be used to output the audio signal through a virtual audio cable to other programs (WXtoImage, DSD, etc.). The second - a graphical interface to configure and run a digital signal decoder DSDPlus. And the third - to automatically turn off the sound output SDR # when choosing a frequency with a digital signal.
  10. Time Shift It creates a memory buffer of up to several minutes. You can listen to the signals that have been broadcast and a present in the buffer. "All that is visible on the waterfall can be heard."
  11. Digital Audio Processor It contains audio bandpass filter squelch by the presence of an audio signal and a signal scrambler inversion spectrum.
  12. DDE Tracker + Scheduler Plug-in to communicate with the satellite tracking programs (Orbitron, WXTrack, SatPC32). When / companion care in the reception area is executed a list of commands for the satellite specified in the scheduler. It can control other plug-ins and run external programs.
  13. QPSK Demodulator Plug-in for QPSK demodulation signal from the Russian satellite Meteor-M2 in real time. The final signal may be recorded in a file or transmitted via TCP on special version LRPTDecoder for decoding in real time. It may interact with other plug-ins.
  14. TV The plugin displays the received PAL / SECAM TV signal. For receivers with a bandwidth of more than 7 MHz at the same time you can listen to the sound via the main radio SDR #. For rtl-sdr receivers need the modified file rtl-sdr.dll.
  15. Frequency Manager Modified standard frequencies Manager SDR #. Added scanner iterates through the selected frequency. Added Manage window manager and some other improvements.
  16. Frequency Scanner Fast scanner. It scans the specified frequency range. Saves frequency are not in the manager and activity time at these frequencies. It can scan multiple bands with different grid spacing, modulation bandwidth of the signal. There are modes of scanning all frequencies in the range, or only frequencies which are in the frequency or vice versa manager only frequencies that are not in the manager.
  17. MPX Output It displays the selected audio device MPX signal after WFM demodulator with sample rate conversion to 192 kHz for further processing in other programs (eg RDSSpy).
  18. Avia band 8.33 calculator Corrects manual input frequency range of air according to the standard steps for 8.33 kHz.
  19. IQ Correction This is analogous to the standard functions of SDR # IQ correction. For slower computers help save some CPU time. There is a separate mode for R820T tuners - removal of only a constant component correction IQ on these tuners are required.
  20. Audio Waterfall This plug-in created by Kiriyama. Adds SDR # waterfall displays the spectrum of the audio signal.21) Frequency LockThe function of this plugin is very simple, it blocks the frequency change settings in SDR #. Written at the request of the user to avoid accidental change of frequency of administration.

Here is a short description of the steps I took to install the SDRSharp plugins.
  1. Firstly you need to install the SDRSharp software. Here is a link how to do that http://giga.co.za/smf/index.php/topic,34.0.html
  2. Then Download the Plugin script from here. http://rtl-sdr.ru/uploads/download/sdr-update.zip
  3. Unzip the sdr-update,zip file in the directory where you have installed the SDRSharp.exe in step 1.
  4. Then unzip should create a directory sdr-update in the directory where the SDRsharp.exe file was unzipped.
  5. There should be 3 files in the sdr-update directory. (httpget.exe,setup.bat and unzip.exe) (dir)
  6. Make sure you have internet connection.
  7. Then run the setup.bat file in the directory.
  8. You will be asked some questions to override some installations and configurations, always say Y
  9. Download and unzip DSDPlus application in any directory of your choice for from here http://www.dsdplus.com/download/dsdplus/DSDPlus1p074.zip mite have to change version number if there is a newer one available.
  10. Create a start_dsdplus.bat file using Notepad  in the directory where you unzipped the DSDPlus1p074.zip zip file.
  11. For now enter the following in the bat file with Notepad DSDPlus.EXE -i1 -o2 -fr
  12. Set the playback device as follows making the VB-Cable the default device and Speaker just ready.
  13.  Set the recording settings as follows. (Set VB-Cable as default and Stereo Mixer as ready)
SET VB-Cable as default and Stereo Mixer as ready.

14) In the Recording tab set the VB-Cable as default device and Stereo Mixer ready.
15) Set the sound levels as follows.
set cable volume not to high

16) Now run the start_dsdplus.bat file that you created in step 3 and check that the numbers correspond to the red in the pictures below.
17)  i = Audio input to DSDPlus and o = Audio Output from DSDPlus
18) Input to DSPPlus must be from VB-Cable and not any other device (Stereo mixer in my case).
19) Output must go to Speakers in my case to 2 
20)Your Audio input and output configuration should be different to the one I have.
21) You will then need to change it in the start_dsdplus.bat file and then re run start_dsdplus.bat file.
22) If your Audio Input and Output configuration is correct you will have to just set your audio levels coming from SDRSharp and going to speaker.

Your sound card numbers will be different and you need to update the bat file
24. Now we need to configure the DSD plugin in sdrSharp by giving it the path to your DSDPlus.
enter the path to your DSDPlus.exe in the DSD path block shown below. Now change the Audio settings in SDRSharp dsd plugin to be the same as as we did in the batch file by changing the audio device number.

Change input and output audio device as we did in batch file.
26) Now select the VB-Cable option in the SDRSharp DSD plugin menu to point to the VB-Cable

27) Then tune to DMR frequency channel  in your area with SDRsharp at the top frequency selection and start the DSD on the left menu.
I then got this warning pop box hidden behind my SDRSharp. Just click Run and the DSD popups will appear.

If all went right the following Scope,log and channel activity popups will appear.


Final check that the correct VB-Cable is used for Audio input and speaker as output.

28) For best results, make sure that all your SDR# and  VB-cable / VAC sample rates are set to 48kHz and that you have disabled “Filter Audio” in SDR#. Also, the audio volume of SDR# should not be set to high.
29)Here is a list of DMR frequencies in South Africa





30) Here is the list of repeater frequencies for DMR in South Africa http://zs6ro.org/index.php/dmr-repeaters/dmr-za-repeater-list
If all when ok you should be able to hear the decoded audio.
Hope this help.
Let me know if you get stuck by adding comments at the bottom..

Sunday, May 17, 2015

Setting up the Kydera DM-880 Portable DMR (mototurbo)

Setting up the Kydera DM-880 Portable DMR (mototurbo)


Here is the instructions to setup the Kydera DM-880 to connect to the Amateur radio repeater network in South Africa.
What do you get with the Kydera DM-880 (Programming cable is optional)

How to Program the DM-880
You can download the Programming software here.
Here is the video how to install the Programming software.

Unzip the downloaded file and run the 
Here is a video on how to program the Kydera DM-880


Here is the Configuration file with the South Africa DMR Repeaters and Analog repeaters pre-configured mentioned in the video above.






Saturday, November 22, 2014

How to Setup GOIP 1/4/8 (GSM VOIP Gateway) as a Trunk gateway for Asterisk (PABX system)

How to Setup GOIP 1/4/8/16 .. as a Trunk gateway for Asterisk (PABX system)
The GOIP (VOIP) routers is available from http://www.giga.co.za

GOIP 1
GOIP 4














What can I do with a GOIP?

With one GOIP device you can do the following.
1) Dial from GSM Cellphone and PSTN land line to a SIP (VOIP) phone.
2) Dail from SIP to GSM Cellphone and PSTN line.
3) GOIP can and act as a trunk gateway for Asterisk (PABX)


With two and more GOIP devices. (Branch to Branch local dial cost)




Here is the setup procedure for the GSM/PSTN to SIP and SIP GSM/PSTN

1) Install a local GSM SIM  from your local GSM network provider ( MTN or Vodacom ....) make shore there is airtime on the SIM and you know what is the Cell number.

2) Connect the GOIP to your internet router with  ethernet cable. (Router should have DHCP enabled)


2) You know need to find out what IP was allocated to your GOIP by your Internet router.
There are two ways to establish the GOIP IP.
  • Dial the SIM number of anyone of the GSM channels available. Once the cal is answerd dial “*01” to hear voice prompt reporting the LAN port IP address.
  • Send the “#INFO#” SMS message command to of the GSM channels available. The GoIP will then return back the LAN port IP address.  E.G. 192.168.1.130
3) Now that you know what your GOIP IP is just use your browser and point it to the IP for example http://192.168.1.130

4) You should get a login popup, the default login username and password is admin admin.

5) After login you should see a admin home page.


6) We now need to configer the GOIP (SIP200) to foreword incoming GSM calls to cell number to a SIP numbers (My SIP number at home (101) and on my Android phone(100).
The problem is that the GOIP can only foreword to one SIP number.
So what I did is foreword it to a SIP number on my Asterisk server and allowed the Asterisk to foreword to both SIP phones (100,101). (see diagram below)


6) We now need to set up the Goip to call a SIP (VOIP) number when a call comes in from GSM network.
Click on the Configurations menu on the left.
6.1) I had to give the GOIP a SIP number (200) so that the GOIP can register to Asterisk.
6.2) I had to add a SIP number to GOIP to foreword all incoming GSM calls to a SIP number (105)
6.3) I had to add the Asterisk server IP 192.168.1.11 (substitute your IP)
6.4) and set the rest as in the RED config options below.
GOIP1 Configuration for GSM call forwording to SIP on Asterisk.
7) Next we need to configure Asterisk to allow GOIP1 to register its SIP 200 number and setting up Asterisk to foreword the incoming call to both my SIP app on android as well as my SIP client on My laptop or my Desktop SIP phone.
7.1) Login into you Linux server using your command  terminal (Ubuntu in my case)
7.2) Install Asterisk 
sudo apt-get update
when its complete the install asterisk
sudo apt-get install asterisk
When it is complete we now need to configure Asterisk to allow GOIP to connect to a SIP and to setup asterisk to foreword incoming and outgoing calls to and from Goip.
There is two files that needs editing. sip.conf and extensions.conf
 change to the asterisk config directory /etc/asterisk directory
cd /etc/asterisk
now edit the sip.conf file with your favorite editor
sudo vi sip.conf

add this example to your (/etc/asterisk/sip.config) file
sudo vi /etc/asterisk/sip.config


[200]
type=friend
secret=gioppassword ;NOTE it is important to set up a complex password
qualify=no ; Will not drop the connection
nat=yes ; This phone may be outside the network
host=dynamic ; This device registers with us
canreinvite=no ; Asterisk by default tries to redirect
context=GVOIP ; Or whatever context you want to define in Asterisk
mailbox=200@default ; only if you are configuring voicemail.

now add the following to your extensions.conf file (/etc/asterisk/extensions.conf)
sudo vi extensions.conf

in the [general] section add the following  (only numbers in South Africa)

exten => _0[1,8,7]XXXXXXXX,1,Dial(SIP/200/${EXTEN})
and create GOIP section as below

[GOIP]
#incoming GOIP call
exten => s,1,Wait(1)
exten => s,n,Answer
exten => s,n,Playback(beep)
exten => s,n,Dial(SIP/101&SIP/102&SIP/103);Dail my Sip app on cell phone and my Sip desktop
exten => s,n,Hangup

Save files

Now restart  asterisk

 sudo /etc/init.d/asterisk stop
 sudo /etc/init.d/asterisk start

now monitor asterisk and test your Goip dail from GSM and dialing from you sip phone to any number in south africa.

sudo asterisk -rvvvvvvv


you should see your connection on the terminal

hope this help

Please note the GOIP units is Available from http://www.giga.co.za

Monday, October 27, 2014

How to install Gqrx SDR software on Linux using your RTL dongle or Softrock receivers.

How to install the Gqrx SDR software on Linux using your RTL dongle or Softrock receivers. (Ubuntu)

RTL _dongle

The RTL Dongles is available from http://www.giga.co.za/ocart/index.php?route=product/category&path=59_63
Gqrx SDR software

Update the repository files and update your Linux to the latest versions.
sudo apt-get update
sudo apt-get upgrade

Now install the libraries ... get coffee
Now install the libraries for GQRX SDR on you Linux (Ubuntu)

sudo apt-get install cmake python-cheetah doxygen libboost-all-dev python-sphinx libfftw3-dev python-numpy libqwt-dev libgsl0-dev python-wxgtk2.6 qtcreator libpulse-dev swig libcppunit-dev libusb++-dev libusb-dev libusb-1.0-0-dev maybe some more coffee ;-)

Build and Install GNU Radio libraries


Create a directory where you will install the SDR software in your favorite install directory.
mkdir gqrx
goto directory you created.
cd gqrx
get the gnuradio source code
git clone http://git.gnuradio.org/git/gnuradio.git
if you are using the old git before 1.6 then use this command
git clone git://gnuradio.org/gnuradio
it looks like for Ubuntu 16.04 you need to use the following git clone
git clone --recursive http://git.gnuradio.org/git/gnuradio.git
You should see
Cloning into 'gnuradio'...
got to the newly created directory gnuradio when the cloning is done
cd gnuradio
make a build directory
mkdir build
goto the build directory
cd build
Compile gnuradio
cmake ../
if you get an error -- WARNING: Found a known bad version of Boost (v104601). Disabling.
Then run cmake -DENABLE_BAD_BOOST=True ../
This can take a couple of hours depending on the speed of you Linux server.
make
Now install the newly compiled binaries into the required directories
sudo make install
Now load the the gnu drivers
sudo ldconfig

Build and Install RTL-SDR drivers
go to your favorite install directory
cd ../../../
get the latest source code from osmocom.org
git clone git://git.osmocom.org/rtl-sdr.git
go to the newly created directory
cd rtl-sdr/
Now compile the rtl drivers
create the build directory
mkdir build
go to the build directory
cd build
compile the code
cmake ../
make
now install the compiled binaries
sudo make install
load the drivers
sudo ldconfig

now copy the content of the file rtl-sdr.rules and append it to the /etc/udev/rules.d/70-persistent-cd.rules file

use your favorite editor

vi rtl-sdr.rules  and copy the content.

then open the file /etc/udev/rules.d/70-persistent-cd.rules

sudo vi /etc/udev/rules.d/70-persistent-cd.rules and append the previous files content at the end

This is how my file looked like

# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-cd-aliases-generator.rules
# file; however you are also free to add your own entries provided you
# add the ENV{GENERATED}=1 flag to your own rules as well.
# hp_DVD_RW_AD-7581S (pci-0000:00:1f.2-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
#************************* below is what was appended ****************
# original RTL2832U vid/pid (hama nano, for example)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", MODE:="0666"
# ezcap EzTV668 (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE:="0666"
# Terratec Cinergy T Stick Black (rev 1) (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00a9", MODE:="0666"
# Terratec NOXON rev 1 (FC0013)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b3", MODE:="0666"SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b4", MODE:="0666"SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b7", MODE:="0666"SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c6", MODE:="0666"
# Terratec Cinergy T Stick RC (Rev.3) (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d3", MODE:="0666"
# Terratec T Stick PLUS (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d7", MODE:="0666"
# Terratec NOXON rev 2 (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00e0", MODE:="0666"
# PixelView PV-DT235U(RN) (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1554", ATTRS{idProduct}=="5020", MODE:="0666"
# Astrometa DVB-T/DVB-T2 (R828D)SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0131", MODE:="0666"
# Compro Videomate U620F (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0620", MODE:="0666"
# Compro Videomate U650F (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0650", MODE:="0666"# Compro Videomate U650F (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0650", MODE:="0666"
# Compro Videomate U680F (E4000)SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0680", MODE:="0666"
# Sweex DVB-T USB (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="a803", MODE:="0666"
# GTek T803 (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="b803", MODE:="0666"
# Lifeview LV5TDeluxe (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="c803", MODE:="0666"
# MyGica TD312 (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d286", MODE:="0666"
# PROlectrix DV107669 (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d803", MODE:="0666"
# Zaapa ZT-MINDVBZP (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d398", MODE:="0666"
# Twintech UT-40 (FC0013)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a4", MODE:="0666"
# ASUS U3100MINI_PLUS_V2 (FC0013)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a8", MODE:="0666"
# Dexatek DK DVB-T Dongle (Logilink VG0002A) (FC2580)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1101", MODE:="0666"
# Dexatek DK DVB-T Dongle (MSI DigiVox mini II V3.0)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1102", MODE:="0666"# Dexatek DK 5217 DVB-T Dongle (FC2580)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1103", MODE:="0666"
# MSI DigiVox Micro HD (FC2580)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1104", MODE:="0666"
# DigitalNow Quad DVB-T PCI-E card (4x FC0012?)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6680", MODE:="0666"
# Leadtek WinFast DTV Dongle mini D (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6f0f", MODE:="0666"
# Genius TVGo DVB-T03 USB dongle (Ver. B)SUBSYSTEMS=="usb", ATTRS{idVendor}=="0458", ATTRS{idProduct}=="707f", MODE:="0666"
# GIGABYTE GT-U7300 (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d393", MODE:="0666"
# DIKOM USB-DVBT HDSUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d394", MODE:="0666"
# Peak 102569AGPK (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d395", MODE:="0666"
# SVEON STV20 DVB-T USB & FM (FC0012)SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d39d", MODE:="0666"
# SVEON STV21 DVB-T USB & FMSUBSYSTEMS=="usb", ATTRS{idVendor}=="2b80", ATTRS{idProduct}=="d3b0", MODE:="0666"


Building and Install gr_osmoSDR

cd ../../
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build/
cmake ../ -Wno-dev
make
sudo make install
sudo ldconfig

Building and Install Gqrx


cd ../../
git clone https://github.com/csete/gqrx.git
cd gqrx
qtcreator ./gqrx.pro

A new window will open (the QT compiler).
When it opens click the build menu then the build all option.

QT Compiler

you should see The process "/usr/bin/make" exited normally.

Plug in your RTL dongle.
Now run gqrx.
gqrx

Select Yes
GQRX Should now be open. On the first run you will be prompted for a device listing.

Select your SDR (in my case RTL dongle)

 In the device drop down menu select "ezcap USB 2.0 DVB-T/DAB/FM Dongle", then continue to the main GQRX window.

Select File->Start DSP. You should now be receiving something.
Tune to a local radio station between 88-108Mhz FM.
select Wide FM Stero as the Mode Type.


Now connect a proper external antenna to your RTL dongle or Softrock HF/VHF kit.
Hope you have lost of fun ;-)

Here is a video of GQRX using the 100Khz to 17Ghz RTL dongle in direct conversion mode.


How to configure your direct conversion dongle.

Here is the screen-shot of the configuration on Linux for Gqrx
  1. Device Select other
  2. Device String rtl=0,direct_sample=2
 
 
Device String rtl=0,direct_sample=2
Here is a picture of the 100KHX to 1.7Ghz rtl dongle
100Khz to 1.7Ghz RTL direct conversion dongle
They are available at http://www.giga.co.za/ocart/index.php?route=product/product&path=59&product_id=178