Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow NAS arrow NAS How To arrow How To: Convert your Xbox to a NAS - Part 2
How To: Convert your Xbox to a NAS - Part 2 Print E-mail
Kevin Herring   
December 28, 2005

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!



Tags: How To, NAS, Xbox,

Related Articles:

How To: Convert your Xbox to a NAS - Part 3
Slideshow - Synology DS207
How To: Hacking the Linksys NSLU2 - Part 4- Customizing the Flash
How To: Hacking the Linksys NSLU2 - Part 5- Moving to Unslung
How To: Convert your Xbox to a NAS - Part 1
 

Most Read

 
 

Over At The Forums

Are Cat6 and Cat5e not perfectly compatible?
So, I was rearranging some of my network today (notably moving my router to a different room) and I noticed something very odd. When I...

Captive portal for security
I've read about this in the previous Bed & Breakfast thread. Our company wants to get wireless going on one of the floors. There is only personal...

D-Link DNS-323 Mysteries
Hello folks. I'm having issues with my Nas and looking for some thoughts. 1. The 323 gets recognised by Vista as a network device but...

Gigabit Network Help!
I have a gigabit NAS (D-link 323) that I have connected to a D-Link DGS-1005D gigabit switch. I then have my desktop connected to...

Synology DS-209+ review up!!
Looks real good. Now Netgear needs to play catchup and dump that old Infrant CPU for something more modern and powerful!! http://www.trustedreviews.com/networ...ion-DS-209-/p1

Slideshows

NETGEAR ReadyNAS Pro Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router More

Win This!

Enter to Win!

You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards

Learn How!

 

Ldr:0.00169801712036, Rct:0.00560998916626, Sky:0.00735187530518, Tlink:0.227592945099, TopPG:0.227680921555, GQV:0.227845907211 seconds to load.