Subscribe to nixtalks RSS

Cyrillic letters in WINE

Submitted by Demontager on Thu, 12/18/2014 - 03:34

It is sometime happens when you need to run software or game in WINE whith cyrillic menus, informational prompts etc, but they are not readable at all instead some vodoo letters displayed.
If such problem occurred to you that means current system does not know about russian localization settings. So we need to add russian locales as follows

WI-FI autoconnect

Submitted by Demontager on Thu, 12/18/2014 - 03:32

When I set up Internet router on Raspberry Pi faced with problem of connecting to wi-fi networks automatically once they are available. My Raspberry Pi using non-GUI network configuration e.g. all settings defined in /etc/network/interfaces file
While googling found small scipt which deals with automatic connections, then i tried it and revealed that after long retries to connect to WI-FI AP dhcpclient spawning lot of proccess so then it leads to high memory consumption.
So i modified script and added few more checks - wifi-ap availability checking before connecting and binded to particular wi-fi network for convinience.

Coping files with SCP

Submitted by Demontager on Thu, 12/18/2014 - 03:30

SCP stands for Secure Copy, it allows to make files coping from local PC to remote or vise versa. Aslo its great feature to copy files between two remote hosts without intermediate local host.
SCP has security type as ssh connections.

DD progress bar

Submitted by Demontager on Thu, 12/11/2014 - 04:44

dd progressbar
DD is great utility to copy files and making disk clones, especially useful for second one. Any Linux distro has it on board also available in BSD systems
Nevertheless its simplicity dd works fine if you understand what you are doing, as it very dangerous at same time. Double check all paths before launching it as operation not reversible.
Only one thing very needed and lack in dd - operation progress. Yes you won't see any moving bars or counting digits - dd is silent.
So i will show how we can add such functionality to DD.

SSH without password

Submitted by Demontager on Thu, 12/11/2014 - 04:40

ssh password
If you frequently used to work with one or more ssh server, probably already wanted to enter password all every time. To save your time just setup
password-less ssh authorization.
Only two standard utilities required which available in any Debian based distros - ssh-keygen and ssh-copy-id
First one creates public and private keys, another utility coping public key to remote server and set proper permission to authorized_keys file

VNC server on Raspberry Pi

Submitted by Demontager on Thu, 12/11/2014 - 04:37

If you want to control your Raspberry Pi without display, but also you need X screen then straight forward way to setup VNC server and connect to it from other PC.
To get all done we need server and client software.

Router on Raspberry Pi

Submitted by Demontager on Thu, 12/11/2014 - 04:35

Recently in November bought Raspberry Pi model B+. The main feature of B model is that it has 4 USB ports and Micro SD-card slot.
RPI has been taken to serve as Internet Sharing router via WIFI. All settings are quite simple and does not require any special knowledge, we will use Linux terminal only.
Wifi network is going to work in bridge with embedded LAN card, as wifi dongle well known reliable TP-LINK TL-WN722N used.
Our cable and Wifi connected users will obtain IP addresses from DHCP server. Internet connection sharing enabled on both interfaces.

Webserver on RK3188

Submitted by Demontager on Thu, 11/28/2013 - 14:33

Webserver on RK3188
Before in Picuntu on RL3188 article explained why i need AndroidTV stick - to run webserver on it. And I believe most of people just watch videos and playing games on wide plasma TVs. But with RK3188 4 Core CPU you can get also realy amazing speed compared to low end Corei3 CPUs alongside with super low power consumption. My stress test showed maximum 10 watts usage with 100% CPU utilization. Benchmarks been carried out with pyrit password WPA recovery tool and siege website load testing tool.

Custom kernel for RK3188

Submitted by Demontager on Thu, 11/28/2013 - 10:44

Custom kernel for RK3188
Recently i wrote article how to install Picuntu on RK 3188, now i will show how to build custom kernel and enable wifi support. Some of RK3188 devices comes with ap6210 Broadcom other with Realtek RTL8188 chip. Last one known to work out of box on Picuntu, but ap6210 not, so to get it working we need compile custom kernel.
There is a great tool "Marvin" developed by phjanderson, github project located at https://github.com/phjanderson/marvin
It allows you to build custom kernels for deferent platforms, as example for Android and Linux.
Also I need say special thanks to Pierre aka perun from freaktab.com forum who helped me a lot to get things done.

So lets get started to build our own kernel with marvin.

Picuntu on RK3188

Submitted by Demontager on Wed, 11/27/2013 - 22:53

Picuntu on RK3188
If you are looking for low end computer with price less than 80$, you may try some AndroidTV mini-PC. Nevertheless of small size it equiped with 4 core Cortex A9 CPU running at 1.6 GHz, 2 Gb Ram and 8 Gb or 16 Gb internal storage space.
Almost all these devices shipped with Android OS and some "LE" edition with Linux. I got J22 CX-912 device with Broadcom ap6210 chip on Android OS. But my intention was to put webserver on it, so started to look for possible solution in Internet. And i found - Picuntu http://home.g8.net/ Ubuntu based Linux OS, actually it is Ubuntu with XFCE DM.

Step by step explanation how to install Picuntu on RK3188: