Announcement

Collapse
No announcement yet.

Begging for help to share a folder to windows [FIXED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Begging for help to share a folder to windows [FIXED]

    I am desperately trying to share a file to my windows computer on the network. I just have no idea how to go about it. I've searched around now for 2 hours. I've done sudo apt-get install samba I just need to get a folder visible to my windows machine. I can search for my computer with windows and find the samba shares. Unfortunately I can't figure out how to get any of my folders to appear there!

    #2
    Re: Begging for help to share a folder to windows

    Your samba package should be enough to share files. KDE4 comes with the kdenetwork-filesharing package to manage samba shared folders from the GUI. You should first install it and try if you can use the control panel icon that will appear in the system configuration.

    However, at least in my case, the KDE4 provided samba control panel can be installed but does not work.

    But you can share folders. The fastest route I know is: first, make sure that the samba daemon starts and keeps running. Edit the /etc/samba/smb.conf file. You need to do it as root.

    At the end of the file add the following text

    [SHARENAME]
    path = /home/grade12guy/sharedfolder
    browseable = yes
    read only = no
    guest ok = no

    (replace SHARENAME with the name you want to appear on other machines as the resource name and put in path= the path to the place you actually want to share)
    If you have and old-style workgroup or domain name you'll probably need to change at the beginning of the file in the [global] section the parameter

    workgroup = xxxxxx

    with the name of your workgroup.

    Then use the smbpasswd -a username command (again as root and replacing username with the actual user name you want) to add samba users to your machines. This is the user name and password that your Windows machine will request to you when you try to open the shared folder in the Windows machine.

    Save the file, restart the samba service (just in case) and try refreshing the network explorer window of your Windows machine. You'll then be prompted for an user name and password. Use the ones you gave to the smbpasswd program.

    Comment


      #3
      Re: Begging for help to share a folder to windows

      Thanks greatly.

      Comment

      Working...
      X