(2015-05-13, 16:12)HEki Wrote: Well i found out 1 more thing ... even if i go with windows explorer to the device via name, the Mybook shows no content ... if i go over ip everything works like a charm ... hope someone can help me out.
It's very difficult to understand what exactly you are doing. That's not entirely your fault: now-a-days computers "hide" certain information from users because terms like "IP address", "Samba" and "protocol" confuse people. Computer users aren't forced anymore to know what exactly they are doing, unless it goes wrong, like in your case.
For instance, I do not know what you mean by "Mybook". Is that the directory on the Pi's hard disk in your sleeping room that you'd like to access? And you say:
Quote:If i go over ip everything works like a charm
Do you mean that when you type in the IP address of your Pi that everything works like you're used to? Remember that the so called "host name" of a computer, that is used by a "protocol" to share files and folders, is not always the most reliable way to connect to a computer. One had better use IP address. I don't know why, but remote host names are sometimes "remembered" by your computer and then they are displayed even though your PC does not "see" the actual remote computer anymore. And sometimes host names cannot be seen in the network whereas IP addresses always
are visible. Confusing isn't it?
Anyway, I'd start by jotting down IP addresses of all computers in the network (including the TV if thats possible). I'd set my router so that every MAC address (i.e. every computer) has a fixed IP address (i.e. that IP addresses are NOT dynamically assigned). Not that that will solve your problem instantly, but it'll help dressing the bottleneck.
I personally do not share files that are on my Pi, but I'd like to hear from somebody who knows more about the inner workings of Kodi how they are shared per default. Because when I myself hook up an USB hard disk to my Pi then I can "see" it when I connect to my Pi via SSH. It's in the directory
/media/disk_name/ like it should be. But is it also shared via NFS? Is it per definitin also shared w/ the Samba protocol? And if so: what's the password? When you've got the answers to those questions then you can use said protocol on your Smart TV to "look" for the disk that is shared by your Pi. Again: confusing isn't it?
Chances are that the Pi shares said disk/folder via Samba (i.e. CIFS) and that that's the protocol which your TV uses. If a
Windows computer can "see" a folder on the Pi then it's probably shared w/ Samba.
[edit] I use Linux on my desktop PC and to determine what sharing protocols are used by the computers in my network I use the following command:
Code:
sudo nmap -sS 192.168.0.100-120
Using that command I see that my Pi (which always has the IP address 192.168.0.104 in my house) uses SSH (i.e. SFTP) to share it's files (and something named "Zeus", dunno what that is). No Samba/CIFS. So maybe your Smart TV used SFTP in the past to connect to the Pi or you used to have Samba enabled on your Pi somehow.
Good luck