Kodi Community Forum
ATV2 Networking - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: ATV2 Networking (/showthread.php?tid=106880)

Pages: 1 2


Apple TV2 (ATV2) to QNAP Networking - Yokozuna - 2011-08-03

I want to use just the wired LAN connection to connect back to my QNAP NAS storage device but I am struggling to get this to work. I dont want to use wireless at all and wish to disable as I already have Cat6 cabling throughout the house.

Also, the buffering over wireless is unbearable.


QNAP config settings:

IP Address: 10.0.0.1
Subnet Mask: 255.255.255.0
Share Name: media
Password: xxxx


ATV2 config settings:

IP Address 10.0.0.2
Subnet Mask: 255.255.255.0


When I select "Windows network (SMB)" I receive "Error 2: share not available"

Any help would be appreciated with the above.

Thanks


- Yokozuna - 2011-08-03

Note: The wireless connection works flawlessly.

I want to end up with the same result from the wired connection.


- partpricer - 2011-08-03

Try to connect to your NAS by IP address, not share name.

SMB://10.0.0.1/media

See if that works


- Yokozuna - 2011-08-03

I can't even get to that point. When I try to select SMB it times out.

I have even tried adding code into the sources.xml file but that doesn't work either.

Code:
<video>
      <default>Movies</default>
      <source>
        <name>Movies</name>
        <path>smb://xbmc:[email protected]/media/Movies</path>
      </source>
   </video>

When I plug a cable into the RJ45 plug, it knocks out my wireless networking and I cannot SSH to the ATV2 device.

Is there something I am not doing right in the configuration of my networking settings?

Can you hard coat your network config. details in a file?

or something else?


- OniFactor - 2011-08-03

can you give us a full rundown of your cat6 network? what other devices are on it?


- Yokozuna - 2011-08-03

-Billion wireless router (Gateway)
-QNAP NAS
-ATV2 (Living Room)


Was also planning to place other ATV2's in bedrooms as well as living room but still not sold the ATV2 is the best choice. May consider moving to a Asrock or Zotac devices which would still retrieve content from the QNAP NAS.

All movies and TV Shows are .MKV files.

ATV2 Dislikes
==========
-The buffering
-Difficulty getting wired LAN to work with SMB shares
-slow painting on the TV screen with all the movie dvd covers
-No good with 1080p (Not an issue for me as the content is SD)
-Can't attach USB storage
-Device does not retain time/date settings when powered off

ATV2 Likes
========
Cost effective solution


- nsviper - 2011-08-03

Almost identical setup to mine (QNAP NAS TS410 and 2xATV2's)

Try using FTP server on the QNAP, it will be quicker serving the files than SMB.

It sounds strange that the ATV is working wirelessly fine, but not when wired - is the Networking configured correctly on the ATV? (note, in the apple menu, not inside XBMC)


- Yokozuna - 2011-08-03

Nsviper, can you give me a step-by-step guide how to configure the QNAP device and ATV2 device as per your setup so I can reconfigure and try out?

I am trying to work through this link
http://forum.xbmc.org/showthread.php?tid=106038


- nsviper - 2011-08-03

Ok, I'll assume your QNAP interface is fairly similar to mine, so in the admin interface, go to Network Services and enable the FTP service

Create an account on the QNAP with read access to your media.

Under Application Servers, enable MySQL Server
The MySQL setup instructions you can get from here:
http://lime-technology.com/forum/index.php?action=printpage;topic=11473.0

My sources.xml looks like this now (location is private/var/mobile/Library/Preferences/XBMC/userdata)

Replace xxxx with your user and yyyy with the password

Quote:<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>HD</name>
<path pathversion="1">ftp://xxxx:[email protected]:21/MediaShare/Movies/HD</path>
</source>
<source>
<name>TVSeries</name>
<path pathversion="1">ftp://xxxx:[email protected]:21/MediaShare/TVSeries/</path>
</source>
<source>
<name>Cartoons</name>
<path pathversion="1">ftp://xxxx:[email protected]:21/MediaShare/Cartoons/</path>
</source>
</video>
</sources>

My advancedsettings.xml looks as follows:

Quote:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.0.100</host>
<port>3306</port>
<user>sql_xxxx</user>
<pass>sql_yyyy</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.0.100</host>
<port>3306</port>
<user>sql_xxxx</user>
<pass>sql_yyyy</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://Thumbnails</from>
<to>smb://xxxx:[email protected]/MediaShare/Thumbnails</to>
</substitute>
</pathsubstitution>
<ftp>
<remotefanart>true</remotefanart>
<remotethumbs>true</remotethumbs>
</ftp>
</advancedsettings>

The videodatabase part is set up to use the MySQL install on the NAS
The pathsubstitution is to allow me tohave the thumbnail cache on the NAS as well (so that its shared between my ATV's and my PC). Details of this can be found here : http://www.contentwhores.com/wordpress/?page_id=412
The FTP section is to allow the fanart and thumbnail scraping to work using an FTP source


- Yokozuna - 2011-08-03

Thanks for your response. I am working through now.

What is the reason for using MySQL?

Where is the location of advancedsettings.xml stored?


- nsviper - 2011-08-03

Only reason I use MySQL is to share the library/database between multiple devices running XBMC - if you only have 1 ATV no need for this for now, but its useful if you think of adding more Smile

advancedsettings.xml is in same folder as sources.xml


- Yokozuna - 2011-08-03

OK. That is good to know.
I don't have AdvancedSettings.xml in that path so I guess I need to manually create.


- Yokozuna - 2011-08-03

It does seem more responsive using a ftp connection to the NAS. Which is great!


- nsviper - 2011-08-03

If there's issues with the scraper, you'll need to look into posting a debug so I or others can see what the issue is. There are links in the main support section re that.

(edit)

You may need to do (at least)

<advancedsettings>
<ftp>
<remotefanart>true</remotefanart>
<remotethumbs>true</remotethumbs>
</ftp>
</advancedsettings>

in the advancedsettings.xml


- Yokozuna - 2011-08-03

I cleaned out the database and checked scan content on startup and all is good now.