suggestion linux for file sharing server

Discussion in 'General Linux' started by darkmesaia, Mar 12, 2014.

  1. darkmesaia

    darkmesaia New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Good evening,

    I have build a pc that i want to run some version of linux, preferably be have possibility desktop interface

    We are not very expert via terminal, I'm a moderate level

    As I said I would like to run a linux OS you will service a local area file sharing network with several computers as windows 7 & very few pc xp

    Which linux should be trusted for such a job, and of course some guidelines to be able to setup a secure local network



    Thanks in advance
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    430
    Trophy Points:
    83
  3. darkmesaia

    darkmesaia New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Ok, will try a of them and let you know if i have questions


    Thanks for the answer
  4. darkmesaia

    darkmesaia New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello again

    we have install the latest version of debian and I have modified the samba

    but getting this error on sharing

    Unable to mount location
    Failed to mount Windows share

    We configured the samba config thereby

    [HDD_A]
    path = /media/HDD_1
    public = yes
    writable = yes
    comment = TEST
    guest ok = yes

    We want to have access to all this path

    Can you help us about this


    Thanks in advance
  5. Snipert

    Snipert New Member

    Messages:
    10
    Likes Received:
    2
    Trophy Points:
    3
    A quick check, is the file system ntfs?
    As root, apt-get install ntfs-3g on the server
    This helped solve a bunch of read / write problems I had when working with my ntfs drive.

    Also:
    what's the output of lsblk command from the terminal?
  6. darkmesaia

    darkmesaia New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    we try this lsblk and here is results

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 111.8G 0 disk
    ├─sda1 8:1 0 100M 0 part
    ├─sda2 8:2 0 55.9G 0 part
    └─sda3 8:3 0 55.8G 0 part /
    sdb 8:16 0 1.8T 0 disk
    └─sdb1 8:17 0 1.8T 0 part /media/HDD_A
    sdc 8:32 0 1.8T 0 disk
    └─sdc1 8:33 0 1.8T 0 part /media/HDD_B
    sr0 11:0 1 1024M 0 rom


    Update: We have add this
    apt-get install ntfs-3g

    But still nothing :(
  7. Snipert

    Snipert New Member

    Messages:
    10
    Likes Received:
    2
    Trophy Points:
    3
    Ok, that tells me you have mounted it and should be able to access it locally.
    Make sure to restart the samba service when you change the config file
    As root:
    Code:
    service samba restart
    Where does it say
    A windows computer? Another Linux computer?
    The reason I ask is the Linux side may be ok, Windows can be horribly difficult when sharing (I have bad memories of that)
    I would suggest live booting one of the other windows computers (won't affect the hard drive at all; I'd use Ubuntu / Linux Mint) and seeing if you can connect. This will determine whether the Samba configurations is correct. If it works, then it's a windows side problem.
    That's a can of worms by itself. As a possibility, what is the workgroup of all the windows computers? the smb.conf has a setting which is defaulted to WORKGROUP. If you have changed it, that might be the problem. For reference, this is my smb.conf file (minus global settings)

    Code:
    [Share]
    comment = Share
    path = /media/mymountpoint
    guest ok = yes
    read only = no
    browseable = yes
    
    This works on all my linux computers.
    And... this worked on the one windows computer.
  8. darkmesaia

    darkmesaia New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Yes after from any changes we have restart samba service

    Basically all the other pc's that I want to serve via debian & samba is windows 7 and some with xp

    About the samba config does not have made any change except the path(disk) that we want to share

    Also with this settings

    Code:
    [Share]
    comment = Share
    path = /media/mymountpoint
    guest ok = yes
    read only = no
    browseable = yes
    We get message

    windows cannot access \\ip etc


    Thanks for your time
  9. Snipert

    Snipert New Member

    Messages:
    10
    Likes Received:
    2
    Trophy Points:
    3
    EDIT:
    This might be a wild throwaway, but your samba config says:
    path = /media/USB_HDD_1
    when your lsblk mount point says /media/USB_HDD_A
    Your samba config may be pointing to a non-existent location.
    __________________
    what is the output of df -T /media/HDD_1

    Also, do you have any Window firewalls activated? Extra security software that may be blocking network folders? Make sure they are all disabled (while you test the connection) to eliminate that being a possibility.
    Can you access other windows shared network files? With either debian/windows computers?
    Last edited: Mar 16, 2014

Share This Page