Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

NAS How To

Samba and SWAT

The first thing we are going to set up is Samba, as this is what enables us to share the files in our big disk over our Windows network. SWAT (Samba Web Admin Tool) enables us to configure Samba over a nice web interface instead of digging through the samb.conf file that stores all the Samba settings. Have a quick read of the SWAT help files here.

To enable SWAT, we need to add it to our /etc/inetd.conf file, so type:

vi /etc/inetd.conf

At the bottom of the config file, there should be the following line:

swat stream tcp nowait.400 root/usr/sbin/tcpd /usr/sbin/swat

It might be in there, but commented out with '#'. Either way, make it's there and not commented out. Also, check for a lines referring to smbd and nmbd, but probably commented out. At any rate, before you close the file, make sure that you have the following lines at the bottom of your file:

netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd

Now restart your networking with:

/etc/init.d/inetd restart

This will enable Samba networking and the netbios IP naming. Once this is running, you will be able to refer to your Xbox with its DNS name (that you chose in the installation process, probably 'xbox') as well as its IP.

Now with your PC's web browser, go to http://ipaddress:901/ (again, using your own Xbox's IP address) and if all goes well, you should see an admin web page. Click on the Status button at the top and you should see that smbd and nmbd are running. If not, you probably did something wrong earlier, so go back and recheck the edits to the /etc/inetd.conf file.

Now click on Shares, type in a name (e.g 'samba_share'), and click Create Share. You will then be presented with a list of options about your new share. Change 'path' to the name of the directory that you mounted your hard drive into earlier, e.g. '/samba_share'. Now turn off read only, turn on guest ok and click Commit Changes. The result of all this created a share that is available as read and write for everyone. If you want to add specific privileges for users, then you'll need to add them to this page.

If you now go to your Windows PC and browse your workgroup, you should see an entry for your Xbox. Expand the icon and you should see your share, plus some other stuff like printers. For convenience, you can map the share to a drive letter (I chose 's') on each of your Windows machines.

Well done! You have completed the second step of your project!

More NAS

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Did anyone catch the firmware notes for this version? I missed the notes, and don't even see this version on their site!
What the subject says...I recently got my phone replaced (iphone xs) and its still happening so dont think its the phone. Have tried resetting network...
Hi, yesterday I decided to use my spare rpi3 foe pihole. Everything is running fine, as I set up the IP of the rpi as the dns on the router. I edited ...
What would be the best Merlin-supported router to buy today? I'm talking brute force-best, range and speed is the focus.Would it be better to go for a...
Hi,I have an Asus rt56u with latest merlin.I have configured an OpenVPN client for my vpn provider (nordvpn).I have 2 clients on network that are usin...

Don't Miss These

  • 1
  • 2
  • 3