Stream Media To Xbox 360?

Hi, I’m pretty sure this has been asked before, and I’m not even sure I’m in the right thread, but here goes…

ahem I am trying to stream media (or at least music) from my openSUSE 11.2 library, either from Amarok or a specialized program.

The problem is, I only have one computer and it’s upstairs, the Xbox is in the basement. So, it needs to be wireless. Not sure where I saw it, but there was a guide for doing it with Ubuntu, a spare computer, and an Ethernet cable. As you can see, however, there are 3 fatal flaws to this method in my case.

I used to use TwonkyMedia Server, but that was a trial, and I refuse to pay for any service that should be as simple as Pie (no, not Pi. That’s not quite as simple).

Hi
Have a search on the forum for ushare
http://software.opensuse.org/search?baseproject=openSUSE%3A11.2&p=1&q=ushare
http://ushare.geexbox.org/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 3 days 17:51, 3 users, load average: 0.12, 0.19, 0.16
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Imma gonna need some help on using ushare. NO idea on how to use it…

It takes quite a while to be able to fully understand the Terminal, no matter what flavour of Linux you use…

Hi
Did you install via rpm? You should just be able to use YaST to
configure the multicast route and start the ushare service. I’m
guessing there is a config file to edit so it knows where your media
is (this may be present in YaST->/etc/sysconfig editor).

Else you can use either gnomesu gedit or kdesu kwrite to edit the
configuration files.

Did you search the forum on ushare?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 4 days 9:55, 3 users, load average: 0.95, 0.47, 0.17
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Not sure what you mean by that. I just went to: Software.openSUSE.org and typed in ushare.

There’s no GUI, AFAIK. Can you tell me where in Yast I’d find it? (Note: I’m at school at the moment, so I can’t access my computer.)

Hi
I don’t have it installed here. But you should find the runlevel, it’s
YaST->System->System Services.

Have a read of these;
http://forums.opensuse.org/applications/multimedia/403128-how-get-ushare-start-boot.html
http://forums.opensuse.org/applications/399749-ushare-xbox360-opensuse-10-3-a.html

The config file is /etc/ushare.conf so use the GUI editor commands I
gave previously to edit. eg;


gnomesu gedit /etc/ushare.conf

If your using KDE it’s the kdesu one.

I would temporarily disable the firewall to test, then if it’s all go
open the port in YaST->Security and Users->Firewall.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 0:24, 3 users, load average: 0.21, 0.32, 0.28
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

When I tried to run it in Yast, it said this:

/etc/init.d/ushare start returned 1 (unspecified error):

after setting it to start on runlevels 3 and 5.

I’ll check out the config, see if there’s something there that might be wrong.

I don’t have to have my 360 running to do this, do I? It should start the server despite the fact that nothing’s connecting to it?

Okay, I think I’ve pretty much set everything up, just need to know what interface to use.

The default is eth0, but I’m not using Ethernet (being wireless and all :wink: )
So, I tried wlan0, which is what I use to connect to my router. Says it’s down, yet I’m connected.

Okay…

So, what do I use?

Hi
What ever interface is shown by /sbin/ifconfig (I would have assumed
wlan0). Did you check the firewall rules are applicable to wlan0 as
well?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 1 day 10:00, 3 users, load average: 1.03, 0.75, 0.84
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Well, /sbin/ifconfig outputs this:


matthew@linux-cq71:~> /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:38:18:59:77
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:27 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:132 errors:0 dropped:0 overruns:0 frame:0
          TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9084 (8.8 Kb)  TX bytes:9084 (8.8 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1B:9E:2F:52:37
          inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:9eff:fe2f:5237/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64595 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45060160 (42.9 Mb)  TX bytes:11331960 (10.8 Mb)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-9E-2F-52-37-32-66-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

and here’s what my Firewall says about interfaces:

http://i48.tinypic.com/33z6w43.png

I don’t really know much about Firewalls, other than Windows Vista’s built-in Firewall.

BUMP o3o

I still am wondering why it’s not working. For a while now, I’ve been using my iPod to listen to music while playing games, but now I am missing my newer songs (iPod won’t work with any Linux anymore :().

If all else fails, I’ll try using VLC Media Player to stream, but I have absolutely no clue as to how to even set that up.

Hi
Did you try by turning off the firewall temporarily?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 7:42, 2 users, load average: 0.12, 0.10, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I’ve searched through the forums for the passed 2 days from what I can tell there is a lot of discussion regarding Ushare, but none with this particular issue.

to start I am running suse11.2 on an old P3, systems running great. Samba server works, network is running along like a champ.

Only problem is the primary purpose in this build is to get all my xbox media off my laptop, so I’m attempting to run Ushare

I installed the packages via YaST and opened the firewall, the service is running, I can access the webb interface from my windows PC, Xbox on the other hand does not see jack.

just for everyones information I have configured ushare to port 49200, and opened placed 49200 in the firewall exceptions for both UDP and TCP

my network is configured with all static IPs because DHCP makes me want to hurt people.

the following is my ushare.conf file from /etc/

Configuration file for uShare

uShare UPnP Friendly Name (default is ‘uShare’).

USHARE_NAME=movieStuff

Interface to listen to (default is eth0).

Ex : USHARE_IFACE=eth1

USHARE_IFACE=eth0

Port to listen to (default is random from IANA Dynamic Ports range)

Ex : USHARE_PORT=49200

USHARE_PORT=49200

Port to listen for Telnet connections

Ex : USHARE_TELNET_PORT=1337

USHARE_TELNET_PORT=

Directories to be shared (space or CSV list).

Ex: USHARE_DIR=/dir1,/dir2

USHARE_DIR=/home/silly/storage/Videos,/home/silly/storage/Music

Use to override what happens when iconv fails to parse a file name.

The default uShare behaviour is to not add the entry in the media list

This option overrides that behaviour and adds the non-iconv’ed string into

the media list, with the assumption that the renderer will be able to

handle it. Devices like Noxon 2 have no problem with strings being passed

as is. (Umlauts for all!)

Options are TRUE/YES/1 for override and anything else for default behaviour

USHARE_OVERRIDE_ICONV_ERR=yes

Enable Web interface (yes/no)

ENABLE_WEB=yes

Enable Telnet control interface (yes/no)

ENABLE_TELNET=yes

Use XboX 360 compatibility mode (yes/no)

ENABLE_XBOX=yes

Use DLNA profile (yes/no)

This is needed for PlayStation3 to work (among other devices)

ENABLE_DLNA=no

some assistance would be awesome, before I beat my computer with a stick, thanks.

Hi
Try with the firewall turned off first. If you install the program
wireshark you should be able to see the xbox trying to connect?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
up 18 days 0:09, 4 users, load average: 0.54, 0.55, 0.33
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

Thanks for your prompt reply Malcolm.

I turned off the firewall, xbox is still not seeing the SUSE machine. I installed wireshark like you suggested but when I try to choose an interface there are none listed. The wireshark wiki suggest confirming that I have packet socket enabled, suggest checking the Configure.help file, which I can’t find.

Change
ENABLE_XBOX=yes
to
USHARE_ENABLE_XBOX=yes