Samba shares from Xbox?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
dark_star2
Novice
Posts: 20
Joined: Sat Jan 31, 2004 1:26 am

Samba shares from Xbox?

Post by dark_star2 »

I have got samba installed on my xbox and all works fine to PC's, can I set up my kids (2) xbox so that XBMP to see the smb shares ??
I had them working from a pc ok but not from a gentoox xbox, the xbox has 2 120gb drives installed and the files on the 2nd drive(formatted and installed with the help of nobspangle).
I have tried various xbox:xbox@ip/mnt/storage/Music (and root:xbox etc) any ideas how to get the 2 xbox's running off another xbox. (as a noobie I have given up with ccxstream, xbms only seems to work for 1 xbox.)
I gomeno to run for the kiss dp500 player) so this is the next step.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

Make sure you are using the name of the share not a folder inside it.

If your music is in /mnt/storage/Music (make sure that capital is right) then you need to have that folder shared. Let's say you call that share music, you would connect to smb://username:password@xbox_ip/music

If your share shares the root directory (/) and is called something like harddrive then you would connect to smb://username:password@xbox_ip/harddrive

My advice is to set up a seperate share for music, video, pictures etc.

From another gentoox xbox mount the shares with

Code: Select all

mount -t smbfs -o username=xbox_username,password=xbox_password //xbox_ip/sharename
also make sure both your xbox's aren't using xbox as their netbios name
If you keep an open mind, will your brain fall out?
dark_star2
Novice
Posts: 20
Joined: Sat Jan 31, 2004 1:26 am

Post by dark_star2 »

i have tried every combination I can think of nobspangle: (also changed dir name from Movies to movies
<url>smb://root:xbox@192.168.11.4/movies:</url>
<url>smb://root:xbox@192.168.11.4 /movies:</url>
also xbox:xbox@192.168.11.4 /movies (extra space)
when I look from the pc to the shares its is \\Xbox\storage\movies, i tried
<url>smb://root:xbox@192.168.11.4/XBox/storage/movies
and username:password xbox:xbox and root:xbox.

also tried
url>smb://root:xbox@192.168.11.4/mnt/storage/movies:</url>
url>smb://root:xbox@192.168.11.4/storage/movies:</url>
url>smb://root:xbox@192.168.11.4/movies:</url>
and xbox:xbox and spaces after IP(it worked with dp500serv)

Tried it with no user etc url>smb://@192.168.11.4/movies:</url> etc etc

I dont want to change my 2 young sons machines to Gentoox as they are not ready for it (if there dad cant cope!!) they are both modded etc and want a simple player for there music and movies, if you hear a rythmic thumping sound its my head on the wall....
Abysmal
Newbie
Posts: 3
Joined: Thu Feb 12, 2004 2:10 pm

Post by Abysmal »

i have tried every combination I can think of nobspangle: (also changed dir name from Movies to movies
<url>smb://root:xbox@192.168.11.4/movies:</url>
<url>smb://root:xbox@192.168.11.4 /movies:</url>
also xbox:xbox@192.168.11.4 /movies (extra space)
when I look from the pc to the shares its is \\Xbox\storage\movies, i tried
<url>smb://root:xbox@192.168.11.4/XBox/storage/movies
and username:password xbox:xbox and root:xbox.
why do you have a ":" after the directory name?? movies:
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

if you connect from your PC to \\xbox\storage\movies then your share is storage (movies is just a folder inside the share)

I've just check the xbmp config file the syntax is

smb://username:password@workgroup/computer/share

your workgroup is probably workgroup so use

smb://root:xbox@workgroup/xbox/storage

or

smb://root:xbox@workgroup/192.168.11.4/storage


Also this isn't really a gentoox related issue as your samba is working fine, you may want to try the xbmp forum
If you keep an open mind, will your brain fall out?
dark_star2
Novice
Posts: 20
Joined: Sat Jan 31, 2004 1:26 am

Post by dark_star2 »

I managed to get the share working with XBMC version xbmc-2004-02-12,
the path ended up as
<path>smb://192.168.11.4/storage/music/</path>
i tried this in xbmp oh well the media centre looks good and again thanks to all for the help , got there in the end.

:oops: sorry if I posted in this forum and not a xbmc forum , but I thought there was a problem with xbox to xbox and samba, anyway i have seen a few posts about setting up a 'server' and it may help with other newbies trying to conquer the world and not knowing how to!!

Thanks to all again ( i will be back :wink: )
Boing
Novice
Posts: 26
Joined: Sun Feb 01, 2004 10:14 pm

a comment and then off on a tangent about media playing

Post by Boing »

FYI - I believe this was an issue of a missing trailing /

ie.

<path>smb://192.168.11.4/storage/music/</path> would work and
<path>smb://192.168.11.4/storage/music</path> woudl not.

Not that I would have any basis for knowing this... after all why would anyone run XBMC when they can run Linux!

We should probably learn something from all this however.... can the XBMC guys compile to run as an X app? Or - is there a good linux X app that does that stuff? It's nice to run gmplayer and xine and XMMS but none of them really have the ease of use.... am I just missing the super app? what is it?

Boing Boing Boing....!!!
Post Reply