Tuesday, October 22, 2019

Ycast on Ubuntu 18.04

The new version of Ycast has a radiobrowser so you can browse internet radio stations sorted by popularity, genre, language and country. It also shows an icon of the radio station that is playing.
The new version of ycast does not have a ycast.py anymore.

Here is how to install it.

Install ycast with:

sudo apt install python3-pip
sudo pip3 install ycast

Create a directory in your home called YCAST

Place the file "stations.yml" into this directory.

Use the following services file called "ycast.service" in /etc/systemd/system/ :

[Unit]
Description=YCast service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=130
ExecStart=/usr/bin/python3 -m ycast -c /home/marc/YCAST/stations.yml
StandardOutput=null
StandardError=inherit

[Install]
WantedBy=multi-user.target

sudo systemctl enable ycast.service
sudo systemctl start ycast.service

To install Pi-hole you need to install curl first by typing in the Ubuntu terminal: Sudo apt install curl
Install Pi-hole by typing in the Ubuntu terminal:
curl -sSL https://install.pi-hole.net | bash 
(Remember the password that is given during the installation, you will need it later.)

Pi-hole has a build in webserver to be able to control and admin Pi-hole. We need port 80 for YCast later so we need to change the port for the Pi-hole webserver to port 88.
Edit /etc/lighttpd/lighttpd.conf and change port 80 to 88.

You might need to redo this after a pi-hole update.

Now we need a DNS entry to point the Yamaha to the YCast webserver.
To do this create a file called /etc/dnsmasq.d/vtuner.conf and add the next 3 lines to the file:

address=/radioyamaha.vtuner.com/192.168.2.112
address=/radioyamaha2.vtuner.com/192.168.2.112
address=/vtuner.com/192.168.2.112


Reboot the server.

The Pi-Hole admin page is now on http://192.168.2.112:88/admin/   (You will need the password if you want to login.)

Redirect the yamaha receiver and make sure the new settings go to effect. 

I needed to power off the whole network including the receiver and the router for the settings to work correctly.


Saturday, August 10, 2019

How to vtuner alternative for Yamaha receivers on Ubuntu with YCast

Yamaha used to be partners with vtuner to get internet radio stations to the Yamaha receiver. To add stations you had to go to vtuner.com with a browser and add stations from a list.
Vtuner is not free anymore and Yamaha has no update for my (old) Yamaha RX-V473 to fix the problem.
When I press the NET-Radio button on my Yamaha the display says "go to vtuner.com to get full access."
Yamaha receiver
I do not like to pay for just the redirection of URLs. The radio stations are all free, just the list of radio stations on the Yamaha costs 3 Euro per year. That is a small amount but anyone can create their own redirection website with YCast and find radio stations at: http://www.radio-browser.info.

The Yamaha goes to http://radioyamaha.vtuner.com automatically so I need to install a fake vtuner website on my own web-server and redirect the Yamaha with a DNS server to this site.

As DNS server we will use Pi-hole and the fake vtuner website will be done by YCast.

I installed a fresh server with Ubuntu 18.04.3 LTS desktop and selected the minimal installation. In the DHCP server of my router I made sure this server gets the IP: 192.168.2.102.

First I installed Pi-hole on my fresh Ubuntu.

To install Pi-hole you need to install curl first by typing in the Ubuntu terminal: Sudo apt install curl
Install Pi-hole by typing in the Ubuntu terminal:
curl -sSL https://install.pi-hole.net | bash 
(Remember the password that is given during the installation, you will need it later.)

Pi-hole has a build in webserver to be able to control and admin Pi-hole. We need port 80 for YCast later so we need to change the port for the Pi-hole webserver to port 88.
Edit /etc/lighttpd/lighttpd.conf and change port 80 to 88.

You might need to redo this after a pi-hole update.

Now we need a DNS entry to point the Yamaha to the YCast webserver.
To do this create a file called /etc/dnsmasq.d/vtuner.conf and add the next 3 lines to the file:

address=/radioyamaha.vtuner.com/192.168.2.102
address=/radioyamaha2.vtuner.com/192.168.2.102
address=/vtuner.com/192.168.2.102


Reboot the server.

The Pi-Hole admin page is now on http://192.168.2.102:88/admin/   (You will need the password if you want to login.)
Pi-hole admin page
Now we need to create the YCast (fake vtuner) website.

Create a directory in the Home dir (/home/username/ ) called YCAST.
Place ycast.py in this directory.
Make ycast.py executable and readable with:
sudo chmod +x /home/marc/YCAST/ycast.py
sudo chmod 644 /home/marc/YCAST/ycast.py
Place stations.yml in the same directory.

You might need to install the python package yaml with: sudo pip install yaml

Start YCast: First start YCast by hand to test if it runs, go to the etc/systemd/system directory in terminal and enter: sudo /usr/bin/python3 /home/marc/YCAST/ycast.py
(Use your own username where it says marc.)

If needed you might need to add a symlink in /usr/bin for python3 or find the real location of python3 with the command: which python3.
Python3 often can be found in the /usr/bin/ directory and is called something like: python3.6, python3.5, python3.4, etc. On my Ubuntu I have a symlink in /usr/bin/ for python3 pointing to usr/bin/python3.6 so that if there is a python 3.6 update I do not have to update all my config files, I just need to update the python3 symlink.

Create a systemd service (file) for Ycast in etc/systemd/system called ycast.service. Here is the file I use:
[Unit]
Description=YCast service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=130
ExecStart=/usr/bin/python3 /home/marc/YCAST/ycast.py
StandardOutput=null
StandardError=inherit

[Install]
WantedBy=multi-user.target
(In a systemd Unit file full path names have to used.)

Next do:
sudo chmod 664 /etc/systemd/system/ycast.service
sudo systemctl enable ycast.service
sudo systemctl start ycast.service

And if needed do one of the following:
sudo systemctl status ycast.service
sudo systemctl restart ycast.service
sudo systemctl stop ycast.service
After a service script is changed the new .service file has to be read by the system with:
sudo systemctl daemon-reload
So do that after changing the file and before restarting a service.

To check for a service log and past errors try:
sudo journalctl -f -u ycast.service
The last line of the log is the most important. It should read: "Started Ycast service."
Press Ctrl+C to continue.

Next we need to change the DNS setting in the Yamaha receiver.

Go to the internal webpage or setup of the Yamaha receiver and set the IP Address to manual (DHCP Off).
Set the first DNS Server (P) to 192.168.2.102 (The Pi-hole server address.)
Set the second DNS Server (S) to 0.0.0.0


Click on  "Apply" and the Yamaha will reset its network to the new settings.

Create a DHCP entry in your home router for the Yamaha (even though the Yamaha does not use DHCP anymore) to make sure the home router does not give the same IP address to another device on your network.

That is it. Click on the Net-Radio button on the Yamaha and the new stations will appear.
  • New internet radio stations can be added manually by editing stations.yml. Streams with the extension .m3u will work.
  • The Ubuntu server can be rebooted and the YCast website and Pi-hole will be started automatically.
  • I do not see any album art here or album name, just the name of the artist and track.
  • To navigate in Ubuntu terminal, create, edit, rename or delete files, symlinks or directories and many other tasks I use mc. Install mc with: sudo apt install mc . Run mc with: sudo mc
  • Now you have your own DNS server, Vtuner fake website and learned to run and autostart scripts. Isn't Linux great? 
  • Please, click the checkboxes and let me know if it works.

Wednesday, July 31, 2019

How to stream Internet radio stations to your media-system via DLNA with Rygel on Ubuntu 18

My Yamaha RX-V473 recently stopped playing internet radio stations. Yamaha worked with vtuner for this but the vtuner people recently stopped their free service. The Yamaha update to fix this is only for their younger products so the RX-V473 has no new firmware or fix. Yamaha has no clue yet  about Open Source and the many benefits of Open Source so no one will ever be able to fix the problem changing the firmware.

Streaming files from the NAS

The Yamaha RX-V473 has the possibility to access DLNA servers and I had it hooked up to an Ubuntu 18.04.2 LTS with Rygel installed ( sudo apt install rygel ) and media sharing in Ubuntu Settings set to ON.

Rygel options in Ubuntu Settings

Playing your own MP3 files collection is working and easy but I want to listen to SomaFM on my stereo and this option is not (yet) present in the Sharing section of Ubuntu Settings.

Internet radio

To stream SomaFM over DLNA (Rygel) to your DLNA client (Yamaha receiver or any other player) you need to install rygel-gst-launch. Type in terminal:

 sudo apt install rygel-gst-launch

Next: edit rygel.conf. Not just any rygel.conf but the one in /home/$Username$/.config/rygel.conf. (Where $Username$ is your username.)

Go to the section [GstLaunch] and edit the changes as seen below.

I have added the complete relevant section of a working version here.


[GstLaunch]
enabled=true
launch-items=audiotestsrc;soma;drone

audiotestsrc-title=Audiotestsrc

audiotestsrc-mime=audio/x-wav
audiotestsrc-launch=audiotestsrc ! wavenc

soma-title=SomaFM SpaceStation

soma-mime=audio/mp4
soma-launch=souphttpsrc iradio-mode=false location=http://ice2.somafm.com/spacestation-128-aac

drone-title=SomaFM Dronezone

drone-mime=audio/mpeg
drone-launch=souphttpsrc iradio-mode=false location=http://ice2.somafm.com/dronezone-256-mp3


Now when the receiver or any other DLNA compatible client is going to search for DLNA servers under the server button it will see the media share from Rygel and GstLaunch.
Select GstLaunch and 3 radio stations appear:

  Audiotestsrc will produce a test tone for testing.
  SomaFM SpaceStation will play SomaFM Spacestation in 128 bit AAC
  and SomaFM Dronezone will play SomaFM Dronezone in 256 bit MP3

You can add as many internet radio stations as you want.
  • To check if the URL of the stream is working open VLC and go to Media  and then  Networkstream and enter the URL. If VLC starts producing music the URL is correct.
  • Every time you change rygel.conf you need to restart Rygel for the changes to take effect. Restart Rygel in the standard Ubuntu Settings with the Media sharing ON/OFF button.
  • Sometimes the client (The TV, stereo or any mediaplayer) needs to be reset to see changes in the Rygel configuration.
  • To check for error messages stop Rygel with the standard Ubuntu Settings and start Rygel in terminal using the command: 
rygel
        If there are any errors they will be displayed in the terminal. 
  • To install all Gstreamer plugins type in terminal:
sudo apt install gstreamer1.0-*

  • AAC streams have the mime type audio/mp4. MP3 streams have the mime type audio/mpeg.
  • There is no cover art with this setup.
  • Some players accept pls and m3u streams and others do not. I am still trying to figure out why here they do not play.
  • As from SomaFM FAQ "The 128k AAC streams are the best sounding. The 64k AAC-HE streams are a close second, followed by 128k MP3 streams." I do not know where 256 MP3 fits in but my guess is they are the best.
  • Another way of streaming radio to your Yamaha is with a fake vtuner website as I described here.

Tuesday, May 21, 2019

How to run pyradmon.py in Systemd on Ubuntu 18.04.2-LTS

pyradmon.py is a little python script I need running to get data from my Geiger counter (GMC-320) to its data showing webpage (Radmon.org).
The script has to always run, also after reboots, outages, changes to the system or the script itself, and it has to be restarted if it fails.
On Ubuntu 18 and many other systems a system called Systemd is in use to facilitate this.

To get the script running in systemd do the following:

Create a file called "radmon.service" in /etc/systemd/system .
[Unit]
Description=Radmon service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=30
User=marc
ExecStart=/usr/bin/python -u /home/marc/GMC/pyradmon.py
StandardOutput=null
StandardError=inherit

[Install]
WantedBy=multi-user.target
Then do:
sudo systemctl enable radmon.service
sudo systemctl start radmon.service
And if needed do:
sudo systemctl status radmon.service
sudo systemctl restart radmon.service
sudo systemctl stop radmon.service
That's it.

Saturday, May 18, 2019

How to enter Ubuntu terminal with an (old) DOS computer and a nullmodem

It is possible to use a DOS computer and enter the Ubuntu terminal via a (serial) nullmodem cable.
Even without any network installed on the DOS computer I can read my mail, browse the web or service the Ubuntu server using my old DOS laptop.

I have been using a Tulip lt 286 and it comes with an external Floppy disk port, a VGA connector that can be used for an external VGA monitor, 1 external serial COM1 port, a 2400 baud modem on COM2, 1 PS/2 port for an external keyboard, 1 external printer LPT1 port, 1 internal ISA bus port used for the IDE hard disk and 3.5 inch floppy drive and an external ISA bus port originally intended for connection to an external box containing 2 ISA BUS connectors.
I could use the external ISA bus port for a network card but I do not have the ISA expansion cable needed for this.

Getting the Ubuntu server ready

As server I used a Ubuntu 18.04.2 LTS computer that has an external COM port. There are 2 ways to add a tty to it.

1: I added "console=ttyS0" to the file /etc/default/grub in the line that now says: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=ttyS0" 
Save the file. You might need to have admin rights to do that, if so, open the file with "sudo".After saving the file type "sudo update-grub" in terminal to enable the new boot options. Reboot the server to apply the changes.

Or:

2: Apply a Systemd service using Execstart=/sbin/getty -L 38400 ttyS0 

Its that easy, nothing to install.

Getting the DOS computer ready.

Getting software on the old laptop is a pain because most of my floppy disks are 20+ years old and they keep failing.

I installed DOS 6.22 on the laptop and installed Norton Commander 5.5 to copy files between several computers with a (serial) nullmodem cable.

I also installed IBM-PC MS-DOS Kermit v3.16 Beta 7 patch level 0 and (eventually) found it very helpful. But if you use this program for the first time you can be a little lost as it has a steep learning curve. Here is some excellent reading material on DOS/Kermit http://kermitproject.org/onlinebooks/usingmsdoskermit2e.pdf .

With the nullmodem connected to my Ubuntu servers COM port I can now connect to an Ubuntu terminal session.
Connected to an Ubuntu terminal session via COM1
After startup of Kermit on the DOS computer type "set speed 38400" to set the speed of the serial connection. Then type "c" to open the terminal and connect to the Ubuntu server. Al other default settings of Kermit are fine.

The (modern) Ubuntu server has a far higher serial port speed compared to the DOS laptop so you will have to press the ENTER button a few times to make a successful connection. Some random characters may appear on your screen. The Ubuntu server will start with a baud rate of 115200 but will try lower speeds and eventually a connection at a lower baudrate will succeed.

The first time I logged in there was in intriguing message on the screen.
"You have new mail."
What to do? I never had this message when I logged into the server using the server itself. I never knew the server handled any mail.

I typed "mail" and saw a long list of mails the kernel send me about failures etc.
Then "r" to read, "d" to delete, "n" for next message, and so on.
It turned out I had more that 2600 mails waiting for me and the standard mail application wanted me to read them all one by one.

Therefore I installed Alpine by typing "sudo apt install alpine" into the terminal on the DOS computer. To handle the mail instead of typing "mail" I type "alpine". Without configuring anything alpine takes over and handles all mails and shows them to you in an ordered and easy text interface.

To get double the rows (lines) and columns add the following line in your autoexec.bat.

MODE CON: cols=80 lines=50

Now all seems well until Midnight commander, Alpine or any other Ubuntu terminal program is opened. Only the upper half of the screen is used. There is no way Ubuntu can find out the dimensions of your terminal so it assumes you have a VT102 terminal that like most terminal types has only 24 lines of text. Type "sudo resize" to maximise the screen space the program is using to all full 80 x 49 characters instead of only 80 x 24.

I can log into my Ubuntu server from my DOS laptop which is great and completely useless.
Next thing to try is running a graphical browser on my DOS laptop. Arachne runs fine but I still need that DOS TCP/IP driver.  

How to Link DOS to Ubuntu in Norton Commander with a nullmodem cable

How to use "Link" in Norton Commander between an old DOS computer and an Ubuntu computer with Norton commander inside a DOSBox.

All was tested on DOS 6.22 with Norton Commander 5.5 running on one side and Ubuntu 18.04.2 LTS  with Norton Commander 5.5 running in a DOSBox 0.74 on the other side of a (serial) nullmodem cable.


  • Use a (serial) nullmodem cable on both COM1 ports.
  • Set the COM1 port on both computers to the same speed.(9600 is reliable on old computers) On ubuntu set the speed with "sudo stty -F /dev/ttyS0 9600". Check the speed with "stty -F /dev/ttyS0".
  • To check if the cable is going into the correct connector/port attach an old (Microsoft) serial mouse to the port, it will not work. Type in terminal "sudo inputattach --microsoft /dev/ttyS0". If you can move the pointer with the serial mouse the port is working correct and it is ttyS0. This is not a solution for a serial mouse but works fine for this test.
  • To be able to create directories in DOSBox on Ubuntu start DOSBox manually in a terminal with sudo.
  • Open DOSBox and configure "serial1=directserial realport:ttyS0". You can do this by typing " serial1 directserial realport:ttyS0" (This is confusing because you are using a cable called nullmodem and there is also the (wrong) option to go for "serial1=nullmodem")
  • Check the setting at the dosbox command prompt with "serial1"
  • Start Norton Commander 5.5 on both computers and open the menu with F9 and open the "Left" or "Right" panel, scroll down and open "Link".
Screenshot of Norton Commander 5.5 in DOSBox on Ubuntu 18.04.2 LTS

  • Choose Master on one side and Slave on the other side and press Link on both sides.
  • Now the master computer has a panel that has files on the other computer and files can be copied from one computer to the other and back.

Tuesday, May 14, 2019

Norton Commander "Link" between DOS and Win10 computer

This setup is used for transferring files between an old MS-DOS computer and a modern computer like Windows 10. Both sides are using Norton Commander only one of them is running in a DOSBox.
All was tested on DOS 6.22 with Norton Commander 5.5 running on one side and Windows 10 Pro 1809 with DOSBox 0.74-2 running on the other side of a (serial) nullmodem cable.

How to use "Link" in Norton Commander between an old DOS computer and a Windows 10 computer with Norton commander inside a DOSBox.

  • Use a (serial) nullmodem cable on both computer COM1 ports.
  • Set the COM1 port on both computers to the same speed.(9600 is reliable on old computers)
  • Open DOSBox and configure "serial1=directserial realport:COM1". You can do this by typing " serial1 directserial realport:COM1" (This is confusing because you are using a cable called nullmodem and there is also the (wrong) option to go for "serial1=nullmodem")
  • Check the setting at the dosbox command prompt with "serial1"
  • Better to set this in the dosbox config file.
  • Restart dosbox and check in the dosbox terminal (The black second screen behind the DOSBox screen) if the COM port is used ok. If not, a connection in Windows might prevent DOSBox from taking the line.
  • Start Norton Commander 5.5 on both computers and open the menu with F9 and open the "Left" or "Right" panel, scroll down and open "Link".
Screenshot of Norton Commander 5.5 in DOSBox on Ubuntu 18.04.2 LTS
  • Choose Master on one side and Slave on the other side and press Link on both sides.
Now the master computer has a panel that has files on the other computer and files can be copied from one computer to the other and back.

Tuesday, March 07, 2017

Bad Company Gaming Community - Domination Takistan. Some secrets revealed.

The Bad Company Gaming Community has a public Arma 2 server running Domination Takistan.

Here are some tricks to make life easier in sunny rebel infested Takistan

  • Second primary weapon: Pick up a gun with full ammo and switch it to backpack.(With scroll mouse.) Now you can pick up a second primary gun with full ammo.
  • Unlimited ammo for your primary guns: Switch between guns and all clips that where
    not completely empty are full 
    again. (This gives you unlimited ammo.)
  • C130J flyable by all: You don't have to be a pilot to fly the C130J. If you get into the back of the plane you can sneak into the pilot seat and off you go.
  • C130J Gunship: Load a tank (Tusk/Boomer) into the C130J (Fortress 1) with the turret sideways.
    Now the gunner can hammer the target from the air if the C130J circles the AO.
  • Gun-laser: During night with the night-vision on you can turn on your gun-laser with L and
    use the beam to communicate with friendlies. Not all guns have a laser, try them all.
  • Tube and backpack filled with rockets: If you first pick a tube with rockets and then a
    backpack it will work and you can use them both.
  • Far vision (Up to 10K): Hold the space button and scroll mouse to select communication.
    Here you can increase the view distance from 1 to 10 kilometers. 
  • Set a viewpoint: Go to the map with M. Click on the map, Don't move the mouse and press/hold left-shift then right-click on the map. (If you are in group channel your group members will also see the marker.)
  • Swimming erases all your gear: If you go for a swim you loose all your guns, ammo, tubes, backpack and even your night-vision and binoculars. But you can switch to your second primary gun. (If you acquired one.)
  • Everybody can use stinger and strela AA rockets: Strela rockets are less vulnerable to countermeasures than stingers. Best used against slow flying choppers.

Thursday, November 03, 2016

Some tips and tricks for the Kenwood TS-590S

  • If you need very low TX output for modes like WSPR you can use the  DRV output. Push the DRV button and for TX the DRV output will be used and that is about 1 mW depending on the TX power setting. For RX the normal antenna will be used.
  • Listening to AM broadcast stations you can set the bandwidth control up to 5 kHz wide but beware this is per sideband so in AM the bandwidth is actually twice that wide. Normally a broadcast in AM is 9 kHz wide so the 10 kHz available is more than enough.
  • The option to buy a TXCO from Kenwood is expensive. A cheap chinese TCXO works perfect too and only costs about 12 euro. Search for them on eBay or AliExpress.
    Cheap chinese TCXO

Monday, October 24, 2016

Radio Batavia taken off the air by the navy (With audio)

Every now and then I scan the airwaves with my Kenwood TS-590S for some chill music and this last sunday I stumbled upon 5890 kHz AM where radio Batavia was playing its oldie tunes.


The DJ was a dutchmen telling us he was transmitting from his big ship on a very harsh North Sea.
Just after explaining how proud he was of his new huge antenna system that reached the whole of Europe, (and it has to be big on 5890 kHz!) he reported an unknown ship on the horizon.
Binoculars scanned the horizon revealing it was the navy and it headed their way fast. A radio contact with the approaching ship confirmed the navy was coming their way to board the ship.
A light panic became audible in his voice.

I started the recording at that moment.

Radio Batavia taken off the air (recording).

After a while the music stopped , the DJ stated he would be back in the future and the signal was off the air.

The airwaves are as exciting as ever.


Sunday, October 23, 2016

How to expand the transmit frequencies on a Kenwood TM-D710GE (aka Mars cap)

The Kenwood TM-D710GE originally comes with a large receive range of 118 MHz all the way up to 1300 MHz. (Interrupted from 524 MHz to 800 MHz) It has a small transmit range of 144 to 146 MHz and 430 to 440 MHz.
To expand the transmit range from 136 to 174 MHz and from 400 to 470 MHz you will have to turn off the radio, then open the set with 8 screws and remove the resistor labeled W601.
With the front of the radio facing you it is on the lower left hand corner. Closest to the control head on the left hand side of the radio.


The green wire in older radios
In the popular youtube videos doing this mod on older versions of the radio this is a green wire.

After removing the resistor and turning the transceiver on it will reset to the default settings so it is a good idea to save all settings and memory banks beforehand to a file. This can be done with both MCP-6A or CHIRP.

Here are some more hints and tricks concerning this radio.

Tuesday, September 08, 2015

How to search for % in a string in Cognos Report Studio

If you need to search in a report for % it will not work. The % character is reserved in SQL.

The solution is to use \% (Backslash Percentage)



Thursday, July 02, 2015

Kenwood TM-D710GE hints and tricks

APRS

The Kenwood TM-D710GE has a GPS built inside the head so you can put an APRS beacon on the air without the wire hassle.
The internal GPS  has to be turned on with the GPS button after which the iGPS icon appears. Here are some hints and tricks that are not in the manual.
  • After the GPS searches for satellites, finds a few of them and gets a lock/fix the iGPS icon will start to blink.
    Mostly on other hardware this is shown the opposite way and the icon starts to blink if a fix is needed. So keep in mind, blinking is good as it shows the internal GPS has a lock/fix.
  • The internal GPS placed in front of the hand brake has a very good reception as it even keeps tracking inside my garage outfitted with only a small roof window. Its summer here so the car has no roof.
  • The rig shows GPS coordinates in minutes or degrees but also shows a very useful Maidenhead locator. After the GPS has a fix and the iGPS icon is blinking press the POS button and the Maidenhead locator is on the bottom line. Navigate trough the pages with the arrow keys.

Other hints and tricks

  •  If you leave the head in the sun the display will turn black. If it cools down it will turn normal again.
  • Note that the problem with the ceramic filter in the 2nd IF stage that is present in older versions of this radio has been solved by Kenwood in this Kenwood TM-D710GE. 
  • The transmit frequency range of this radio can be expanded by removing resistor W601 as described here.
  • Don't forget to check out if there are firmware updates that give extra fun. The latest panel firmware update increases the amount of rigs shown in the APRS list.

Saturday, June 20, 2015

How to click on a DX call in a cluster and set your rig to the correct frequency in Ubuntu.

I have Hamradio Deluxe working under WINE on Ubuntu but realized I only used the DX-cluster. I found Xdx that has exactly the same functionality and works native on Ubuntu.

Xdx is a Linux DX-cluster client. It features the possibility to click on a DX entity in the cluster where Xdx automatically changes the frequency of your rig to the stations location on the band.
It is installable from the Ubuntu Software Center where it has the option to install the rig control software in one go.
or open a terminal and type: sudo apt-get install xdx

Connecting to the DX-cluster server.


After starting the program you will have to set the URL and port of a DX-cluster server.
To get a list of DX-cluster servers check: http://www.ng3k.com/misc/cluster.html 
or http://www.iw5edi.com/ham-radio/?dx-cluster-telnet-links,65

My local DX-cluster server
After connecting with the DX-cluster server there is a welcome text in the bottom part of your screen.  It is called the terminal screen and you can send several useful commands to the server:

reject/spot 1 on hf/cw      Do not show spots on HF with CW.
reject/spot 2 on vhf          Do not show spots on VHF. (second rule)
accept/spot on hf/ssb      Only show spots on HF in SSB.
show/bands                       Show what bands are available for filtering etc.
show/filter                         Show the filters that are set.
apropos buddy                  Show any help info on the buddy command

You can check who is connected to the server and chat with them.

who                                  Show connected users. (To check if someone is DXing.)
talk callsign blah           Send blah to a connected user with callsign.


Just like in a packet BBS you can list, read and send messages worldwide to all servers in the cluster.

directory                       Show a list of public messages. (Like in a BBS.)
read 25                         Read a message with number 25 in the directory list.

Xdx screen-shot, click to enlarge

Connecting Xdx to your transceiver.


Go to Setting > preferences.

Check out the number of your rig with rigctl.   Type in terminal: rigctl -l

This is the current list:
 Rig #  Mfg                    Model                   Version         Status
     1  Hamlib                 Dummy                   0.5             Beta
     2  Hamlib                 NET rigctl              0.3             Beta
   101  Yaesu                  FT-847                  0.5             Beta
   103  Yaesu                  FT-1000D                0.0.6           Alpha
   104  Yaesu                  MARK-V FT-1000MP        0.0.5           Alpha
   105  Yaesu                  FT-747GX                0.4.1           Beta
   106  Yaesu                  FT-757GX                0.4.1           Beta
   107  Yaesu                  FT-757GXII              0.4             Stable
   109  Yaesu                  FT-767GX                1.0             Stable
   110  Yaesu                  FT-736R                 0.3             Stable
   111  Yaesu                  FT-840                  0.1             Untested
   113  Yaesu                  FT-900                  0.1             Untested
   114  Yaesu                  FT-920                  2010-08-23      Stable
   115  Yaesu                  FT-890                  0.1             Stable
   116  Yaesu                  FT-990                  0.2.1           Alpha
   117  Yaesu                  FRG-100                 0.4             Beta
   118  Yaesu                  FRG-9600                0.2             Untested
   119  Yaesu                  FRG-8800                0.2             Untested
   120  Yaesu                  FT-817                  0.5.1           Beta
   121  Yaesu                  FT-100                  0.4.1           Beta
   122  Yaesu                  FT-857                  0.4             Beta
   123  Yaesu                  FT-897                  0.3.3           Beta
   124  Yaesu                  FT-1000MP               0.1.1           Beta
   125  Yaesu                  MARK-V Field FT-1000MP  0.0.5           Alpha
   126  Yaesu                  VR-5000                 0.2             Alpha
   127  Yaesu                  FT-450                  0.22.1          Beta
   128  Yaesu                  FT-950                  0.22.2          Stable
   129  Yaesu                  FT-2000                 0.22.1          Stable
   130  Yaesu                  FTDX-9000               0.22.1          Untested
   131  Yaesu                  FT-980                  0.1             Alpha
   132  Yaesu                  FT-DX5000               0.22            Alpha
   133  Vertex Standard        VX-1700                 1.1             Alpha
   201  Kenwood                TS-50S                  0.8             Untested
   202  Kenwood                TS-440                  0.8.0.6.1       Alpha
   203  Kenwood                TS-450S                 0.8.1           Beta
   204  Kenwood                TS-570D                 0.8.2           Stable
   205  Kenwood                TS-690S                 0.8.1           Beta
   206  Kenwood                TS-711                  0.8.0.6.1       Untested
   207  Kenwood                TS-790                  0.8.2           Alpha
   208  Kenwood                TS-811                  0.8.0.6.1       Untested
   209  Kenwood                TS-850                  0.8.1           Beta
   210  Kenwood                TS-870S                 0.8.0           Beta
   211  Kenwood                TS-940S                 0.8.0.6.1       Alpha
   213  Kenwood                TS-950SDX               0.8             Beta
   214  Kenwood                TS-2000                 0.8.4           Beta
   215  Kenwood                R-5000                  0.6.1           Alpha
   216  Kenwood                TS-570S                 0.8.1           Stable
   217  Kenwood                TH-D7A                  0.5             Alpha
   219  Kenwood                TH-F6A                  0.5             Beta
   220  Kenwood                TH-F7E                  0.5.1           Beta
   221  Elecraft               K2                      20120615        Beta
   222  Kenwood                TS-930                  0.8             Untested
   223  Kenwood                TH-G71                  0.5             Beta
   224  Kenwood                TS-680S                 0.8.1           Beta
   225  Kenwood                TS-140S                 0.8.1           Beta
   226  Kenwood                TM-D700                 0.5             Beta
   227  Kenwood                TM-V7                   0.5             Beta
   228  Kenwood                TS-480                  0.8.5           Untested
   229  Elecraft               K3/KX3                  20120615        Beta
   230  Kenwood                TRC-80                  0.8             Alpha
   231  Kenwood                TS-590S                 0.8.1           Beta
   232  SigFox                 Transfox                20111223        Alpha
   233  Kenwood                TH-D72A                 0.5.1           Alpha
   234  Kenwood                TM-D710                 0.5             Untested
   302  Icom                   IC-1275                 0.7             Beta
   303  Icom                   IC-271                  0.7             Untested
   304  Icom                   IC-275                  0.7.1           Beta
   306  Icom                   IC-471                  0.7             Untested
   307  Icom                   IC-475                  0.7.1           Beta
   309  Icom                   IC-706                  0.7.1           Untested
   310  Icom                   IC-706MkII              0.7.1           Untested
   311  Icom                   IC-706MkIIG             0.7.2           Stable
   312  Icom                   IC-707                  0.7             Untested
   313  Icom                   IC-718                  0.7.1           Beta
   314  Icom                   IC-725                  0.7.1           Stable
   315  Icom                   IC-726                  0.7             Stable
   316  Icom                   IC-728                  0.7             Untested
   319  Icom                   IC-735                  0.7.1           Beta
   320  Icom                   IC-736                  0.7             Untested
   321  Icom                   IC-737                  0.7             Untested
   322  Icom                   IC-738                  0.7             Untested
   323  Icom                   IC-746                  0.7.1           Beta
   324  Icom                   IC-751                  0.7.1           Beta
   326  Icom                   IC-756                  0.7.1           Alpha
   327  Icom                   IC-756PRO               0.7             Untested
   328  Icom                   IC-761                  0.7.1           Stable
   329  Icom                   IC-765                  0.7             Stable
   330  Icom                   IC-775                  0.7.1           Untested
   331  Icom                   IC-781                  0.7.1           Untested
   332  Icom                   IC-820H                 0.7             Alpha
   334  Icom                   IC-821H                 0.7             Alpha
   335  Icom                   IC-970                  0.7             Untested
   336  Icom                   IC-R10                  0.7             Untested
   337  Icom                   IC-R71                  0.7             Untested
   338  Icom                   IC-R72                  0.7             Untested
   339  Icom                   IC-R75                  0.7             Beta
   340  Icom                   IC-R7000                0.7.0           Alpha
   341  Icom                   IC-R7100                0.7.0           Untested
   342  Icom                   ICR-8500                0.7.1           Beta
   343  Icom                   IC-R9000                0.7.1           Alpha
   344  Icom                   IC-910                  0.7.1           Beta
   345  Icom                   IC-78                   0.7             Untested
   346  Icom                   IC-746PRO               0.7             Stable
   347  Icom                   IC-756PROII             0.7             Alpha
   351  Ten-Tec                Omni VI Plus            0.2             Beta
   352  Optoelectronics        OptoScan535             0.3             Beta
   353  Optoelectronics        OptoScan456             0.3             Beta
   354  Icom                   IC ID-1                 0.7             Untested
   355  Icom                   IC-703                  0.7             Untested
   356  Icom                   IC-7800                 0.7.2           Untested
   357  Icom                   IC-756PROIII            0.7.1           Beta
   358  Icom                   IC-R20                  0.7             Untested
   360  Icom                   IC-7000                 0.7.2           Beta
   361  Icom                   IC-7200                 0.7             Beta
   362  Icom                   IC-7700                 0.7.1           Stable
   363  Icom                   IC-7600                 0.7             Beta
   364  Ten-Tec                Delta II                0.1             Untested
   365  Icom                   IC-92D                  0.7             Untested
   366  Icom                   IC-R9500                0.7.1           Untested
   367  Icom                   IC-7410                 0.7             Untested
   368  Icom                   IC-9100                 0.7             Untested
   369  Icom                   IC-RX7                  0.7             Untested
   401  Icom                   IC-PCR1000              0.8             Beta
   402  Icom                   IC-PCR100               0.8             Beta
   403  Icom                   IC-PCR1500              0.8             Beta
   404  Icom                   IC-PCR2500              0.8             Beta
   501  AOR                    AR8200                  0.6.1           Alpha
   502  AOR                    AR8000                  0.6.1           Beta
   503  AOR                    AR7030                  0.4.1           Beta
   504  AOR                    AR5000                  0.6.1           Beta
   505  AOR                    AR3030                  0.4             Untested
   506  AOR                    AR3000A                 0.5             Beta
   508  AOR                    AR2700                  0.6             Untested
   513  AOR                    AR8600                  0.6.1           Beta
   514  AOR                    AR5000A                 0.6             Alpha
   515  AOR                    AR7030 Plus             0.1             Beta
   516  AOR                    SR2200                  0.1             Beta
   605  JRC                    NRD-525                 0.1             Alpha
   606  JRC                    NRD-535D                0.6             Stable
   607  JRC                    NRD-545 DSP             0.6             Beta
   801  Uniden                 BC780xlt                0.3             Untested
   802  Uniden                 BC245xlt                0.3             Untested
   803  Uniden                 BC895xlt                0.3             Untested
   804  Radio Shack            PRO-2052                0.3             Untested
   806  Uniden                 BC250D                  0.3             Untested
   810  Uniden                 BCD-396T                0.3             Alpha
   811  Uniden                 BCD-996T                0.3             Alpha
   812  Uniden                 BC898T                  0.3             Untested
   902  Drake                  R-8A                    0.5.1           Beta
   903  Drake                  R-8B                    0.5             Untested
  1004  Lowe                   HF-235                  0.3             Alpha
  1103  Racal                  RA6790/GM               0.1             Untested
  1105  Racal                  RA3702                  0.1             Alpha
  1204  Watkins-Johnson        WJ-8888                 0.2             Untested
  1402  Skanti                 TRP8000                 0.2             Untested
  1404  Skanti                 TRP 8255 S R            0.1             Untested
  1501  Winradio               WR-1000                 0.6             Untested
  1502  Winradio               WR-1500                 0.6             Untested
  1503  Winradio               WR-1550                 0.6             Untested
  1504  Winradio               WR-3100                 0.6             Untested
  1505  Winradio               WR-3150                 0.6             Untested
  1506  Winradio               WR-3500                 0.6             Untested
  1507  Winradio               WR-3700                 0.6             Untested
  1601  Ten-Tec                TT-550                  0.2             Beta
  1602  Ten-Tec                TT-538 Jupiter          0.6             Beta
  1603  Ten-Tec                RX-320                  0.6             Stable
  1604  Ten-Tec                RX-340                  0.3             Untested
  1605  Ten-Tec                RX-350                  0.1             Untested
  1607  Ten-Tec                TT-516 Argonaut V       0.2             Stable
  1608  Ten-Tec                TT-565 Orion            0.5             Beta
  1609  Ten-Tec                TT-585 Paragon          0.3             Beta
  1611  Ten-Tec                TT-588 Omni VII         0.3             Alpha
  1612  Ten-Tec                RX-331                  0.1             Beta
  1613  Ten-Tec                TT-599 Eagle            0.4             Untested
  1701  Alinco                 DX-77                   0.7             Beta
  1801  Kachina                505DSP                  0.3             Alpha
  1901  Hamlib                 RPC rig                 0.3             Beta
  2201  TAPR                   DSP-10                  0.2             Alpha
  2301  Flex-radio             SDR-1000                0.2             Untested
  2303  DTTS Microwave Society DttSP IPC               0.2             Alpha
  2304  DTTS Microwave Society DttSP UDP               0.2             Alpha
  2401  RFT                    EKD-500                 0.4             Alpha
  2501  Elektor                Elektor 3/04            0.4             Stable
  2502  SAT-Schneider          DRT1                    0.2             Beta
  2503  Coding Technologies    Digital World Traveller 0.1             Untested
  2506  AmQRP                  DDS-60                  0.1             Alpha
  2507  Elektor                Elektor SDR-USB         0.3.1           Stable
  2508  mRS                    miniVNA                 0.1             Alpha
  2509  SoftRock               Si570 AVR-USB           0.2             Beta
  2511  KTH-SDR kit            Si570 PIC-USB           0.2             Beta
  2512  FiFi                   FiFi-SDR                0.5             Beta
  2513  AMSAT-UK               FUNcube Dongle          0.2             Beta
  2514  N2ADR                  HiQSDR                  0.2             Untested
  2601  Video4Linux            SW/FM radio             0.2.1           Beta
  2602  Video4Linux2           SW/FM radio             0.2.1           Alpha
  2701  Rohde&Schwarz          ESMC                    0.1             Alpha
  2702  Rohde&Schwarz          EB200                   0.1             Untested
  2801  Philips/Simoco         PRM8060                 0.1             Alpha
  2901  ADAT www.adat.ch       ADT-200A                1.36            Beta

I have set the speed of My Kenwood TS-590S USB connection to 19200. In my computer it turns up at USB0. So the following settings apply for me:

My settings for a Kenwood TS-590S with USB
Note that I have a Kenwood TS-590S (#231) but instead I used the Kenwood TS-570D (#204) because that one works very good.

Remember to become member of the group dialout. After adding yourself to the group, do a reboot or re-login.