samba help
I've a problem when trying to use samba between fedora and debian.from the
Fedora machine I can mount the shared folder for the debian machine (but I can't do the reverse), from the debian machine I can't mount the Fedora shared folder, I got "No route to host",but I can ping it and also I can access it through ssh, and I can mount the fedora sharedfolder locally (I mean from the fedora machine itself I can mount it's shared folder). I tried to solve it or to know the reason causing this problem for many days but I couldn't solve it , and I don't know How could I access the machine using ssh and I got "No route to host" when trying to use samba !!!!!!!!!!!!! Also the file lmhosts contains the fedora machine. I'm new to linux and I don't know if there is something missing !!!!!!!!!!!, please if any one faced this problem before , send me any suggestions. Thank you Bye |
"No route to host" can mean many things.
Did you "ping" and "ssh" based on the FC box's IP address? Or it's host name? Have you checked any firewall settings on both boxes? SSH and ping (ICMP) are probably allowed in the default firewall settings, but Samba may not be. Since you can mount the shared folder locally on your FC box, using smbmount, Samba should be up and running. Have you checked the samba configuration for user access/authentication? Also, on your Debian box, try: traceroute FC_box and post the result. Your /etc/hosts and /etc/resolv.conf files may be useful too, together with a little info on your network setup (any routers/firewalls/switches ?) Finally, I would recommend having a look at the system logs (especially Samba's logs on the FC box and security related logs on the Debian machine). |
All times are GMT -5. The time now is 06:46 AM. |