Can't Connect to Remote Linux Server to Create Network Share


  1. Posts : 2
    Windows 7 Home Premium x64 SP1
       #1

    Can't Connect to Remote Linux Server to Create Network Share


    I have a hosted Linux server running CentOS 5 with Samba 3.4. Everything is setup and it is accessible via Linux machines by typing smb://ip.address/ in a Firefox address bar. I am trying to set up a local network share on a Windows 7 Home Premium x64 SP1 computer.

    I am trying to map the shared drive as a network drive and am having issues. Google provided a wide range of solutions, and thus far nothing has worked.

    I have tried entering the IP address in 2 locations:
    1. Map Network drive. I select a drive letter and type in the ip \\12.345.678.9\
    It asks for credentials and I enter the user info for the user I created on the Linux machine. It thinks a moment then pops back up asking for credentials. It doesn't say they are invalid, just never goes through.
    2. Connect to a website (under Map Network Drive). I type the IP http://12.345.678.9 and click connect and it pops up a dialog saying "The folder you entered does not appear to be valid. Please choose another".

    I have tried creating a loopback adapter and trying to setup a connection via SSH using the guide found at http://www.nikhef.nl/~janjust/CifsOverSSH/VistaLoopback.html. After completing the tutorial (substituting my server IP address for the destination address given) I try using the Run dialog as indicated and get a "Windows cannot connect to.." error and the diagnose connection button. One thing that may be causing problems there is that the loopback adapter is labeled as an unidentified network and thus stuck as a public connection, and I am unable to change it. Searching for solutions to that brings up things I can't access (no group policy editor on Home Premium) or results in no change (setting DHCP server, which I tried setting to my router).

    Most tutorials and suggestions follow similar lines (I posted the one I did because it was the most concise). I appreciate any input on how to resolve this issue. What additional settings or changes do I need to make? Is there a better tutorial showing how to achieve my goal, and if so where?

    Thank you,
    Roger
      My Computer


  2. Posts : 2
    Windows 7 Home Premium x64 SP1
    Thread Starter
       #2

    Anyone? I have been searching and can't seem to find anything else to try, hoping someone here has some suggestions.
      My Computer


  3. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #3

    Hi there
    From the WINDOWS side make sure that you aren't blocking remote stuff via a Firewall.

    On the LINUX side did you set up the user in the SAMBA password file -- .

    Did you also have the disk you want to share defined correctly in your SAMBA setup.

    You need also to allow / enable these Ports too

    445:tcp139:tcp138:udp137:udp

    Follow these steps on your Linux box and it Should work --SAMBA usually doesn't give any problems --it's been around for ages and is really stable.

    http://wiki.linuxquestions.org/wiki/...a_Samba_Server


    Cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:47.
Find Us