Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Windows Shares

  1. #1
    Join Date
    Jan 2009
    Beans
    18

    Windows Shares

    I have a network running on a few Windows machines and a Mac. My linux machine is on the same network via an ethernet card and accesses the internet Ok, but when I try to access Windows shares I can only get as far as Places > Network > Network Servers > Windows Network and there I can see both the Workgroups that exist MSHOME and WorkGroup.

    When I click on either there is no connection to any of the computers.

    From Windows I cannot see the linux machine.

    Any help will be appreciated. I have tried lots of threads and none get me where I want to go here!

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Windows Shares

    The linux machine may not be visible without Samba server installed.

    Going the other way - see if this helps:
    Quote Originally Posted by superprash2003 View Post
    try typing smb://x.x.x.x where x.x.x.x is the ip of the windows machine.. it hopefully should open the shared folders.. http://prash-babu.blogspot.com/2008/...olders-in.html
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Jan 2009
    Beans
    18

    Re: Windows Shares

    Thanks for your response, i gives the following:

    ~$ smb://192.168.1.104
    bash: smb://192.168.1.104: No such file or directory
    peter@peter-linux-desktop:~$ smb://192.168.1.120
    bash: smb://192.168.1.120: No such file or directory

    When I link to http://192.168.1.200 using Firefox I can access my printer webpage.

    I can ping from terminal to the Windows machines.

    Again, thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Windows Shares

    Looks like you entered the location from a terminal. superprash2003's How-To recommends:
    Step 1 : Go to Places->Computer.
    Step 2 : The nautilus window should now pop up.
    Step 3 : Now under "Go to" type smb://x.x.x.x where x.x.x.x is the ip address or the machine name of the windows machine which contains the shared folders and hit ENTER.As said earlier you can find that information by typing ipconfig in the command prompt of windows machine(eg 192.168.1.3)
    Step 4 : Now you should be asked for a username and password, enter the appropriate username and password which is typically the windows login username and password.Or any other special account you setup.
    Step 5 : Now you should able to see the shared files and folders
    (Illustrations omitted - check the link...)
    Last edited by Iowan; January 17th, 2009 at 07:03 PM.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Jan 2009
    Beans
    18

    Re: Windows Shares

    Thank you, that has allowed me access to the folders. Is there a simple way, or a way to automate that process in the future.

    I do appreciate your reply, I have read dozens of posts without success.

  6. #6
    Join Date
    Jan 2009
    Beans
    18

    Re: Windows Shares

    This is the output of smbtree, all of the computers are on 192.168.1.1xx IP addresses.

    Does this mean anything.

    Thanks.

    Peter

    WORKGROUP
    \\VIAODESKTOP Terrye's Computer
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to VIAODESKTOP<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\MAC_XP MacBook_XP
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to MAC_XP<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\MAC-BOOK Mac Book
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to MAC-BOOK<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\HP-A6400
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to HP-A6400<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    peter@peter-linux-desktop:~$ smbtree
    Password:
    WORKGROUP
    \\VIAODESKTOP Terrye's Computer
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to VIAODESKTOP<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\MAC_XP MacBook_XP
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to MAC_XP<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\MAC-BOOK Mac Book
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to MAC-BOOK<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED
    \\HP-A6400
    timeout connecting to 24.28.193.9:445
    timeout connecting to 24.28.193.9:139
    Error connecting to 24.28.193.9 (Operation already in progress)
    cli_start_connection: failed to connect to HP-A6400<20> (24.28.193.9). Error NT_STATUS_ACCESS_DENIED

  7. #7
    Join Date
    Jul 2006
    Beans
    4,718

    Re: Windows Shares

    Why not just set up a Samba connection? Except with Samba routing to your home directory on your Linux machine.

    That would allow you to access all of your music, pictures, etc.

    I personally use Samba to treat my desktop like a file server. My little dinky 30gb iBook G4 taps into my Samba desktop and suddenly has access to 500gb of music and pictures.

    If you need help in the direction of Samba, I can at least let you know what I did. I'll check back here soon enough.

  8. #8
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Windows Shares

    in a terminal type:
    Code:
    gksudo gedit /etc/samba/smb.conf
    under the global section you'll see a line that says workgroup=WORKGROUP, change the one in caps to MSHOME. Exit, and type:
    Code:
    sudo /etc/init.d/samba restart
    Last edited by theozzlives; January 17th, 2009 at 08:29 PM.
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

  9. #9
    Join Date
    Jan 2009
    Beans
    18

    Re: Windows Shares

    workgroup was set to WORKGROUP and the second line of code returned

    sudo /etc/init.d/samba restart
    sudo: /etc/init.d/samba: command not found

    I thought I had Samba installed?

  10. #10
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Beans
    29
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Windows Shares

    looks like you have only smbclient installed, install samba with

    sudo apt-get install samba

    check the config and try again.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •