Tag: problem

Sound problem with Qtel (open source Echolink) in Ubuntu 14.04

If you are looking to get set up Echolink on your shiny new Ubuntu 14.04 machine, be sure to read the how to article I wrote before.

However, even after having such a formidable victory and feeling waves of joy when the repeater list finally populated Qtel on my Trusty Tahr, I had a less-than-raring experience of not being able to hear the ECHOTEST server, or any other repeater, sound.

I remember VA7OBI told me that he had success when he opened 5200 TCP but when I tried everything it didn’t work for me.  In fact, remind me to publish the way that this frustration led me to fighting my ISP and how I got two months free internet out of the deal…but I digress… After I did a DMZ on my computer it instantly started working so it was definitely a port problem.

Here is what solved my problem *instantly*.

1. Open router or modem/router configuration page

2. Go to your firewall settings. 

3. Open (or often called ‘port forwarding’) the following port range:

5198-5199 UDP

4. Make sure this new rule in your router/modem is pointing to the machine (or multiple machines) where Qtel is installed.  In my case it was 192.168.1.75 to show an example IP address.

If you don’t know how to find your IP address, it’s very easy in Ubuntu.  Just open your terminal (control + alt + t) and type this:

ifconfig

you will see this kind of spew:

eth0      Link encap:Ethernet  HWaddr 00:16:76:b4:24:17
inet addr:192.168.1.75  Bcast:192.168.1.255  Mask:255.255.255.0
inet6 addr: fe80::216:76ff:feb4:2417/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:11386 errors:0 dropped:0 overruns:0 frame:0
TX packets:10070 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9551513 (9.5 MB)  TX bytes:1181280 (1.1 MB)

eth0 is your hardwired connection which mine, obviously is.  If your machine is connected by wifi, it will look roughly the same but you will see ‘wlan0’ or something like that which will have your ipaddress beside it like mine above.

Now just make sure those 5198-5199 UDP ports are open and pointing to that machine where qtel is.

Final note: your modem/router may, from time to time, send out new IP addresses to your computer(s).  If Qtel stops working one day again, it’s probably just a matter of running this tutorial again and updating your IP address in the port forwarding rule in your router/modem.

If you feel really saucy and snazzy, you could set a static IP address for your machine and never run this tutorial again. I’m too lazy for now so I’ll risk having to do this again, ha.

Take it easy and keep on being Ubuntu

 

Tags : , , , , , , , , ,

How to Use Echolink (QTEL) on Ubuntu 14.04

Thanks to Joe for actually searching the solution(s) and emailing me.  I figured we should publish this for others.  I figured worst case scenario, I would probably need to log these solutions for later when I forget, ha.

First of all, you can apparently use the native Echolink windows app using Wine in Ubuntu. But that’s kind of like praying while sitting on the toilet – it might work but it just feels wrong.  But I digress.

I will use this outdated tutorial designed for Ubuntu.   This is kind of like roasting your own coffee – it might be hard, and there might be a faster way to do it but nothing compares to that first sip if you sweat it out.  But I digress again…

Let’s put this Qtel thing onto our Fresh and Saucy Ubuntu 14.04 machines so we can ham with our homeboys in Nunavut.

Edit 140728 – It seems that Joe’s ports 5200 below did *not* help me but, everything was solved when I opened port range 5198-5199 UDP only in my router.  Instantly my Qtel sound was working on Ubuntu 14.04.  I hope this helps you all!  I’ll so another post exclusively on this issue.

Edit 140718

So, if you want the long and painful story of what I had to go through before I finally got Qtel (echolink) working on my Ubuntu 14.04 machine, please take all the time in the world and read through the story. It’s kind of funny if you like watching people suffer.  Otherwise, I’m just leaving it below to hopefully catch a bunch of SEO and save other people from the certain loss of hair and sanity as they try to figure it out.  The solution turned out to be very fast and easy, thanks to Joe (VA7OBI).  All of that will begin under the header “The Long Battle” below.

How to Get Qtel (Echolink) Running on your Ubuntu 14.04 machine

First, we  are not sure if you need this PPA added to your machine.  Both of us added it before doing this so let us know this tutorial works without adding it as we are both curious (sudo apt-add-repository ppa:ubuntu-hams-updates/ppa) .  If this tutorial doesn’t work for you, come back and add that repository.

1. Add the “Felix Repository”

In your terminal (control + alt + t) enter this verbatim and press enter: sudo apt-add-repository ppa:felix.lechner/hamradio

2. Open software center. Go to Software Sources

qtel-tut-soft-sources-01
Should see something like this list:
qtel-tut-source-list

Go through and find the ‘felix repository’ which will look something like this but the end will be different (maybe):

qtel-tut-felix-source

3.  Click ‘edit’ and a box will pop up like this.  Change ‘trusty’ to ‘raring’ in that field.  If you are still on ‘Raring Ringtail’ then you don’t even need this tutorial because it should work as is now. For those of us on 14.04 (Trusty Tahr) Just change it back to ‘raring’ like this image:

qtel-tut-felix-source-raring

Click ‘ok’ and then ‘save’ or whatever the option is.  Then, do the same thing for the ‘source code’ line as well. Do ‘edit’ and change the name to raring so you end up with it looking like this

qtel-tut-felix-final

4. Now, go back to your terminal and run these two commands one after the other:

sudo apt-get update

(this one puts felix in your list of software sources so you can actually download and install the Qtel app)

sudo apt-get install qtel

 (this one installs the qtel app)

That’s it!  It should work. Now you can just start typing ‘qtel’ in your HUD (or however you like to find your installed apps) and click it.  It should open and prompt for your ham radio license and password.

Note: In my case, it seems like it’s working just fine.  In the case of Joe, he had to open ports 5200 (UDP and TDP) in his router. If you don’t know how to open ports in your router, this website has been amazing for years.

We hope this has helped you and that you will look me up on Echolink and send me a note. I think it supports voice and chat.

 

The Long Battle

Below are the details of the things I tried before finding the quick and easy solution.  I never got to the final solution because the above solution happened right before, ha.

Edit 140717 7:30am-8:30

I contacted VA7OBI on the ham (it’s cooler to fix ham issues on the ham) and we walked through this.  Joe in a moment of revelation decided to click the qtel .deb file and badda bing/boom it started installing with the software centre.  It gave a warning of bad quality but I also got this method to start to work and it shows it as installed now.

Edit 140717 5am-7am – Current situation: FAIL! Do not do anything in this post yet if you aren’t pretty advanced because I mucked up my computer doing some of this, but please feel free to help me!

What I’m going to do is follow these steps provided by Charles Socci K1DNR verbatim and if they work, you’ll have screenshots and stories along the way.  If there are hiccups, hopefully I’ll find them and fix as we we go.  Let’s begin:

1 – Download packages from http://www.chrisronk.net/ham/qtel-debian.tar.gz or http://lz5pn.homeip.net/lz5pn/echoli…-debian.tar.gz.

Comment: second link didn’t work but it went to a kind of cool blog.  Use the first link.  What I’m going to do is save the file as download and then move it to my documents directory in one I just named QTEL.

2 – Extract

Comment:  I did a right click on the tar file and ‘extract here’

3 – Install getlibs – (http://ubuntuforums.org/showthread.php?t=474790)

Comment: What the heck is a ‘getlib’? Sounds like a domain for promoting the liberal party…but I digress..  And I will install…ok, so this link doesn’t work.  I knew this would happen so that’s why I’m making this post. Now I went back and read this post referred by Charles which turned out to be quite interesting.  Maybe don’t do anything yet until I find out it’s necessary but note that it expands on the original Charles Socci post and may solve issues I don’t here.

Dang… that took a while.  Finding getlibs was hard but I found it on this page somewhere in the middle.  Save yourself the time and just put these in your terminal one at a time and hope it works (seems to have worked for me without a hitch)(thanks Jeff Hendricks whoever you are…):

wget -c http://jeffhendricks.net/getlibs-all.deb

sudo dpkg -i getlibs-all.deb

4 – Type: sudo dpkg -i –force-all qtel_0.11.0-2_i386.deb (or whatever the name of your qtel .deb file is – we won’t be using the other deb files you extracted)

Comments: I’m going to first check the file name of that thing I extracted to see if it’s the same as this file name here…it indeed appears to be the same.  I’ll try just plopping this in the terminal to see what happens…error. No directory.  I figured.  So I obviously have to direct my terminal to this first.  I will type:

cd /home

cd /usernameofcomputer

cd Documents

cd QTEL

cd qtel-debian

now I will try it again: sudo dpkg -i –force-all qtel_0.11.0-2_i386.deb

It did something…maybe…it worked? Next!

5 – Type: getlibs /usr/bin/qtel

Comments: Not looking good. Here is what I got:

No match for libecholib.so.0.13
No match for libasyncqt.so.0.16
No match for libasyncaudio.so.0.16
libqt-mt.so.3: libqt3-mt
No match for libmng.so.1
libjpeg.so.62: libjpeg62
libsigc-1.2.so.5: libsigc++-1.2-5c2
No match for libasynccore.so.0.16
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libqt3-mt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libqt3-mt’ has no installation candidate

But what I noticed is that at least some of these ‘no match’ folks are in the qtel directory debian file I just downloaded above…. Weird? I’ll just try to open the software and see what happens:

Fail. It did not open by clicking app icon, nor did it open by entering ‘qtel’ in terminal. By doing the latter, though, it showed it to be missing the echolib file…

–> libecholib.so.0.13: cannot open shared object file: No such file or directory

Back to this dude’s blog to try that install order…

Install in this order:

1 getlibs-all.deb
2 echolib_0.13.0-2_i386.deb
3 libasync_0.16.0-2_i386.deb
4 libsigc++1.2-5_1.2.7-2_i386.deb
5 qtel_0.11.0-2_i386.deb

I’m trying this in my terminal in the qtel directory:

1. (already done above)

2. sudo dpkg -i –force-all echolib_0.13.0-2_i386.deb (seemed to do something but I am out of order from this dude’s blog since qtel is already installed…)

3. sudo dpkg -i –force-all libasync_0.16.0-2_i386.deb (seemed to work, though forced)

4. sudo dpkg -i –force-all libsigc++1.2-5_1.2.7-2_i386.deb

5. (already done above)

Now I’ll try step 5 again:

5 – Type: getlibs /usr/bin/qtel

Not looking good again:

libqt-mt.so.3: libqt3-mt
No match for libmng.so.1
libjpeg.so.62: libjpeg62
libqt-mt.so.3: libqt3-mt
No match for libmng.so.1
libjpeg.so.62: libjpeg62
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libqt3-mt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libqt3-mt’ has no installation candidate
E: Package ‘libqt3-mt’ has no installation candidate

I’ll just try entering qtel in terminal again and see what happens this time…

FAIL:

libqt-mt.so.3: cannot open shared object file: No such file or directory

I’m going to try now to remove qtel since it was out of order in my install.

sudo apt-get remove qtel

Now I’m going to install it again by going to that package directory with debian files and typing this again:

sudo dpkg -i –force-all qtel_0.11.0-2_i386.deb

It ‘seems’ better:

dpkg: error processing archive –force-all (–install):
cannot access archive: No such file or directory
Selecting previously unselected package qtel.
(Reading database … 272460 files and directories currently installed.)
Preparing to unpack qtel_0.11.0-2_i386.deb …
Unpacking qtel (0.11.0-2) …
Setting up qtel (0.11.0-2) …
Processing triggers for gnome-menus (3.10.1-0ubuntu2) …
Processing triggers for desktop-file-utils (0.22-1ubuntu1) …
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for mime-support (3.54ubuntu1) …
Errors were encountered while processing:
–force-all

Try again qtel in my terminal:

FAIL! same error: libqt-mt.so.3: cannot open shared object file: No such file or directory

what’s this libqt thing? I want to kill you slowly and painfully!

Try clicking icon app through super key:

FAIL! Nothing.

I’m going to sudo-apt-get-remove-kill-and-destroy all of them now and do them one at a time again…

1. sudo apt-get remove getlibs

2. sudo apt-get remove echolib

3. sudo apt-get remove libasync

4. sudo apt-get remove libsigc++

5. sudo apt-get remove qtel

Man. Doesn’t seem to want to uninstall qtel. I might have goofed by not listing the full package names above.  Maybe I messed up my computer and should have followed verbatim these package names when doing the sudo apt-get removes….

I will try install again…

1.

wget -c http://jeffhendricks.net/getlibs-all.deb

sudo dpkg -i getlibs-all.deb

2. sudo dpkg -i –force-all echolib_0.13.0-2_i386.deb

3. sudo dpkg -i –force-all libasync_0.16.0-2_i386.deb

4. sudo dpkg -i –force-all libsigc++1.2-5_1.2.7-2_i386.deb

5. sudo dpkg -i –force-all qtel_0.11.0-2_i386.deb

ERROR!

libqt-mt.so.3

how to get you!

This nasty thread probably has some answers. I will do it for the team 🙁

and by the way I screwed up my software centre at some point so it’s messed. May need full new OS.

Time for a break.  I’m calling Joe!

 

 

Tags : , , , , , , , , , , , ,

Making Skype and your Mic Submit under the power of Ubuntu 13.10

It’s sad that we’re even using Skype on Ubuntu considering it’s owned by a company with zero interest in open source… but alas, some habits die hard and we don’t want this little program to prevent you from realizing that Ubuntu is, by far, the best thing that will happen to your computer life (and other parts as well – some of my best friends came from the Ubuntu community). Just for the records, though, we should be supporting the build of open source versions of VOIP software, or the inclusion of VOIP features in apps  such as Twinkle, Jabber, and the like.  At any point MS could pull back their API and you are SOL, PAL.

Everything in my Ubuntu life works very well – except for this non-Ubuntu annoying little foreign habit that I haven’t given up.  In particular I’ve been fighting my sound on just one laptop.  I’ve tried a myriad of tutorials and this and that, but what I’ve found to be a reliable work around is a simple change in the way I launch everything.  Here is what I do and I hope this solution is a nice easy way to fix your sound issues found within Skype in some beta releases of Ubuntu:

  1. Make sure your headset (or webcam, or whatever external device you are using for your sound) is unplugged.
  2. Start your computer and make sure everything else is up and running.
  3. Start Skype.
  4. Log in. You should hear the usual startup sound.  If not, you may have to open your sound settings and mess with the ‘alert volume’.  I didn’t find that little trick in any tutorial and it worked for me.
  5. Plug in your headset or audio device
  6. Follow this tutorial (the one with the screen shot with the red arrows). For me the solution was to unplug mic from sound card and plug it back in.  Might as well. Only takes a second.
  7. Do a Skype test call.  Hopefully everything is working well.

Although I don’t have time to research it, I think the source of my problems (besides the fact that Skype is the culprit in general) is that I have other audio-related software running and they fight for priority over the sound card.  Je ne sais pas.  All I know is this flow works for me and got me back in action while I try to find a way out of depending on Skype or Google..

Tags : , , , , , , ,