Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to win

  1. #1
    Join Date
    May 2006
    Location
    Denmark
    Beans
    405

    Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to win

    *** Based on howto by Tazix, modified for Gnome by BuffaloX ***

    Tested for Ubuntu x86 6.06 and 7.04 (Gnome)

    Purpose:
    To easily access Samba and Windows shares from all X-programs. (Especially mediaplayers.)


    1: Install samba and fusesmb from repositories:

    Open Synaptic Package Manager
    Install libsmbclient, samba-common, smbclient and fusesmb

    2: Give root and user access to fusesmb:

    Select from menu: "System->Administration->users and groups".
    Now select "root" then click "properties" and tag "allow use of fusesmb"
    Do the same for your user account.

    3: Create a mountpoint:

    In terminal write: sudo nautilus
    navigate to the /media folder
    create a new folder and rename it to "network" (you can call it something else if you like)
    Right click the folder, and select "properties" then select "permissions", for section "group" select the group "users", for section "folder acces" select "read and write".

    4: Make fusesmb start at boot.
    Select from menu: "system->preferences->sessions"
    Select new
    Name: fusesmbnet (can be whatever)
    command: fusesmb /media/network

    5: Try it out.
    Reboot to make changes take effect...
    Now you (should) have automatic access to windows networks from all programs.
    There may be a delay before fusesmb sees your network. So you may have to give it a couple of minutes....
    Much better than Gnome way of doing it IMO.

    Rollback:
    If you don't want it anyway, its easily reversible just following the guide again, but replace install/new/create/make with delete/remove/uninstall. Except you may want to keep the samba stuff.
    Last edited by BuffaloX; August 26th, 2007 at 09:38 AM.

  2. #2
    Join Date
    Mar 2007
    Location
    TN, US
    Beans
    607
    Distro
    Ubuntu

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    I just have an empty folder with no network access. Any Ideas??
    Registered Linux user 446122 , Registered Machine 352936.

  3. #3
    Join Date
    May 2006
    Location
    Denmark
    Beans
    405

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    Are you using Ubuntu with Gnome?
    Did you remember point 2?
    For me I had to give these rights to both root and user, otherwise it doesn't work.

    Does your Windows/Samba shares work normally in Nautilus?
    (Meaning are you sure you have a woking share to see.

    You should see your workgroups, and be able to navigate them as easy as local drives...

  4. #4
    Join Date
    Mar 2007
    Location
    TN, US
    Beans
    607
    Distro
    Ubuntu

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    Quote Originally Posted by BuffaloX View Post
    Are you using Ubuntu with Gnome?
    Did you remember point 2?
    For me I had to give these rights to both root and user, otherwise it doesn't work.

    Does your Windows/Samba shares work normally in Nautilus?
    (Meaning are you sure you have a woking share to see.

    You should see your workgroups, and be able to navigate them as easy as local drives...
    Network browsing in Nautilus works fine, and I have all permissions set correctly. Here are screenshots...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot-Account 'brendon' Properties.png 
Views:	356 
Size:	39.7 KB 
ID:	41451   Click image for larger version. 

Name:	Screenshot-Account 'root' Properties.png 
Views:	412 
Size:	39.4 KB 
ID:	41452   Click image for larger version. 

Name:	Screenshot-Network - File Browser.png 
Views:	441 
Size:	49.1 KB 
ID:	41453  
    Registered Linux user 446122 , Registered Machine 352936.

  5. #5
    Join Date
    May 2006
    Location
    Denmark
    Beans
    405

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    OK that looks fine.

    I suppose you have a working mountpoint, and read/write permission for user.
    Forgetting that gives the "empty folder" symptom.

    If that is OK, you could try to check if your Samba share works with xSMBrowser.
    Its available in Synaptic.
    (Just to check if Samba shares work independent of Gnome specific features)
    In xSMBrowser click on "Samba Config" to see accessible samba shares.

    If both of the above are true, See if all 4 mentioned packages required are installed.

    I can't think of anything else right now, so anybody please feel free to chip in.

  6. #6
    Join Date
    Mar 2007
    Location
    TN, US
    Beans
    607
    Distro
    Ubuntu

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    Quote Originally Posted by BuffaloX View Post
    OK that looks fine.

    I suppose you have a working mountpoint, and read/write permission for user.
    Forgetting that gives the "empty folder" symptom.

    If that is OK, you could try to check if your Samba share works with xSMBrowser.
    Its available in Synaptic.
    (Just to check if Samba shares work independent of Gnome specific features)
    In xSMBrowser click on "Samba Config" to see accessible samba shares.

    If both of the above are true, See if all 4 mentioned packages required are installed.

    I can't think of anything else right now, so anybody please feel free to chip in.
    I have checked all of the above to no avail, but i did see something interesting while browsing. I created a text document in /media/network to test my write privs, and when I went to delete it I was told that I could not move it to the trash, but had to delete it straightforward. That seems very similar to how you delete something on a networked computer. How can I tell which workgroup I am a part of??
    Registered Linux user 446122 , Registered Machine 352936.

  7. #7
    Join Date
    May 2006
    Location
    Denmark
    Beans
    405

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    Did xSMBrowser show any samba shares?

    To see your own workgroup select from menu:
    System -> administration -> shared folders.
    The name of your workgrup is in: "General properties".

    Note:
    This does not affect your ability to browse samba shares with fusesmb.

  8. #8
    Join Date
    Mar 2007
    Location
    TN, US
    Beans
    607
    Distro
    Ubuntu

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    Quote Originally Posted by BuffaloX View Post
    Did xSMBrowser show any samba shares?

    To see your own workgroup select from menu:
    System -> administration -> shared folders.
    The name of your workgrup is in: "General properties".

    Note:
    This does not affect your ability to browse samba shares with fusesmb.
    Here is what I get in xsmbrowser:

    Have I screwed up somewhere??
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot-xSMBrowser 3.4.0.png 
Views:	349 
Size:	10.6 KB 
ID:	41478  
    Registered Linux user 446122 , Registered Machine 352936.

  9. #9
    Join Date
    May 2006
    Location
    Denmark
    Beans
    405

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    No I don't think you screwed up.
    It looks perfectly alright,
    I don't know why fusesmb doesn't work for you.
    I'll have to look into it more closely.

    The only possible problem I can think of now, is if something in Ubuntu desktop makes fuseSMB not work correctly.

    I'll try to double-check the guide on a newly installed system ASAP, but it may be a couple of days because I don't have a test system available ATM.

    PS
    You could try to start fusesmb in a terminal. To see if it returns anything usable.
    Note that you cannot use already mounted mount-points.
    So either make a new one, or disable autostart of fusesmb and reboot.

  10. #10
    Join Date
    Mar 2007
    Location
    TN, US
    Beans
    607
    Distro
    Ubuntu

    Re: Howto Easy FuseSMB - access Samba shares from ALL programs. - automatic access to

    ok, so here is the command that helped get it straightened out:
    Code:
    fusesmb /media/network/ -o nonempty
    I don't know why, but it works now. Thanks!
    Registered Linux user 446122 , Registered Machine 352936.

Page 1 of 4 123 ... 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
  •