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

I have been trying to minimize interference with other neighbouring 5Ghz networks but does anyone know why the choices are limited to 36-48 and 149-16...
Hello.Currently at Traffic Analyzer -> Statistic -> Top 5 the pie chart shows only 5 devices, which is a little misleading (arguably useless) because ...
I recently had to login to my router because we had lost power and normally after doing that I have to go in and disable port forwarding for my intern...
These were bought cheap as T-Mobile TM-AC1900 and then flashed to current ASUS FW (now They are set up as Primary and Acc...
I have been trying to get plex installed and to no there a manual way with telnet to get it installedthe gui gets an unknown error at the bot...

Don't Miss These

  • 1
  • 2
  • 3