Difference between revisions of "Talk:Mount a Remote Drive via SMBFS"

From AwkwardTV
Jump to: navigation, search
(moved troubleshooting tips over to the main page, leaving room for actual discussion here amongst logged in users.)
Line 1: Line 1:
Since Sharity-Light is distributed under the GNU General Public License, can you please post the compiled binary for x86 Mac Os x and AppleTV. Thanks! [[User:Oorosh|oorosh]]
Done. No file attach capability unfortunately, so it is base64encoded.
== Troubles ==
=== Failing to connect to a server by either IP or NetBIOS name ===
Installed it, I'm able to mount other machines' SMB shares, just not my fileserver's for some reason...
From the ATV:
bash-2.05b# ping x.x.x.x
PING x.x.x.x (x.x.x.x): 56 data bytes
64 bytes from x.x.x.x: icmp_seq=0 ttl=128 time=1.199 ms
64 bytes from x.x.x.x: icmp_seq=1 ttl=128 time=0.476 ms
64 bytes from x.x.x.x: icmp_seq=2 ttl=128 time=0.327 ms
64 bytes from x.x.x.x: icmp_seq=3 ttl=128 time=0.737 ms
64 bytes from x.x.x.x: icmp_seq=4 ttl=128 time=0.625 ms
--- x.x.x.x ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.327/0.673/1.199/0.297 ms
bash-2.05b# shlight //x.x.x.x/movies ~/Movies
x.x.x.x: unknown host
Happens as root or as frontrow...
[[User:ProfessaFresh|ProfessaFresh]] 22:35, 27 April 2007 (CEST)
I had the same issue. Fixed it by altering the hosts file.
It seems that shlight doesn't work with IPs and if you haven't got DNS working properly, it fails.
Adding the IP + Hostname to /etc/hosts means that both the IP and the hostname respond.
[[User:dobedobedoh|dobedobedoh]] 21:37, 27 April 2007 (GMT)
thanks dobedobedoh, that worked
[[User:ProfessaFresh|ProfessaFresh]] 22:51, 27 April 2007 (CEST)
Thanks for this hack! It works perfectly! [[User:Oorosh|oorosh]]
=== Fails to open files ===
In a setup with shlight and Vista (in a domain) it seems you need to specify -W [domain name]. It connects and shows the files (you can browse), but fails to open. the shlight responds with:
nfs server shlight-163: not responding
nfs server shlight-163: not responding
and can only be killed. The apple tv interface keeps waiting for the files become available. Which doesn't because of input/output error and can only be satisfied with a sudo reboot.
=== Kernel: smb_receive_raw: Invalid packet 0x83 ===
Kernel: smb_receive_raw: Invalid packet 0x83
Kernel: smb_receive: receive error: -5
Kernel: smb_proc_connect: Failed to send SESSION REQUEST.
error connecting to server: [5] Input/output error
This error may be seen if the hosts file has been set up improperly. Make sure the hosts file and the windows system name are identical, otherwise use the "-c" and "-s" options to shlight.
=== Manual connection ok, but startup connection does not work ===
connecting my Windows XP machine via Terminal works great:
/usr/sbin/shlight //192.168.xx.yy/Video /Users/frontrow/Movies/Filme -U frank -P xxx
I added this command to my rc.local to have the connection right on startup, but unfortunately this does not establish a connection to my server. I have to do it manually every time I start up the ATV - which then always works great. rc.local is located th the etc directory. I also added IP and host name to my hosts file with no result.
Where's my mistake?
[[User:JeanLuc7|JeanLuc7]] 12:31, 12 May 2007 (CEST)

Revision as of 13:31, 12 May 2007