Samstag, 12. Oktober 2013

Enable WiFi on Travelmate 3040 (Intel Corporation PRO/Wireless 3945ABG) with freshly installed Debian 7

In order to enable WiFi, the Intel Firmware package for the WiFi card needs to be installed from the non-free repositories.

1. Add "non-free" repository to your source.list file in /etc/apt/sources.list

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free

2, Install the package "firmware-iwlwifi" via apt

apt-get install firmware-iwlwifi

 

Freitag, 13. September 2013

ssh without passwords

In order to login via ssh without the need of typing a password, you can make usage of ssh authorized keys.

1. generate ssh keys (rsa or dsa key pairs)

ssh-keygen -t rsa
ssh-keygen -t dsa


2. copy public key to remote system and never share your private key :)


cat ~/.ssh/*.pub | ssh user@remote-system 'umask 077; cat >> .ssh/authorized_keys'

Donnerstag, 22. August 2013

Backup user folders on Windows machines using robobopy

robocopy /MIR /XJ 
/MIR (Mirroring) 
/XJ (exclude NTFS junctions, to avoid infinite loops) 

Example: robocopy c:\users d:\backup\users /MIR /XJ

MacOSX backup SD card