Hello. My name is Craig and I've been an avid user of Smoothwall for about three or four years now. In an effort to cut energy usage by reducing the number of systems in use at one time, I decided to merge the router with a file server (of course, only serving inside the GREEN network.)
As always, one should be very careful with adding new services - it should be fine when it comes to home networks such as mine where you can control what goes on with the systems inside the network. However, for businesses this isn't recommended. Moving on!
My old smoothwall:
Pentium III 450MHz
196MB RAM
1.5GB HD
My file server (for the Xbox among other things)
AMD Athlon 64 3200+
2GB RAM
A plethora of hard drives
My goal:
Repurpose the AMD Athlon XP 1800+ I had sitting around and turn it into a home router/server
Without further ado, here is what you need:
1) Install the Smoothwall 3.0 Developers Edition
2) Download the Samba source
here
3) Some knowledge of vi - I will try to help a bit here
Instructions
1) Untar the Samba source
Code:
> tar xzvf samba-latest.tar.gz
2) Compile and install Samba (please note that actual directory name of the Samba source may vary, please adjust accordingly!
Code:
> cd ./samba-3.0.25b/source
> ./configure
> make
> make install
3) Add Samba to /etc/rc.d/rc.sysinit
Code:
vi /etc/rc.d/rc.sysinit
While in vi, use the arrow keys to scroll down to the bottom. Place the cursor right above the following line:
Code:
echo "Silencing kernel, syslog output on tty12"
Press the 'i' key to go into INSERT mode, then add the following right above the aforementioned line:
Code:
echo "Starting Samba"
/usr/local/samba/sbin/smbd
Press ESC to get out of INSERT mode and then type ':wq' to write file and then quit.
4) Create a new smb.conf file
This is where your mileage WILL vary. The following I have typed is tailored for my own system/network, where I am in complete control of all the systems connected to my network and am not worried about security issues from the inside. Also, I'm a newbie when it comes to Samba so if you could help optimize this for me, that'll be great.
Code:
vi /usr/local/samba/lib/smb.conf
It will appear as a new file. Press 'i' to go into insert mode and type/paste the following:
Code:
[global]
workgroup = WORKGROUP
netbios name = homeserver
security = user
interfaces = 192.168.0.1/24
preferred master = yes
[media]
path = /files
comment = Media for Xbox
guest ok = yes
writable = yes
When you've typed it all, press ESC to go out of INSERT mode and then type ":wq" to write the file and then quit.
Your best bet is to go back to the directory where you untared the Samba source code and go to the 'examples' folder and then open up smb.conf.default and follow the directions there. It's wonderfully commented and helped me a lot.
5) Add 'root' user to Samba
Code:
> cd /usr/local/samba/bin
> ./smbpasswd -a root
New SMB password:
Retype new SMB password:
Next course of action for me is to figure out how to get Serial ATA working in Smoothwall so I can use my SATA drives.

Figure I'll have to recompile the kernel somehow. This is my first howto, so if there are any problems please don't hesitate to let me know. Thank you!
Special Thanks
The Smoothwall Team for such a great product! 4 years as a Smoothwall user and counting!
My friend Joe for testing my directions and letting me know about mistakes I made.