Announcement

Collapse
No announcement yet.

Folder Sharing With A Home Workgroup?

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

    #16
    Originally posted by sithlord48 View Post
    don't you mean put that in /etc/fstab ?
    Yes, that's right.
    Last edited by kent92; Nov 26, 2016, 07:42 AM.

    Comment


      #17
      Originally posted by Snowhog View Post
      What version of Kubuntu are you running?
      Hate to say it but I'm cheating...I'm hoping most of the info is the same here, even though I'm actually running Mint 18 (32 bit). The replies and the help I get here have been so much better than what I've received anywhere else. So far all of the help I've received here on other questions has had successful results.
      Home office = Linux Mint 18 working well Thanks to you!
      Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

      Comment


        #18
        Not a deal breaker, and thank you for letting us know. Mint is a Ubuntu Linux distro and is mostly structuraly the same as Kubuntu. I can't, and won't, say that everything Kubuntu is 100% compatible with Mint, but if it works, it works.
        Last edited by Snowhog; Nov 27, 2016, 09:23 PM.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #19
          Originally posted by kent92 View Post
          in your /etc/samba/smb.conf, you should have a something like this

          [myfolder]
          comment = myfolder
          read only = no
          locking = no
          path = /media/myfolder

          and in your /etc/fstab something like this

          UUID="XXXXXXXXXXX" /media/myfolder ntfs-3g defaults,noatime,locale=en_US.utf8 0 0

          yes?

          Use blkid -command to get UUID of the device partition you want to share
          Not quite... this is all that's in that fstab file:

          # <file system> <mount point> <type> <options> <dump> <pass>
          # / was on /dev/sda5 during installation
          UUID=6a75019b-985b-4d87-899a-adefeb10f5e3 / ext4 errors=remount-ro 0 1
          # swap was on /dev/sda6 during installation
          UUID=2302c531-1c10-426b-9813-105f62e14265 none swap sw 0 0

          blkid -command yields this:

          /dev/sda1: UUID="38F006A4F0066888" TYPE="ntfs" PARTUUID="82138213-01"
          /dev/sda5: UUID="6a75019b-985b-4d87-899a-adefeb10f5e3" TYPE="ext4" PARTUUID="82138213-05"
          /dev/sda6: UUID="2302c531-1c10-426b-9813-105f62e14265" TYPE="swap" PARTUUID="82138213-06"

          fyi... this machine is stil setup as dual boot, hence the ntfs partition, though I have not booted to Windows in over 2 months, and what I'm trying to share from the Linux side has nothing to do with the ntfs partition on this machine. When the day comes that I quit finding things I need to learn how to do in Linux that I used to do in Windows then the ntfs part will be wiped and reclaimed for Linux use.
          Last edited by soundchaser59; Nov 27, 2016, 09:03 PM.
          Home office = Linux Mint 18 working well Thanks to you!
          Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

          Comment


            #20
            Originally posted by GreyGeek View Post
            Have you tried ntfs-3g and ntfs-config?
            I am guessing that part of the problem here is that I have not done anything with this, and I haven't yet found anything that explains what this ntfs stuff does or what it's for.

            On the other hand, I don't understand what ntfs would have to do with sharing from Linux, unless it is needed to allow a Windows machine to actually see and talk to my shared Linux folder. But I don't believe my Linux machine is using ntfs in any way locally. If it is, it was not done deliberately.

            Or are you saying I must use ntfs-3g in order to share a folder with the Windows computers? Do I have to create an ntfs partition under Linux just for sharing with Windows machines? The Windows machines in my home workgroup will not be able to see a folder that is on the Linux ext partition?
            Last edited by soundchaser59; Nov 27, 2016, 09:22 PM.
            Home office = Linux Mint 18 working well Thanks to you!
            Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

            Comment


              #21
              Originally posted by Snowhog View Post
              Not a deal breaker, and thank you for letting us know. Mint is a Ubuntu Linux distro and is mostly structuraly the same as Kubuntu. I can't, and won't, say that everything Kubuntu is 100% compatible with Mint, but if it works, it works.
              Understood...and thanks. My programmer friends all suggested I should run with Kubuntu, all but one. The one suggested I start with Mint since I am knowledgeable about many things computer but I had no experience with any form of Linux, and he thought Mint would be a great "get acquainted" go between for me to get comfortable first before switching entirely to Kubuntu. So far I can safely credit Mint with getting me farther than I've ever come on any previous Linux attempt. I definitely credit Mint with keeping me from booting up to Windows for almost 3 months now, that alone is worth it. I don't plan to run Mint forever, but it is a good teaching tool. I'm lucky that so many basic user friendly things are compatible and do crossover between Kubuntu and Mint.

              And I can safely say the difference between this forum and the Mint forum is quite obvious! So I tend to come here first looking for info and answers.
              Last edited by Snowhog; Nov 27, 2016, 11:06 PM.
              Home office = Linux Mint 18 working well Thanks to you!
              Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

              Comment


                #22
                ntfs = Microsoft's "New Technology File System", first found on their NT version release, IIRC.
                3g = 3rd generation, also IIRC.

                ntfs-3g is the read/write NTFS driver for FUSE. The FUSE (Filesystem in Userspace) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. FUSE also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.

                It's been a while but the ntfs driver allowed me to r/w my Windows ntfs partition when I dual booted with WinXP.

                There are several ntfs files in the repository:
                Click image for larger version

Name:	ntfs_files.png
Views:	1
Size:	62.6 KB
ID:	643415
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #23
                  Originally posted by soundchaser59 View Post
                  ... My programmer friends all suggested I should run with Kubuntu, all but one. The one suggested I start with Mint since I am knowledgeable about many things computer but I had no experience with any form of Linux, and he thought Mint would be a great "get acquainted" go between for me to get comfortable first before switching entirely to Kubuntu. So far I can safely credit Mint with getting me farther than I've ever come on any previous Linux attempt. I definitely credit Mint with keeping me from booting up to Windows for almost 3 months now, that alone is worth it. I don't plan to run Mint forever, but it is a good teaching tool. I'm lucky that so many basic user friendly things are compatible and do crossover between Kubuntu and Mint.

                  And I can safely say the difference between this forum and the Mint forum is quite obvious! So I tend to come here first looking for info and answers.
                  KDE Mint is an excellent distro. I tried it out for three months this year (Jan-Mar) but returned to Kubuntu Plasma5 up to two months ago, when I switched to KDE Neon, which has turned out to be the best Linux "distro" I have run since I first ran Linux with RedHat 5.0 in May of 1998. KDE is just a desktop setting on top of Ubuntu. Ditto for KDE Mint. It is possible to have more than one kind of desktop installed and switch between them, but I ceased doing that long ago because KDE gives me the kind of power and flexibility that I sought. In a sense I am still using Kubuntu so that means that I have been using Kubuntu continually since January of 2009. The only other distro I've used nearly as long is SuSE, now called openSUSE.
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment


                    #24
                    Originally posted by soundchaser59 View Post
                    On the other hand, I don't understand what ntfs would have to do with sharing from Linux, unless it is needed to allow a Windows machine to actually see and talk to my shared Linux folder. But I don't believe my Linux machine is using ntfs in any way locally. If it is, it was not done deliberately.

                    Or are you saying I must use ntfs-3g in order to share a folder with the Windows computers? Do I have to create an ntfs partition under Linux just for sharing with Windows machines? The Windows machines in my home workgroup will not be able to see a folder that is on the Linux ext partition?
                    If you just want to share a folder from your linux system, you don't need to use ntfs-3g. It's only needed, when sharing a disk
                    partition which has a ntfs-filesystem.

                    BTW, have you tested your linux samba setup with smbclient?

                    sudo apt-get install smbclient
                    smbclient -L //localhost/ -U <user-name>

                    You should see your shared folder listed.

                    Comment


                      #25
                      Originally posted by kent92 View Post
                      If you just want to share a folder from your linux system, you don't need to use ntfs-3g. It's only needed, when sharing a disk
                      partition which has a ntfs-filesystem.

                      BTW, have you tested your linux samba setup with smbclient?

                      sudo apt-get install smbclient
                      smbclient -L //localhost/ -U <user-name>

                      You should see your shared folder listed.
                      This linux machine name is SC59. The Windows workgroup name is and has always been CDI. The folder I want to be able to see from the Windows machine in the basement is srv/samba/PENNYBEAR. I'm not sure how Linux would know about the HP4630 printer, that printer driver was only installed on the WinXP partition of this (dual boot) machine. I have not (knowingly) installed any printer drivers on Mint.

                      Here is the result of that command:

                      Domain=[CDI] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]

                      Sharename Type Comment
                      --------- ---- -------
                      print$ Disk Printer Drivers
                      PENNYBEAR Disk PB Files
                      IPC$ IPC IPC Service (SC59 server (Samba, Ubuntu))
                      HP-Officejet-4630-series Printer HP Officejet 4630 series CDI
                      Domain=[CDI] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]

                      Server Comment
                      --------- -------
                      SC59 SC59 server (Samba, Ubuntu)

                      Workgroup Master
                      --------- -------
                      CDI
                      Home office = Linux Mint 18 working well Thanks to you!
                      Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

                      Comment


                        #26
                        Looks good for me.

                        Can you get listing of linux samba shares, from your windows machine, with command:
                        net view <linux-ip-address>

                        Comment


                          #27
                          Originally posted by kent92 View Post
                          Looks good for me.

                          Can you get listing of linux samba shares, from your windows machine, with command:
                          net view <linux-ip-address>
                          (SC592 is the Windows machine in the basement, SC59 is the local Mint machine that has the folder to share)

                          Just doing net view at a command prompt I get this:

                          Server Name Remark
                          \\SC59 SC59 server (Samba, Ubuntu)
                          \\SC592

                          But if I do net view 192.168.1.3 or net view SC59 either way I get "network path was not found"

                          It's like the Windows machine knows the Linux machine is there, but it can't talk to it.
                          Last edited by soundchaser59; Nov 28, 2016, 11:25 AM.
                          Home office = Linux Mint 18 working well Thanks to you!
                          Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

                          Comment


                            #28
                            Does the ping-command work from windows to linux?

                            This could also be firewall issue. Do you have firewall enabled in your linux machine? You can check it by command:
                            sudo iptables -L

                            Comment


                              #29
                              Originally posted by kent92 View Post
                              Do you have firewall enabled in your linux machine? You can check it by command:
                              sudo iptables -L
                              The result of that command is very verbose. What would I be looking for in the result?
                              Home office = Linux Mint 18 working well Thanks to you!
                              Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

                              Comment


                                #30
                                Originally posted by kent92 View Post
                                Does the ping-command work from windows to linux?
                                it does, it gets the standard 4 replies, time <1ms.

                                According to firewall config,
                                Profile = Home
                                Status = on
                                Incoming = Deny
                                Outgoing = allow
                                Last edited by soundchaser59; Nov 28, 2016, 01:33 PM.
                                Home office = Linux Mint 18 working well Thanks to you!
                                Home studio = AVLinux dual core "Conroe" 6750 P5Ke mb 6gb ram Nvidia GeForce 210 hopefully soon to wipe out Win 7 (all is 32 bit)

                                Comment

                                Working...
                                X