Ubuntu-tips

This is quick tutorial that shows you how to install and setup a Telnet server in Ubuntu 14.04 LTS.

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections. It allows one computer to access a command-line interface on a remote host.

Telnet is insecure because the communication is not encrypted, your password and all other data will be transmitted as clear text. If possible avoid Telnet, and use Secure Shell (SSH) instead.

If you really want to enable the Telnet in Ubuntu, just run the command below in text console (terminal) to install Telnet server:

sudo apt-get install xinetd telnetd

Install Telnet Server in Ubuntu

The Telnet service is started automatically once the installation is done. And you can either run telnet serverip or use a Telnet client (PuTTy, SecureCRT, etc.) to access this server.

Telnet Login

To change the port (default is 23), edit the /etc/services file with your favorite text editor. Find out and change the number in the line below:

telnet        23/tcp 

To apply changes, you have to restart the service by running the command below:

sudo /etc/init.d/xinetd restart

More configurations, see this document.

Ubuntu 15.04 Alpha 1

The first alpha of the next Ubuntu 15.04 Vivid Vervet has been released today. It features images for Kubuntu, Lubuntu, Ubuntu GNOME, UbuntuKylin and the Ubuntu Cloud images.

NOTE Pre-releases of the Vivid Vervet are *not* encouraged for anyone needing a stable system or anyone who is not comfortable running into occasional, even frequent breakage. They are, however, recommended for Ubuntu flavor developers and those who want to help in testing, reporting and fixing bugs as we work towards getting this release ready.

Alpha 1 includes a number of software updates that are ready for wider testing. This is quite an early set of images, so you should expect some bugs.

  • Kubuntu 15.04: The Plasma 5 is now the default.
  • Ubuntu Gnome 15.04:
    • Gnome-shell is still 3.12 for now (hopefully by Alpha 2, we shall have 3.14).
    • Few applications have been updated to 3.14 (hopefully by Alpha 2, most of the applications will be 3.14).
    • gnome-terminal has transparency again.
    • Window control Button layouts have been reverted to upstream default (only close); use gnome-tweak-tool if you want to get back the other controls.

Download Ubuntu 15.04 Flavors:

via: fridge.ubuntu.com

Linux Kernel 3.18.1

The first update of the latest Linux Kernel 3.18 series has been released recently. Greg Kroah-Hartman urges all users of this kernel series to upgrade as soon as possible.

Linux Kernel 3.18.1 is a small release which brings some fixes to wireless and alsa drivers. If you’re using the Asus Z99He laptop, a EAPD fixup has been added to solve “internal speaker not working” issue. For details, see the Linux Kernel Mailing List page.

How to Upgrade to Kernel 3.18.1 in Ubuntu:

The Ubuntu Kernel Team has made the packages for the new kernel release, available for download at the link below:

Download Kernel 3.18.1 .debs

First check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-3.18.1-031801_xxx_all.deb
  2. linux-headers-3.18.1-031801-generic_3.18.1-031801.xxx_i386/amd64.deb
  3. linux-image-3.18.1-031801-generic_3.18.1-031801.xxx_i386/amd64.deb

For Ubuntu Server edition with graphical session, run below commands one by one to download & install the kernel debs:

For 64-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801-generic_3.18.1-031801.201412170637_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801_3.18.1-031801.201412170637_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-image-3.18.1-031801-generic_3.18.1-031801.201412170637_amd64.deb

sudo dpkg -i linux-headers-3.18.1-*.deb linux-image-3.18.1-*.deb

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801-generic_3.18.1-031801.201412170637_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801_3.18.1-031801.201412170637_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-image-3.18.1-031801-generic_3.18.1-031801.201412170637_i386.deb

sudo dpkg -i linux-headers-3.18.1-*.deb linux-image-3.18.1-*.deb

Once done, restart the machine.

If for some reason, the new kernel does not work properly for you, reboot with the previous Kernel (Grub boot loader -> Advanced -> select previous kernel) and run below command to remove Linux Kernel 3.18.1:

sudo apt-get remove linux-headers-3.18.1-* linux-image-3.18.1-* && sudo update-grub

That’s it. Enjoy!

CDemu Vritual CD DVD drive

Looking for a virtual cd/dvd drive software for Ubuntu? CDemu is an open-source software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs) on Linux.

CDEmu consists of:

  • a kernel module implementing a virtual drive-controller
  • libmirage which is a software library for interpreting optical disc images
  • a daemon which emulates the functionality of an optical drive+disc
  • textmode and GTK clients for controlling the emulator

Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed.

cdemu GTK client

Install CDemu in Ubuntu 14.04:

There is an unofficial PPA repository that contains the CDemu packages for Ubuntu 14.04 LTS and Linux Mint 17.

To add the PPA, press Ctrl+Alt+T to open terminal. When it opens, run the command below and type in your user password when it asks:

sudo add-apt-repository ppa:cdemu/ppa

After added the PPA, update system package lists and install the emulator by running below commands one by one:

sudo apt-get update

sudo apt-get install gcdemu cdemu-client

Install cdemu in Ubuntu

Once installed, start the GTK client gCDEmu from the Dash or Menu. Or run cdemu -h to get the command line help.

Battle For Wesnoth in Ubuntu

The Battle for Wesnoth game has reached a new stable series by releasing the 1.12.0 release. Here’s how to install it in Ubuntu from PPA.

The Battle for Wesnoth is a turn-based strategy video game with a fantasy setting, featuring both single-player, and online/hotseat multiplayer combat. In Wesnoth, the player attempts to build a powerful army by controlling villages and defeating enemies for experience. The game is loosely based on the Sega Genesis games Master of Monsters and Warsong.

The latest Wesnoth 1.12.0 was released a few days ago, which brings forth loads of new features for players and content creators, as well as a vast number of bug fixes and small enhancements. A new multiplayer faction, a refurnished game interface, and an improved map editor comprise only a small fraction of the changes this new version has to offer to veterans from previous versions.

For details, go to the official web page.

Screenshots:

wesnoth-1.12.0-1 wesnoth-1.12.0-2
wesnoth-1.12.0-3 wesnoth-1.12.0-4
wesnoth-1.12.0-5 wesnoth-1.12.0-6
wesnoth-1.12.0-7 wesnoth-1.12.0-8

How to Install Battle for Wesnoth 1.12.0 in Ubuntu:

An unofficial PPA has made the new release into PPA, available for Ubuntu 14.04, Ubuntu 14.10 and Linux Mint 17.

To install the game, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:vincent-c/wesnoth

sudo apt-get update

sudo apt-get install wesnoth-1.12

Above commands will add the PPA repository, update your system package cache, and finally download & install the game.