seeing a windows network share folder

Discussion in 'Linux' started by shanz, Jan 17, 2009.

  1. shanz

    shanz

    Joined:
    Nov 26, 2008
    Messages:
    12
    Likes Received:
    0
    hi,

    I have a Linux AA1 and a Windows XP Desktop PC.
    I want to create a (permanent) network share folder between them.
    I saw this article http://www.reghardware.co.uk/2008/09/05/ten_aspire_one_tips/page4.html and have hit problems.

    Firstly, I add a password to my Windows user.
    Then I create a folder on my Windows PC, C:\netShare and set it for sharing.
    I add my AA1's IP address to the Trusted Zone of my firewall.

    Next, on my AA1, I type

    [user@localhost home]$ pwd
    /mnt/home
    [user@localhost home]$ sudo mount -t cifs //192.168.x.x/netShare /mnt/home/netShare -o username=xxx,password=xxx
    mount error 2 = No such file or directory
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) :?:

    What is it complaining about?
    Can anyone assist?

    Cheers!
     
    shanz, Jan 17, 2009
    #1
  2. shanz

    chupachups

    Joined:
    Nov 24, 2008
    Messages:
    41
    Likes Received:
    0
    did you create the directory

    /mnt/home/netShare

    as root user beforehand ?
     
    chupachups, Jan 17, 2009
    #2
  3. shanz

    shanz

    Joined:
    Nov 26, 2008
    Messages:
    12
    Likes Received:
    0
    I probably created the folder as my normal user but I've now deleted it and done,

    sudo mkdir netShare

    and I am still getting the same error.
    Is it saying the windows or linux file/directory cannot be found?

    Is there any way to debug the problem? I can ping the windows IP address OK.

    smbclient -L 192.168.2.3
    session request to 192.168.2.3 failed (Called name not present)
    session request to 192 failed (Called name not present)
    session request to *SMBSERVER failed (Not listening on called name)
     
    shanz, Jan 17, 2009
    #3
  4. shanz

    shanz

    Joined:
    Nov 26, 2008
    Messages:
    12
    Likes Received:
    0
    I tried d3lphin but got "malformed URL".
    So I tried smb4k.
    If I search for the windows ip address, I get the workgroup name but when i try to expand it it says,
    Error - Smb4K
    The list of servers could not be retrieved.
    Could not connect to server <SERVERNAME>
    Connection failed: NT_STATUS_BAD_NETWORK_NAME

    Has anyone else ever experienced this?
    Is it worth me trying konqueror as well?
     
    shanz, Jan 17, 2009
    #4
  5. shanz

    solpuerto

    Joined:
    Oct 27, 2008
    Messages:
    268
    Likes Received:
    0
    Location:
    UK
    Hi shanz

    I tried no end of ways to connect Linpus to my XP machine and all failed. I have Ubuntu that I boot from a USB stick, first time I tried and it connected. When I say tried I mean I clicked on the option "Network" and there was my "Mshome" and the share files I had set up on the XP. Not a lot of effort.
    The nearest I came to this on Linpus was with Dolphin where I could see Mshome and all the folders/files but I could not open any.
    I then installed Konqueror or Kdebase and though at first, I saw more a web browser, I was soon able to put an icon on my desktop that gave me access to the Konqurer file manager and clicking on Network/Remote Places there was my Mshome and just like Ubuntu I was into my XP shares.
    If you download it select "GO" in the top line and you will see the file manager and more importantly "Network Folders". Select that and you should see "Samba Shares" , again click and you get your XP "Workgroup Name" and on you go.

    I hope it works as easily for you as it did for me.
    Best wishes
     
    solpuerto, Jan 26, 2009
    #5
  6. shanz

    shanz

    Joined:
    Nov 26, 2008
    Messages:
    12
    Likes Received:
    0
    I think I've got it working.
    I haven't tested the shared folder much yet in that I haven't tried to create a file on the AA1 and view it on the Windows XP PC.
    However, at least I can see the folder and the files in it (from XP). The horrible error message,
    mount error 2 = No such file or directory
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    no longer occurs. :D
    The answer was blindingly obvious but I just hadn't seen it there right under my nose.
    I needed to tick the File and Printer Sharing for Microsoft Networks on my Wireless Network Connection Properties on Windows XP (see piccy).
    At last!!!
    Hopefully this might help someone else stupid enough to encounter the same problem.
     
    shanz, Jan 28, 2009
    #6
  7. shanz

    DPGray

    Joined:
    Jun 23, 2009
    Messages:
    2
    Likes Received:
    0
    Just wanted to endorse what Solpuerto says....go for Konqueror or Kdebase ......they work!!!

    I now have no problem access windows shares on my network. Thanks very much mate.


    David.
     
    DPGray, Jun 24, 2009
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.