понеделник, 6 юни 2016 г.

Remote desktop connection from Ubuntu 16.04 to Windows 10 desktop via sstp client, vpn connection and Remmia

Here are the needed steps to run a RDP session from Ubuntu to Windows work PC.

Get the needed pakages:

from (https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial).

Import a key from a termnal:

   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 61FF9694161CE595

Create a repository list:

   sudo touch /etc/apt/sources.list.d/sstp-client.list

Add next lines:

   deb http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main
   deb-src http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main

Refresh the apt cache:

   sudo apt-get update

Check for installed SSTP:

   sudo apt-cache search sstp

Install needed packages:

   sudo apt-get install sstp-client network-manager-sstp network-manager-sstp-gnome -y

Create a new VPN connection by choosing newly added SSTP connection type.

Install Remmia (RDP client) to your Ubuntu and create connection to the desired host inside the office VPN.

All you need to view your workplace is to run the VPN connection and after that the Remmia RDP session.



петък, 19 февруари 2016 г.

Double tethering - Share phone's Internet to Windows desktop through Ubuntu notebook

There was a case when I needed an Internet on my desktop, but only available was on my Meizu phone. After several touching (on the phone), searching in Yandex and clicking on mynote and desktop, the desktop machine was connected to WWW.
I followed 2 advices: http://askubuntu.com/questions/359856/share-wireless-internet-connection-through-ethernet and http://askubuntu.com/questions/169473/sharing-connection-to-other-pcs-via-wired-ethernet
There was no need to set manual IP-s, so the connection was established by default.

сряда, 16 септември 2015 г.

RST Оценка

Оценка сигнала
     Необходимый минимум обмена информацией при радиосвязи это позывной кореспондента и оценка слышимости вашего сигнала, переданная им для Вас. Для того чтобы оценить сигналы корреспондента, применяют так называемую систему "RST" состоящую из трех (для телеграфа) или двух (для телефонии) цифр. Первой - "R" -оценивается разборчивость сигнала по пятибалльной шкале , второй - "S" - сила сигнала по девятибалльной шкале, третьей - "Т" -(тон)-качество тона телеграфного сигнала по девятибалльной шкале.

R (баллов) Разборчивость
  Принимается все полностью
4  Теряются отдельные слова
3  Прием с большим трудом

S (баллов) Громкость
  Очень громкие сигналы
8  Громкие сигналы
7  Умеренно громкие сигналы
6  Прием с небольшим напряжением
5  Прием со средним напряжением
4  Прием с большим напряжением
3  Прием на грани возможного

петък, 11 септември 2015 г.

QSO Дневник 2015 г.

Дата Час Мой QTH Инициал Име Връзка през QTH QTH - постояннен Антена Приемам го на Приема ме на Забележка
11.09.2015  22:15  Сф. Симеоново LZ1ABG Боян
Нови Искър Нови Искър Mobile Q5 Q4 Лен 100 канала

неделя, 2 февруари 2014 г.

RAMJ - Raspberry, Apache Tomcat, MySQL, Java host server

In this post I will show how to run RAMJ server for test purposes on Raspberry Pi computer.

Step 1

On Raspbian Wheezy, the Java is preisntalled (/usr/lib/jvm/jdk-7-oracle-armhf/jre/bin),
but in case it is not there you can install it easily.
There is no need to be Unix guru, all you need is to perform:
sudo apt-get update && sudo apt-get install oracle-java7-jdk
Our Apache Tomcat server needs to know where the Java is located.export JAVA_HOME="/usr/lib/jvm/jdk-7-oracle-armhf"
export PATH=$PATH:$JAVA_HOME/bin
Check the path echo $JAVA_HOME.

Step 2

Installing the Tomcat is not tricky too.
Download it from:

After the download completes, untar the file.
tar -zxvf apache-tomcat-7.0.50.tar.gz
-z : Uncompress the resulting archive with gzip command.
-x : Extract to disk from the archive.
-v : Produce verbose output i.e. show progress and file names while extracting files.
-f data.tar.gz : Read the archive from the specified file called data.tar.gz.

In order to start Tomcat, we need to add it as an environment variable in the /.bashrc file: sudo nano ~/.bashrc
We have add next rows to the end of the file:

export export JAVA_HOME=/usr/lib/jvm/jdk-7-oracle-armhf
export CATALINA_HOME=~/home/pi/apache-tomcat-7.0.50

After saving the additions we can make the changes effective by restarting the bashrc file: ~/.bashrc

It is more convenient to have Tomcat started on each linux startup.
For that we have to create start script and place it in /etc/init.d

sudo nano tomcat7
# Short-Description: Start Tomcat.
# Description: Start the Tomcat servlet engine.
# Tomcat 7 init-script
export JAVA_HOME
export PATH
case $1 in
 sh $CATALINA_HOME/bin/startup.sh
 echo "tomcat7 started successfully"
 sh $CATALINA_HOME/bin/shutdown.sh
 echo "tomcat7 stoped successfully"
 sh /home/pi/apache-tomcat-7.0.50/bin/shutdown.sh
 sh /home/pi/apache-tomcat-7.0.50/bin/startup.sh
 echo "tomcat7 restarted successfully"
 sh $CATALINA_HOME/bin/startup.sh
 echo "tomcat7 started successfully"
exit 0

After saving it with Ctrl ^x, we have to make it executable.
sudo chmod 751 tomcat7
sudo update-rc.d tomcat7 defaults

Check if it works, type sudo reboot, after the restart, type  in RP Midori browser the address of the default Tomcat's page: http://localhost:8080

Step 3

Now download the MySQL archve from: To be continued...

сряда, 15 януари 2014 г.

How do I run my ATX power supply without a motherboard?

Just short pin 13 and 14 as long as you want the supply to be on.