Posts for Tag: linux

Sabayon – nvidia-drivers with old radeon

If You have an older nvidia graphics card you may run into problems trying to install/use Sabayon linux. For example :

If you get an error during Sabayon live CD install, try to boot with nvidia kernel module disabled. Edit the kernel parameters at the boot menu, adding:

The newest binary nvidia driversRead More

SSH – new set of ciphers

In the newest versions of sshd the default available ciphers changed. If You are generating a lot of transfer through ssh You’ll probably want to speed id up by using a less resource consuming cipher.

The fastest ciphers like blowfish or arcfour aren’t enabled by default now. You have to add them to theRead More

Finding corrupted images using command line

If you want to find corrupted files using command line. 1. FEH:

2. jpeginfo

3. exiftool

Add a drive to raid1

First get information about the raid array:

The get information about the drive you’re going to add

If there are any partitions, delete them and create a one new primary partition with type fd – Auto RAID Add the prepared drive to the array:

And expand it:

Seat comfortable and watchRead More

speed test in bash

Measure the internet connection speed from the command line performing a speed test with the python client.

ntpd – don’t run late…

NTPD is a daemon that is using the NTP (Network Time Protocol) to synchronize you local watch with servers. NTPD is not changing the time after the synchronization. It calculates the difference (offset) between remote timer and the local one and after that adjusts the timer several times to minimize the offset. Install ntpd onRead More

Changing MAC address in Linux systems

To change MAC adress do as root:

Bash tricks – Some of the useful bash shortcuts

The bash tricks list: Quick cd to previous directory

Set the default text editor

Change the default history size (number of commands that are saved)

Find and run a command from history

or you can use CTRL-r Run the last command

Delete the actual line CTRL-u and paste it backRead More

Synchronizacja Google Drive w systemach linux.

Google Drive to wirtualny dysk pozwalający przechowywać dane u wujka Google. Ponieważ Google nie wypuściło jeszcze dedykowanego klienta dla Linux’a, który pozwalałby na synchronizację w stylu Dropbox’a, musimy oprzeć się o społeczność. Grive jest bardzo szybko rozwijającym się projektem, który pozwala na manualna synchronizację plików (w wersji 0.3).

SSH without a password

Connecting from Client to Server as User on port Port. Prepare server:

Create a key

Leave the password empty Copy the public key to the Server

Verify its working:

Why isn’t it working? Try ssh in verbose mode

More instructions & information:

Reset root password for MySQL

1. First stop the MySQL service

2. Prepare w file, which contains new credentails:

3. Run the mysql_safe with the newly created file:

4. start the MySQL service

Complete guide can be found here: