developer.shyd.de. studying my hobby

22Jan/1243

Dockstar/Goflex: new Kernel 3.1.10 ready to use

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

It's now been a while since I installed the 3.1.0-1 kernel from sid and made some testing. But I don't like the LED beeing solid green during boot, I want to see whats going on. Thats why I decided to compile 3.1.10 with heartbeat from this erlier article: Dockstar: new Kernel 2.6.38 ready to use. The config is based on sid's 3.1.0-1, if you want to take a look at it, you will find it here: config-3.1.10-dockstar-shyd_1.2
It supports several devices like wifi, webcam, audio or dvb.

Some of you might ask why I didn't build 3.2.1. I did, but it wouldn't boot.

Filed under: Dockstar, Goflex, Hardware, Kernel, Linux | 21,617 views Continue reading
5Jan/120

What is your opinion?

It's been a while now since my blog became popular and I have more than thousand visitors a month. Thank you for your confidence and comments you made!
What about something new in 2012?

I am thinking of adding a forum to this blog in order to let you post your projects and modifications (e.g. at the dockstar) with the chance of being featured on the blog. It would let you answer someones questions without waiting for my reply. When I look at google analytics there are a couple of sites out the web discussing my articles. Why not discussing here with the chance of some words from me?

Before setting it up I want to know what you think about this idea. If you participate the poll I would appreciate you comment on your choise.

Should I add a forum to this blog to discuss things more easy?

  • Yes, great idea! (64%, 16 Votes)
  • Nah, it's not worth it. (32%, 8 Votes)
  • I don't care. (4%, 1 Votes)

Total Voters: 25

Loading ... Loading ...
Filed under: Website | 4,738 views No Comments
3Jan/1223

Remote printing: Debian and Google Cloud Print

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

Have you ever heard of google cloud print? It allows you to add your printers to the cloud and share them. You can print on them from any device supporting this service, even if you are on another network. This sounds pretty cool, I gave it a try and I am really amazed.

None of my printers doesn't support cloud print directly, so I need a google chrome installation to share the printer. But I don't want to have my computer to run when printing remotely. There is a project called Google CloudPrint on Linux which allows you to use this nice service from the command line. At this point the dockstar or the linkstation joines the game.

26Nov/1121

Shairport: Debian as Airtunes Server

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

Recently some friends and me were talking about streaming music from iTunes to my dockstar with an usb sound device connected.
I knew there is a solution, so I started some research an found shairport at mafipulation.org. The project looks quite interesting and I tried to set everything up that I am able to play my music remotely.

First there are some dependencies you need to install:

Now all you need to do is download the sources, make and install them:
Get the sources at github.com/albertz/shairport/downloads.

1Aug/11114

miniDLNA: Dockstar as DLNA-Server v1.1.4

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

Today I noticed there is a new version of miniDLNA available. When the build process was running I decided to make a deb-file that you guys don't have to compile the sources yourself.

Some people don't want to install the build-environment or sources of dependencies, that's two of the reasons why I put the files together into an installable deb-file, there you go: (Look at the updates below for feature versions!)

Now edit the config in /etc/minidlna.conf and start the service:

If everything works fine, the server should show up on your dlna-clients.

If your kernel supports inotify (my 3.1.10 does) and you want miniDLNA to use it, check if the device is present:

If it's not created automatically by udev, you have to do it manually:

After you restarted miniDLNA you should instantly see directorychanges on your clients.

Update 12.09.2011: v1.0.22

I just compiled the new version and packed it to a new deb file. To update just install it:

In the version tag I added a version number lower than sid to avoid problems during system upgrade, thanks to fear_factory84!

Update 28.01.2012: v1.0.23

Today I found some time to build the new version into a deb-file. There you go:

Update 21.02.2012: v1.0.24

Just build the new version into a deb-file. There you go:

Update 24.07.2012: v1.0.25

Just build the new version into a deb-file. There you go:

Update 18.06.2013: v1.0.26

Just build the new version into a deb-file.
Because of a dependency change, you need to update libavformat. It isn't part of the debian repo, so we need deb-multimedia. Follow the intructions on deb-multimedia.org how to include it in your sources.list!
Then install my .deb and update the deps:

Update 09.03.2014: v1.1.2

Just build the new version into a deb-file.
Maybe you need to remove older versions of minidlna, because the developer changed its path from /usr/sbin to /usr/local/sbin.
Backup your current config and install my .deb:

Update 06.09.2014: v1.1.4

Just build the new version into a deb-file.
Backup your current config and install my .deb:

Filed under: Dockstar, Goflex, Hardware, Linkstation, Linux, Raspberry Pi | 124,904 views 114 Comments
26Jul/110

Netcat: stdin/stdout over network

(2 votes, average: 4.00 out of 5)
Loading...

Recently I wanted to transfer data over the local network. I had to make an image of a drive, so I used dd.

To do this I used nc to redirect stdin and sdtout as follows:

It's important to set up the destination host first:

On the source host you start the transfer with

nc is not limited to dd, you can redirect any stream you want to.

Filed under: HowTo, Linux | 5,194 views No Comments
16May/115

Ubuntu 11.04: install Broadcom b43xx Wifi Driver

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

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.

During the installation the required modules are built.
Test the wireless connection after

If your wifi works now you can make the module be loaded every startup by appending b43 to /etc/modules:

Tagged as: | 5,856 views 5 Comments
29Apr/111

SSH: Login without Password

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

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:

Second you add the key to the remote user's keychain:

If you can't ssh-copy-id use cat to add the key:

Show »

Now you will be able to engage the connection without typing the password first. If you want this comfort for several users, you have to repeat this procedure for each userpair.

Tagged as: , | 4,721 views 1 Comment
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,436 views Continue reading
1Apr/112

Android: pyLoad App

(2 votes, average: 3.50 out of 5)
Loading...

Since I installed pyLoad on my dockstar I used Jabber to get download statuses and add new packages. Then I updated pyLoad to v0.4.5 and saw there is support of an Android app. It's pretty cool though, you see every info you want to see when using a remote app. These three sections of the web interface are available: Overview, Queue and Collector. More or less the whole web interface is put into this app. There are no problems so far, everything is working flawlessly.

If you want to install it on your phone, click the QR code or scan it with your android device.

Tagged as: , , | 3,117 views 2 Comments