Skip to content

Updates

Finally updated the About page, as I hadn’t cleaned it up in over three years.

Also, I’m tweeting again, so that little Twitter icon over on the right side might be worth something.

Factory Reset a Locked Out Buffalo Terastation 5400

I have recently come across a Buffalo Terastation to which no one knew the administrator login. As there is no functional reset button, like one would find on consumer-grade routers and such, I had to go to the Buffalo website. Unfortunately, according to their documentation, one is supposed to create a recovery USB drive for cases such as this. As I cannot access those menus without the administrator login, that was pretty much useless.

I then found this post on their forums that discusses connecting a KVM to the NAS, putting the device in recovery mode, and flashing freshly-downloaded firmware to it. That seemed like what I’d have to do (and appears to still be the best option if you need to preserve the data on the device).

However, the device’s downloads page (your model number may vary), it turns out that you can download a “Bootable USB recovery image for TS5000 series”. This zip file contains DDWin, a program to write the image to your USB flash drive, and the image itself.

After running DDWin and writing the image to my flash drive, I could then refer back to Buffalo’s recovery instructions:

Recovering with the Boot Mode Switch (TS4000 and TS5000)

The boot mode switch is on the rear panel. You can recover by changing this switch when starting the TeraStation.

  1. Connect the USB memory device with the saved settings to a USB 2.0 port of the TeraStation (not a USB 3.0 port).
  2. Set the boot mode switch to “USB”.
  3. Press the power button to turn on the TeraStation.
  4. When the message “Recovery I41 PushFuncToStart” appears on the LCD panel, press the function button.
  5. Setting recovery starts. The TeraStation automatically shuts down when recovery is complete.
  6. After shutdown, “Recovery I39 Change Boot” is displayed.
  7. Set the boot mode switch to “HDD”.
  8. Press the power button to start the TeraStation.

IMPORTANT NOTE: This will delete all of the data off of the NAS. Don’t say I didn’t warn you!

Setup a Day of Defeat:Source Server on Linux

This is the basic method I use to create a number of game servers that I run for my gaming clan. All of these servers get a pretty decent load and work very well.

I am using an Ubuntu Linux 12.04 LTS server here, but this should work with most Linux distros.

Create A Game User

Here, I create a new user that the DoD:S server will run as. I named mine hlds, like the old version of the dedicated server, and have it use bash as it’s shell.

$ sudo useradd -s /bin/bash -m hlds
$ sudo passwd hlds

Then, I logout and log back in as this new user.

Install SteamCMD

As the game server user, run the following commands to download SteamCMD:

$ mkdir steamcmd
$ cd steamcmd
$ wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
$ ./steamcmd.sh

This will auto-update SteamCMD and leave you at a Steam> prompt. Now, we install the DoD:S server files.

Steam> login anonymous
Steam> force_install_dir ../
Steam> app_update 232290

This will take a while, as SteamCMD downloads all your server files. When it is done, it drops you back at the Steam> prompt and you can type quit.

Create Your Server Configuration

The game server does not come with a default configuration file, so without knowing what you’re doing, creating one can be kind of difficult. I like the dodbits DoD:S Server Config Maker, which will let you create one via fill in the blanks.

Take the server.cfg that this generates and place it in the dod/cfg/ folder.

Create A Startup Script

Using your favorite text editor (vim, emacs, etc), create a file called start.sh in your home directory. Place the following in there (obviously, change IP to match your server):

screen -A -m -d -S dod ./srcds_run -game dod +map dod_avalanche +maxplayers 30 +ip <server's ip address>

Save the file and exit your editor. Now, make that script executable with the following command:

$ chmod +x start.sh

You’re all ready to go at this point.

$ ./start.sh

will fire-up your server, but you won’t see anything. That’s because we used the screen command to separate the game from your terminal session. You can logout, but the game will keep on running.

So, how do you get in? Simple:

$ screen -x

Now, you are attached to the game server’s console. You can exit back out, keeping the server running, by pressing Ctrl+A then Ctrl+D.

New Computer Setup – October 2013

Get yourself a new computer recently? Here’s what I recommend doing before you start using it:

Head on over to Ninite.com. This site lets you pick from popular free applications and gives you an installer that downloads and installs your selected programs without you having to do anything. The programs that I recommend are:

  • Web Browsers: Chrome

Google Chrome is becoming a memory hog, but I can’t get myself to switch to Mozilla Firefox, as I keep having issues with it. If you’ve got more that 4 GB of RAM, you should be fine.

  • Media: VLC and iTunes (only if you have an iPhone/iPod)

VLC is the only media player you’ll ever need (except for playing Blu-Rays).

  • Runtimes: .NET, Silverlight (for Netflix), and Java (only if you need it)

Avoid Java if you can, as it has security vulnerabilities almost every month. At a bare minimum, disable it in your web browser.

  • Documents: Foxit Reader

Foxit Reader is a fast, easy-to-use, and secure PDF viewer. The latest version will even let you create PDFs.

  • Developer Tools: Notepad++

An outstanding text editor. I use it for coding and looking at all kinds of files. You may not need this one, but if you are a power user, you’ll want it.

  • Other: Steam (assuming you’re a gamer)
  • Utilities: TeamViewer (if I give you tech support) and Classic Start (only if you’re running Windows 8)

I use TeamViewer to remotely access my friends’ and family’s computers when they need tech support. If you’re one of these, then download it.

Classic Start brings the Start Button back to Windows 8.

  • Compression: 7-Zip

While I am a die-hard WinRAR fan, this is the next best thing and is free.

Anti-Virus

I am currently loving BitDefender Free, which is light on resources and works very well. Download and install.