Top

Linux

[ratings] When I was upgrading some laptops to Ubuntu 11.04 Natty there were no wifi drivers for broadcom 43xx installed afterwards. I had to use a cable to get into the internet. To solve this problem I installed three packages and got the wireless cards back to work. [crayon-5913f0c31b3bf592392680/] During the installation the required modules are built. Test the wireless connection after [crayon-5913f0c31b3c8480237638/] If your wifi works now you can make the module be loaded every startup by appending b43 to /etc/modules: [crayon-5913f0c31b3ca610152183/]...

[ratings] Are you tired of typing the password all the time when connecting to a ssh-session in unix? I am. The solution is very simple, the only thing you have to do is to add your public RSA-key to the remote user's keychain. First you have to generate the public RSA-key of your local user: [crayon-5913f0c31be40922255010/] Second you add the key to the remote user's keychain: [crayon-5913f0c31be46215495086/] If you can't ssh-copy-id use cat to add the key: [crayon-5913f0c31be48032165839/] Now you will be able to engage...

(3 votes, average: 5.00 out of 5)
Loading...

Normally you should be able to manage the dockstar over the ethernet, but what if you can’t establish no connection because you did something wrong? There is a serial connector inside the device we can use for debugging and other things.

1. Required: USB to TTL bridge

Some weeks ago I ordered an USB to TTL UART bridge on eBay, just to have it if I will need it. You also can buy it on amazon: USB2.0 an TTL UART 6pin Konverter seriell CP2102 ID9372 PAUB022
Here are some technical specifications of the one I bought:

All handshaking and modem interface signals
Data formats supported: 8-bit; 1 Stop bit
Parity: Odd, Even, No Parity
Baud rates: 300 bps to 921.6 kbps
512 byte receive buffer; 512 byte transmit buffer
Hardware X-On/X-Off handshaking
Event character support
6 Pins: 3.3V, RST, TxD, RxD, GND, 5V

(4 votes, average: 5.00 out of 5)
Loading...

When I was trying to find proper kernel configs for the dockstar, I had to try several builds. Everytime my kernel didn’t boot I had to revert the arcNumber and install a working kernel again.

There are two ways to test a kernel:

  1. Grab another USB stick, make a backup and try the kernel on this backup. If you always do a new backup before testing another build, it will take a long time.
  2. Test the kernel on the running system (or a backup-stick) and reinstall another kernel in case yours wont boot. In difference to 1. you do this in a chrooted jail.

I want to explain how you do the chroot thing with some lines.

(4 votes, average: 5.00 out of 5)
Loading...

During the last days I was playing around with several kernel-configs and different release versions. Today a new version came out and I built it with the last config I used. In my build I additionally enabled XFS filesystem support and USB sound. If you install my kernel, you don’t have to change anything except the device ID concerning the LED if you come from gorgone’s heavykernel.

If anybody knows how to build a kernel with gspca drivers for webcam support I would appreciate a short mail!

(1 votes, average: 5.00 out of 5)
Loading...

Recently I wanted to copy some files between two servers. Yes I haven’t done this before in a terminal session. Usually I utilize GUI powered tools to do the job via SFTP.

I decided to do this with SCP because it’s way faster than SFTP, http://www.kontrolit.net/glossary/ sais:

SFTP, Secure File Transfer Program similar to ftp, but performs all operations over an encrypted SSH transport, thus gaining the features of public key encryption and compression.

SCP, Secure Copy is a program to copy files between hosts on a network. It too uses SSH for authentication and data transfer, thus gaining the features of strong authentication and secure encrypted communications.

Some googleing brought me to this site: http://www.examplenow.com/scp/ Instead of bookmarking it I share the information with you.
These are some methods how you can copy files or whole directories:

(3 votes, average: 5.00 out of 5)
Loading...

Some days ago I wanted to test the performance of a partition with XFS as its filesystem. But I wasn’t able to mount it. After a look into the kernelconfig of gorgone’s heavykernel I noticed that he obviously didn’t build it with XFS-support.

I do want to make the test and take a look at kernelbuilding things anyway. Well, I don’t want to keep it back, so I decided to verbalize the steps I took.
In this guide you will learn how to set up the crosscompile toolchain to let a more powerful CPU do the job. If you prefer doing the whole thing on the dockstar it will take you several hours.
Further more we will go through the build process until we have a deb-file with the built kernel.

(10 votes, average: 4.80 out of 5)
Loading...

It’s nice to have a little home-server like the Seagate Dockstar or the Buffalo Linkstation running debian quite smoothly. What do you do if you would like to use your printer and scanner with more than one device?

Yes, you connect it to your server and share it over the network!
Because I had to set this up in two locations for now I decided to write down those steps I took from powering on the printer through printing the first testpage I can scan later on.

This HowTo requires debian squeeze installed on your Dockstar/Linkstation. If you haven’t done this yet, please refer to other articles in this blog.

(8 votes, average: 5.00 out of 5)
Loading...

Well, if you want to have a secure connection to your dockstar or even your home net, this post describes all steps you have to take to get this done. In my setup I have a dd-wrt router connected to the internet and forwarding all needed ports to the dockstar. You probably don’t use a firewall on the debian machine, but you will have to, because we need package forwarding to reach the home net through the VPN tunnel. I assume you don’t use your dockstar as the default gateway for your LAN, so you will need an additional route in the router:

Let me explain the path of the packages of a ping from a remote machine to a host in the LAN. For the different subnets refer to the exhibit (VPN: 10.8.0.0/24; LAN: 192.168.0.0/24).

(9 votes, average: 4.78 out of 5)
Loading...

You want to turn your little home-server into a download agent you can control through a web-interface or a jabber account on your mobile phone? Then follow these few steps to get this done quickly.
What is pyLoad? Let’s read the introduction from the developers’ website:

pyLoad is a fast, lightweight and full featured download manager for many One-Click-Hoster, container formats like DLC, video sites or just plain http/ftp links. It aims for low hardware requirements and platform independence to be runnable on all kind of systems (desktop pc, netbook, NAS, router).
Despite its strict restriction it is packed full of features just like webinterface, captcha recognition, unrar and much more. [http://pyload.org]