Christians Blog

Stuff about stuff
##########################################################################
Unused Header
##########################################################################

Linkstation on Linux

June 15th, 2010

I got myself a Buffalo Linkstation (NAS) and got some Linux experiences with it the tough way. Especially I’ve had my share of learning, man’ing when trying to mount this beast. So I hope that sharing this will help somebody getting an easy experience.

This is based on a live Ubuntu 10.04. Linux is not officially supported by Buffalo and what you do is on your own risk.

Prerequisites

To be able to mount, you need the smbfs package as it contains mount.cifs:
sudo apt-get install smbfs

Mounting Linkstation

We need to ensure that some important things are in place when mounting

The IP address is 192.168.1.36 and the shared directory is “share”

First argument is //192.168.1.36/share. Remember the leading double slash or it will fail.

We would like to mount at /media/linkstation
Second argument is /media/linkstation. Remember to create the directory.

The charset must be correct. Otherwise, “Røde Mor” becomes “R├╕de Mor”
use options iocharset=utf8,codepage=cp437. Don’t ask me why, but I guess that it has something to do with the codepage that Windows uses

The user/group must match be “ubuntu” (default is root)
use options uid=999,gid=999. “999″ is looked up in /etc/passwd.

Linkstation shall use the guest account and avoid password
option guest

now, the full command line becomes
sudo mount.cifs //192.168.1.36/share /media/linkstation -oguest,uid=999,gid=999,iocharset=utf8,codepage=cp437

Remember the -o or the options will be silently ignored :pinch:

Now, the Linkstation is nicely mounted and the file names are encoded correctly. To unmount, simply type

sudo unmount /media/linkstation

Happy Linkstation’ing!

Update me when site is updated
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Facebook
  • Google Bookmarks
  • LinkedIn

Tykke Amerikanske Pandekager

December 13th, 2009

Der er intet så lækkert som tykke amerikanske pandekager. De er gode både til morgenmad og som dessert. Her er min opskrift som har lykkedes to gange indtil videre og vil blive brugt mange gange i fremtiden. Ingredienser (2 portioner) 2-4 æg 1 kop kærnemælk 2 spsk olie 1 kop hvedemel 1 spsk sukker ½ tsk salt 1½ tsk bagepulver ½-1 tsk kardemomme Fremgangsmåde De tørre ingredienser sigtes sammen Read More...

Subwoofer Project

October 25th, 2009

This post will be updated as I decide on the different aspects. I've decided to build a subwoofer + amp for my old, rusty, trustworthy Felicia. This is how my brainstorm has ended up so far: TDA1562 based amp Like http://www.stardi.com/diy-12-volt-chip-amp-70-watts-car-power-amplifier/ Requires ~12V and provides 70W music power into 4Ω Read More...

913 m2 fuldt modnet byggegrund i Vester Hassing

May 23rd, 2009

913 m2 byggegrund blot et par minutters gang fra centrum af Vester Hassing. Udstykningen ligger op til centrum, hvor landzonen tidligere har kilet sig ind. På én gang dejligt tæt på bykernen og samtidigt lige op ad naturen. Se mere om udstykningen hos Aalborg Kommune. Byggemodning er 100% færdig med vand, el, kabel TV, vejanlæg, fortove osv Read More...