if you get no response you will have to edit the <tt>/etc/resolv.conf</tt> file and add a [[w:Domain name system|DNS]] server address to the bottom

if you get no response you will have to edit the <tt>/etc/resolv.conf</tt> file and add a [[w:Domain name system|DNS]] server address to the bottom

+

'''''/etc/resolv.conf'''''

'''''/etc/resolv.conf'''''

#frontalot's static setup (adjust to your network settings)

#frontalot's static setup (adjust to your network settings)

Line 40:

Line 41:

nameserver 192.168.1.1

nameserver 192.168.1.1

<font color=red>nameserver <<DNS SERVER IP>></font>

<font color=red>nameserver <<DNS SERVER IP>></font>

−

<br><br><br>

[[Image:GeneralFreeLink4.jpg|100px|thumb|apt-get update]]

[[Image:GeneralFreeLink4.jpg|100px|thumb|apt-get update]]

'''5)''' Now we can begin installing software. Debian uses a program called aptitude to manage the software on your computer. Think of it as a very advanced command line version of Windows add / remove programs. First update the aptitude package list and install SSH:

'''5)''' Now we can begin installing software. Debian uses a program called aptitude to manage the software on your computer. Think of it as a very advanced command line version of Windows add / remove programs. First update the aptitude package list and install SSH:

Revision as of 15:49, 25 August 2006

This article Based on work by frontalot and mox69. Originally by frontalot. at Linkstationwiki.org

WARNING!

Please note that this guide comes with NO warranty whatsoever; you are using this at your own risk! Modifying your LinkStation in this way most likely will void your warranty.

How to Convert the LinkStation into a Full-fledged Debian Linux Server

The following guide will attempt to explain the steps involved in converting a stock Buffalo LinkStation into a fully functional Linux system with Samba administered via Webmin/SSH. The following is a list of things that I will assume from the reader:

You have a basic understanding of Linux command line functions.

Your LinkStation must be connected to the Internet! I have mine connected via a standard 5 port router to take advantage of the router's DHCP capabilities.

It will be handy to have the IP addresses of your ISP’s DNS servers.

You know the current IP address of your LinkStation.

Some familiarity with the Linux text editor called “vi.”

Install FreeLink

The Firmware Flasher

1) Grab the latest version of FreeLink from the downloads area and unzip it. Install the firmware per the instructions at: The LinkStation firmware flasher. You must have your computer on the same subnet as the LinkStation, e.g., 192.168.1.XXX. Open a telnet session to the LinkStation.

# telnet 192.168.1.XXX
Debian GNU/Linux 3.1 %h
root@LinkStation:/#

Change root password

2)Start by changing the root password:

passwd root

3) If you want to name your LinkStation something besides LinkStation, type the following commands (replacing BuffaloNas with your choice of name):

5) Now we can begin installing software. Debian uses a program called aptitude to manage the software on your computer. Think of it as a very advanced command line version of Windows add / remove programs. First update the aptitude package list and install SSH:

apt-get update

6) Then install OpenSSH:

note: this step is only necessary for the PowerPC(LS1,HG) versions of freelink. The MIPSel(LS2) version comes with SSH enabled

apt-get install ssh

log in with SSH

7) Answer the installation prompts, making sure to enable the SSH daemon (server). Now use your favorite SSH program to make sure we can SSH in (I prefer PuTTY). If SSH is working you should be able to log in like this:

apt-get upgrade

8) You should upgrade all currently installed programs:

apt-get upgrade

disable the telnet daemon

9) Now close out your telnet session and disable the telnet daemon (utelnetd):

rm /etc/rc2.d/S05utelnetd

apt-get install samba smbfs

10) Let's install specific packages. Type the following at the SSH prompt:

apt-get install samba smbfs

11) Answer all the prompts with the appropriate information. Make sure to use encrypted passwords and create a password database. Then install Webmin, a program which allows easy administration of the LinkStation via a web browser: