List Info

Thread: Sharing files with older systems like Xbox




Sharing files with older systems like Xbox
country flaguser name
United States
2008-05-13 05:50:41

Hi,

My problem was simple, before I bought a NSLU2 I have two big USB
drives pluged on my own PC.

This PC assume to share the disk contents on my personnal network with
Windows XP sharing protocol.

On this network, some Xbox are connected and with the Xbox Media
Player, they can read movies on the USB disk.

They use the smb syntax to define the map point :

smb://WORKGROUP/COMPUTER/SHARE

and so without any problem...

But now with the USB disks connected on the NSLU2, the Xbox can't
connect the disk due to indentification mistakes.

It is impossible to make any modification in the Xbox software, so I
try to modify the samba server configuration in the NSLU2.

In the 'smb.conf' file, the parameter 'security' is set to 'user' so
an identification is nedeed to connect shares.

When you set this parameter to 'share', the samba server have the same
behaviour than an old PC with Windows 95 and the Xbox connect
correctly the sharing points.

This modification of 'security' would be make after each boot of the
NSLU2, because the default setting is 'user'.

You can include in the 'rc.1' file in '/etc/rc.d' this little line :

sed -i 's/security = user/security = share/'
/share/hdd/conf/share/smb.conf

You can put this at the end of the file or just after the line
containing : "Restore usrgrpshares:"

It's run.

Alain.

__._,_.___
.

__,_._,___
Re: Sharing files with older systems like Xbox
country flaguser name
United States
2008-05-13 15:32:45

--- In nslu2-general%40yahoogroups.com">nslu2-generalyahoogroups.com, "maisondouf"; <maisondouf...> wrote:
&gt; This modification of 'security' would be make after each boot of the
> NSLU2, because the default setting is 'user'.
>
> You can include in the 'rc.1' file in '/etc/rc.d' this little line :
>
> sed -i 's/security = user/security = share/'
> /share/hdd/conf/share/smb.conf

Why on Earth do you need to do that? At least on all of my Linux
systems when I edit a file it stays changed. BTW. I believe the
correct file to edit is:

/etc/samba/smb.conf

There is also a web interface you can install and use for changing
your smb settings. (I prefer the web interface, as it also contains
helpful hints, like telling you certain settings only work in shared
mode.)

http://www.samba.org/samba/GUI/

I believe the gui interface is installed by default under Debian, but
the default configuration only allows connections from localhost.

Unfortunately, the behavior of 'user' is the correct one. When you
switch to 'share' you are creating a security hole in your network.
If you have Windows 98 boxes running, you probably already invested in
a good firewall already to keep everything safe, so this should not
be a problem.

Bill

__._,_.___
.

__,_._,___
Re: Sharing files with older systems like Xbox
country flaguser name
United States
2008-05-21 04:19:38

Hi. I might be totally wrong here but wasn't the Xbox Media Player
project killed a few years ago and continued under the Xbox Media
Center project? If the software you are using on your xbox is in fact
XBMC (xbox media center) the syntax for authenticating smb-shares is

&lt;bookmark&gt;
<name>MySMBShare</name>
&lt;path>MyWindowsServer/movies/">smb://DOMAIN;username:passwordMyWindowsServer/movies/</path>
</bookmark>

If you are still using XBMP I would recomend that you have a look at
XMBC

HTH
/Mattias

--- In nslu2-general%40yahoogroups.com">nslu2-generalyahoogroups.com, "maisondouf"; <maisondouf...>
wrote:
>
&gt; Hi,
>
>
> My problem was simple, before I bought a NSLU2 I have two big USB
> drives pluged on my own PC.
>
> This PC assume to share the disk contents on my personnal network
with
> Windows XP sharing protocol.
>
> On this network, some Xbox are connected and with the Xbox Media
&gt; Player, they can read movies on the USB disk.
&gt;
> They use the smb syntax to define the map point :
>
> smb://WORKGROUP/COMPUTER/SHARE
>
> and so without any problem...
>
> But now with the USB disks connected on the NSLU2, the Xbox can't
&gt; connect the disk due to indentification mistakes.
>
> It is impossible to make any modification in the Xbox software, so I
> try to modify the samba server configuration in the NSLU2.
&gt;
> In the 'smb.conf' file, the parameter 'security' is set to 'user' so
> an identification is nedeed to connect shares.
>
> When you set this parameter to 'share', the samba server have the
same
> behaviour than an old PC with Windows 95 and the Xbox connect
> correctly the sharing points.
>
> This modification of 'security' would be make after each boot of the
> NSLU2, because the default setting is 'user'.
>
> You can include in the 'rc.1' file in '/etc/rc.d' this little line :
>
> sed -i 's/security = user/security = share/'
> /share/hdd/conf/share/smb.conf
>
> You can put this at the end of the file or just after the line
>; containing : "Restore usrgrpshares:"
>
> It's run.
>;
> Alain.
&gt;

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )