developer.shyd.de. studying my hobby

15Apr/115

Dockstar: Serial Connection

(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
Tagged as: , , | 10,482 views Continue reading
18Mar/117

Dockstar: Does not boot with self-compiled Kernel?

(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.

Tagged as: , , | 6,082 views Continue reading
15Mar/1125

Dockstar: new Kernel 2.6.38 ready to use

(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!

Tagged as: | 11,298 views Continue reading
11Mar/1115

Dockstar: Crosscompile a newer Kernel, set up Toolchain

(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.

Tagged as: , , , | 15,143 views Continue reading
6Mar/110

Motorola Defy: instabile Verbindung bei WLAN 802.11n

(No Ratings Yet)
Loading...

Auch mir ist aufgefallen, dass mein Defy oft die Verbindung verliert wenn eine Fritz!Box 7270 mit eingeschaltetem 802.11n benutzt wird.

Bei meiner wöchentlichen Beschau einiger Blogs bin ich auf einen Beitrag von dev-eth0 gestoßen, der WLAN-N im Handy abschaltet und so das Problem umgeht.
Zu dem Blogeintrag geht's hier: http://www.dev-eth0.de/archives/1002

Tagged as: , , | 18,871 views No Comments
5Mar/1122

Debian as Printserver and Scanserver with HPLIP, CUPS, SANE

(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.

6Feb/1119

Dockstar: HowTo setup OpenVPN on Debian

(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).

31Jan/1162

Debian as Download-Station: pyLoad (v0.4.7+)

(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]

Tagged as: , , , , | 41,539 views Continue reading
19Jan/1113

Dockstar-NAS: Automount, hd-idle, Samba, FTP

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

Having debian installed on the dockstar is quite nice but how about access to the data in there? In this article I will explain how you easily set up a data-storage with autofs, hd-idle, samba and proftpd.
I assume you have debian squeeze running on a usb stick and your data you want to share on your network is stored on an external hard-drive.

17Jan/1113

Seagate Dockstar Debian Squeeze

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

It's been some days now when I got my dockstar and I've been reading along the web to get more and more information about how to get debian to work with the dockstar. There are a couple of HowTo's out there, but I had to check at least a few of them to get to know what I wanted to know. So I decided to make my own HowTo as kind as a merged one with everything important in it.

Of course the first step was to unbox the little homeserver, but the second one, the most important step if you are going to put it online is to disable the Pogoplug software before you connect it to the internet by simply disabling the autoupdate on the NAND. You have done this already? Skip to part two!
Well then, you have to go offline, yes your wan-interface must go down.

Tagged as: , , , | 16,939 views Continue reading