Sharing between Ubuntu 12.10 and Xbox

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
Fatal
Posts: 3
Joined: Thu Dec 20, 2012 4:07 am
Has thanked: 2 times

Sharing between Ubuntu 12.10 and Xbox

Post by Fatal »

I've recently made the change off of Windows 7 to Ubuntu and I'm having trouble getting my old set up to work...

I have my Xbox hooked up to my computer via ethernet which in Windows I just went into Network Settings, Wireless, "Share connection" and the Xbox would get an IP and be able to see the shares I set up.

I'm at a loss on how to do this on Ubuntu, however. If anyone could shed any light on how to get this working I'd be very appreciative.
User avatar
professor_jonny
Posts: 1298
Joined: Thu Jul 05, 2012 5:41 am
Location: New Zealand
Has thanked: 66 times
Been thanked: 196 times

Re: Sharing between Ubuntu 12.10 and Xbox

Post by professor_jonny »

run the following from the console to make sure you have samba installed :

Code: Select all

sudo apt-get install samba

then edit Samba configuration file is located in /etc/samba/smb.conf with the workgroup name permissions etc...

after you set up the share give it the correct permissionsto the share directory or drive using "chmod" and "sudo chown nobody.nogroup (my share path) then you need to start the service up with:

Code: Select all

sudo restart smbd
sudo restart nmbd
i dont think i have left any thing out.
Fatal
Posts: 3
Joined: Thu Dec 20, 2012 4:07 am
Has thanked: 2 times

Re: Sharing between Ubuntu 12.10 and Xbox

Post by Fatal »

professor_jonny wrote:run the following from the console to make sure you have samba installed :

Code: Select all

sudo apt-get install samba

then edit Samba configuration file is located in /etc/samba/smb.conf with the workgroup name permissions etc...

after you set up the share give it the correct permissionsto the share directory or drive using "chmod" and "sudo chown nobody.nogroup (my share path) then you need to start the service up with:

Code: Select all

sudo restart smbd
sudo restart nmbd
i dont think i have left any thing out.
This helps getting the shares set up but the Xbox still doesnt have a connection. Avalaunch gives "0.0.0.0 Err X" and XBMC doesn't get an IP/Network connection. Trying to add a source in XBMC under "Windows network (SMB)" does nothing.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Sharing between Ubuntu 12.10 and Xbox

Post by Dan Dar3 »

I think he means "Internet Connection Sharing" through Ubuntu rather than XP...
http://support.microsoft.com/kb/306126

https://jeremy.visser.name/2009/03/simp ... rkmanager/
Fatal
Posts: 3
Joined: Thu Dec 20, 2012 4:07 am
Has thanked: 2 times

Re: Sharing between Ubuntu 12.10 and Xbox

Post by Fatal »

Dan Dar3 wrote:I think he means "Internet Connection Sharing" through Ubuntu rather than XP...
http://support.microsoft.com/kb/306126

https://jeremy.visser.name/2009/03/simp ... rkmanager/
That worked. Unfortunately I couldn't get the SMB to work but UPnP via Serviio worked out fine.

I appreciate the help.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Sharing between Ubuntu 12.10 and Xbox

Post by Dan Dar3 »

Try adding FTP sources in XBMC4Xbox, might even work better than SMB, especially over wi-fi.
evan_almighty
Posts: 93
Joined: Sat Jul 07, 2012 9:49 am
Location: Derby, UK
Has thanked: 6 times
Been thanked: 2 times

Re: Sharing between Ubuntu 12.10 and Xbox

Post by evan_almighty »

Hi Fatal,

Is your Internet router itself providing your XBox and Ubuntu machine with IP addresses via DHCP?
If not you need to setup your Ubuntu machine to act as a DHCP Server.

Then I'd recommend you install the iptables firewall packages for Ubuntu, if not already and finally configure the firewall using something like Arno's firewall setup script. http://rocky.eld.leidenuniv.nl/joomla/i ... &Itemid=63

If you run through the script it'll setup various things for you including NAT address translation so that communication to the outside world from the Xbox goes through the ubuntu machine and firewall, making it somewhat safer.

I use the Squid proxy on my Suse server as well, which caches frequently used pages, reducing internet bandwidth a little.

Hope this helps a bit?
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: Sharing between Ubuntu 12.10 and Xbox

Post by spicemuseum »

Fatal wrote:
Dan Dar3 wrote:I think he means "Internet Connection Sharing" through Ubuntu rather than XP...
https://jeremy.visser.name/2009/03/simp ... rkmanager/
That worked.
This use-case has always perplexed me - I'm guessing this is a home network and either
- your modem/router has only one connection, or
- your modem/router has no wireless, and
- you've got a bridge to your X80X

?
Post Reply