Hi,
i'm using the 8.0.2 version of LE on my Intel NUC for media playback. The source for movies and TV series is a Synology NAS on a different location which is accessible via openVPN. I configured my database a long time ago, before i had to move to different from my NAS, i used the hostname of my NAS to setup the smb access for movies and tv series and it worked fine on local network, but not anymore through vpn.
I thought it would be a simple solution to add the host name and ip address of my NAS to the hosts file but unfortunately Kodi isn't access the SMB share which is added with hostname. If i logon to libreelec and i try to ping the 'NAS' on it's host name it is working fine.
Could you please tell me what should i do, to solve the problem?
LibreELEC-NUC:~ # ping nas
PING nas (192.168.1.5): 56 data bytes
64 bytes from 192.168.1.5: seq=0 ttl=64 time=3.411 ms
Content of the hosts file:
# hosts.conf
# This configuration file allows you to manually map hostnames to
# IP addresses
# Format: <ipaddress> <hostname1> <hostname2>
# Example: 192.168.0.3 libreelec libreelec.mynetwork
# NOTE: do not edit /etc/hosts directly
# edit /storage/.config/hosts.conf then reboot
192.168.1.5 NAS nas
10.8.0.1 NAS
LibreELEC-NUC:~ # ifconfig
eth0 Link encap:Ethernet HWaddr
inet addr:192.168.0.22 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45821 errors:0 dropped:0 overruns:0 frame:0
TX packets:55508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8347672 (7.9 MiB) TX bytes:69208818 (66.0 MiB)
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:65536 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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255
inet6 addr: fe80::b58f:f78c:fb1b:e1cc/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:19414 errors:0 dropped:0 overruns:0 frame:0
TX packets:22064 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6215094 (5.9 MiB) TX bytes:27670099 (26.3 MiB)