How to turn on Network Discovery and Share between computers with Samba












20














I have an Ubuntu server.
Accessing the server from Windows clients works fine.



But the server is not listed among the available PCs on Windows client's Network overview.

For windows machines it would be the Network Discovery feature.



How can I make my Samba server visible on the network?



Windows version is Windows 7.

The Workgroup in smb.conf is the same as in Windows.










share|improve this question
























  • I added the Edit, thnx for the answer!
    – Skip
    Jan 5 '13 at 22:24






  • 1




    Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
    – Skip
    Jan 5 '13 at 22:26
















20














I have an Ubuntu server.
Accessing the server from Windows clients works fine.



But the server is not listed among the available PCs on Windows client's Network overview.

For windows machines it would be the Network Discovery feature.



How can I make my Samba server visible on the network?



Windows version is Windows 7.

The Workgroup in smb.conf is the same as in Windows.










share|improve this question
























  • I added the Edit, thnx for the answer!
    – Skip
    Jan 5 '13 at 22:24






  • 1




    Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
    – Skip
    Jan 5 '13 at 22:26














20












20








20


7





I have an Ubuntu server.
Accessing the server from Windows clients works fine.



But the server is not listed among the available PCs on Windows client's Network overview.

For windows machines it would be the Network Discovery feature.



How can I make my Samba server visible on the network?



Windows version is Windows 7.

The Workgroup in smb.conf is the same as in Windows.










share|improve this question















I have an Ubuntu server.
Accessing the server from Windows clients works fine.



But the server is not listed among the available PCs on Windows client's Network overview.

For windows machines it would be the Network Discovery feature.



How can I make my Samba server visible on the network?



Windows version is Windows 7.

The Workgroup in smb.conf is the same as in Windows.







networking windows samba






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 29 '17 at 7:36









Zanna

50.3k13133241




50.3k13133241










asked Jan 5 '13 at 22:13









SkipSkip

203125




203125












  • I added the Edit, thnx for the answer!
    – Skip
    Jan 5 '13 at 22:24






  • 1




    Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
    – Skip
    Jan 5 '13 at 22:26


















  • I added the Edit, thnx for the answer!
    – Skip
    Jan 5 '13 at 22:24






  • 1




    Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
    – Skip
    Jan 5 '13 at 22:26
















I added the Edit, thnx for the answer!
– Skip
Jan 5 '13 at 22:24




I added the Edit, thnx for the answer!
– Skip
Jan 5 '13 at 22:24




1




1




Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
– Skip
Jan 5 '13 at 22:26




Ah, after explicitely adding the workgroup to my share-entry in smb.conf it worked, thnx! Before I had the workgroup in the global settings only!
– Skip
Jan 5 '13 at 22:26










4 Answers
4






active

oldest

votes


















19














To share resources (File Sharing) between 2 or more computers on the same LAN you need Samba which by default comes with Network discovery (After having Samba installed) activated. It will work for your local network but you need to remember to set the workgroup to the one the network is using.



To install Samba, first you either have to "Share a folder", I recommend sharing anything inside your home folder so it is less trouble because of permissions, this can be a folder in your desktop for example. You can share it by right clicking the folder and selecting Sharing, Ubuntu will guide you through a couple of Sharing questions that involve installing Samba and setting the correct permissions.



The other way to install samba is by literally installing samba ;). Either with Software Center or in the terminal typing the following: sudo apt-get install samba <-- Didn't see that one coming did you!



Now to edit the Samba configuration and make sure you are on the same network workgroup. The workgroup should be the same for all machines in your LAN. This way, they can actually take advantage of the network discovery between Windows and Ubuntu or Ubuntu and Ubuntu machines.




  1. Edit your smb.conf file: sudo nano /etc/samba/smb.conf



  2. Find the line in the [Global] secion that reads workgroup



    [global]

    ## Browsing/Identification ###

    # Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = WORKGROUP



  3. Change the value of workgroup to the one your network workgroup is using or set a new name for the workgroup you would like to be working on, for example:



    workgroup = myhomenet


  4. Save the file and restart the Samba service: sudo service smbd restart



Enjoy the power of weird network discovery ^^



This should be enough to have an Ubuntu to Ubuntu LAN working but in cases where Windows is involved and just in case Windows does not see your Ubuntu PC, add the following to you smb.conf file:



local master = yes
preferred master = yes


And of course restart your Samba service.



If still it does not see it, in Windows look for the Advanced Sharing Settings found in the left panel in the Network and Sharing Center. While in there choose the option Enable file sharing for devices that use 40 or 56 bit encryption. This is only an issue in Windows Vista and Above, if you have Windows XP it should work correctly.



After this, to access any other computers on the Network you can open the File Browser and select Browse Network :



enter image description here






share|improve this answer























  • My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
    – Antinous
    Jun 21 '17 at 9:55








  • 1




    @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
    – Luis Alvarado
    Jun 21 '17 at 15:27








  • 1




    If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
    – Luis Alvarado
    Jun 21 '17 at 19:57






  • 1




    This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
    – Antinous
    Jun 22 '17 at 11:05






  • 1




    @Antinous you da man!
    – Luis Alvarado
    Jun 22 '17 at 17:09



















3














I just decided to fix this annoying problem. I have had it for a long time but now when I set up a new PC it was time to make it work.





  1. I set my Ubuntu box as a WINS server and also added the lines from the post above to my smb.conf:



    wins support = yes
    local master = yes
    preferred master = yes


  2. Since that didn't help, I forced my Win7 box to use the Ubuntu box as WINS server by modifying the advanced WINS settings in the IPv4 preferences of the network adapter



  3. That didn't help either so I fired up Wireshark to see what was happening. I saw the Win7 box query the WINS server and I saw the response containing all computers with shares. So, why didn't they show up in Windows? I thought Firewall. I use the Windows firewall and in the advanced settings for that I noticed that



    File and Printer Sharing (LLMNR-UDP-In)


    is enabled for private networks but not for domain or public. I simply enabled the rule for domain and public as well.



  4. Phew, my computers now show up in Windows. I suppose that there might be a way to make Win7 include the Ubuntu box and other linux machines in whatever it defines as private network but I will save that adventure for another day.



I hope that this might help someone.



EDIT: After enabling the firewall rule I removed the hard-coded WINS server setting in the network adapter, now when the traffic is allowed, I think that the standard negotiatioon process might work as I want it to.






share|improve this answer































    1














    If you want something that is user friendly there is a tool called system-config-samba that you can get from the software manager.



    Once you have this downloaded you can see which folders are shared, their permissions and if they are visible. At least one folder must be visible in order for a Windows machine to see it on the network.






    share|improve this answer





















    • Doesn't work - crashes.
      – Antinous
      Jun 21 '17 at 9:58



















    1














    Well I have solved it by going to add remove windows components and checked SMB1 /CIFS client and server and it worked like a charm.
    I hope it helps you.



    Regards



    Marko






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f236746%2fhow-to-turn-on-network-discovery-and-share-between-computers-with-samba%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      19














      To share resources (File Sharing) between 2 or more computers on the same LAN you need Samba which by default comes with Network discovery (After having Samba installed) activated. It will work for your local network but you need to remember to set the workgroup to the one the network is using.



      To install Samba, first you either have to "Share a folder", I recommend sharing anything inside your home folder so it is less trouble because of permissions, this can be a folder in your desktop for example. You can share it by right clicking the folder and selecting Sharing, Ubuntu will guide you through a couple of Sharing questions that involve installing Samba and setting the correct permissions.



      The other way to install samba is by literally installing samba ;). Either with Software Center or in the terminal typing the following: sudo apt-get install samba <-- Didn't see that one coming did you!



      Now to edit the Samba configuration and make sure you are on the same network workgroup. The workgroup should be the same for all machines in your LAN. This way, they can actually take advantage of the network discovery between Windows and Ubuntu or Ubuntu and Ubuntu machines.




      1. Edit your smb.conf file: sudo nano /etc/samba/smb.conf



      2. Find the line in the [Global] secion that reads workgroup



        [global]

        ## Browsing/Identification ###

        # Change this to the workgroup/NT-domain name your Samba server will part of
        workgroup = WORKGROUP



      3. Change the value of workgroup to the one your network workgroup is using or set a new name for the workgroup you would like to be working on, for example:



        workgroup = myhomenet


      4. Save the file and restart the Samba service: sudo service smbd restart



      Enjoy the power of weird network discovery ^^



      This should be enough to have an Ubuntu to Ubuntu LAN working but in cases where Windows is involved and just in case Windows does not see your Ubuntu PC, add the following to you smb.conf file:



      local master = yes
      preferred master = yes


      And of course restart your Samba service.



      If still it does not see it, in Windows look for the Advanced Sharing Settings found in the left panel in the Network and Sharing Center. While in there choose the option Enable file sharing for devices that use 40 or 56 bit encryption. This is only an issue in Windows Vista and Above, if you have Windows XP it should work correctly.



      After this, to access any other computers on the Network you can open the File Browser and select Browse Network :



      enter image description here






      share|improve this answer























      • My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
        – Antinous
        Jun 21 '17 at 9:55








      • 1




        @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
        – Luis Alvarado
        Jun 21 '17 at 15:27








      • 1




        If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
        – Luis Alvarado
        Jun 21 '17 at 19:57






      • 1




        This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
        – Antinous
        Jun 22 '17 at 11:05






      • 1




        @Antinous you da man!
        – Luis Alvarado
        Jun 22 '17 at 17:09
















      19














      To share resources (File Sharing) between 2 or more computers on the same LAN you need Samba which by default comes with Network discovery (After having Samba installed) activated. It will work for your local network but you need to remember to set the workgroup to the one the network is using.



      To install Samba, first you either have to "Share a folder", I recommend sharing anything inside your home folder so it is less trouble because of permissions, this can be a folder in your desktop for example. You can share it by right clicking the folder and selecting Sharing, Ubuntu will guide you through a couple of Sharing questions that involve installing Samba and setting the correct permissions.



      The other way to install samba is by literally installing samba ;). Either with Software Center or in the terminal typing the following: sudo apt-get install samba <-- Didn't see that one coming did you!



      Now to edit the Samba configuration and make sure you are on the same network workgroup. The workgroup should be the same for all machines in your LAN. This way, they can actually take advantage of the network discovery between Windows and Ubuntu or Ubuntu and Ubuntu machines.




      1. Edit your smb.conf file: sudo nano /etc/samba/smb.conf



      2. Find the line in the [Global] secion that reads workgroup



        [global]

        ## Browsing/Identification ###

        # Change this to the workgroup/NT-domain name your Samba server will part of
        workgroup = WORKGROUP



      3. Change the value of workgroup to the one your network workgroup is using or set a new name for the workgroup you would like to be working on, for example:



        workgroup = myhomenet


      4. Save the file and restart the Samba service: sudo service smbd restart



      Enjoy the power of weird network discovery ^^



      This should be enough to have an Ubuntu to Ubuntu LAN working but in cases where Windows is involved and just in case Windows does not see your Ubuntu PC, add the following to you smb.conf file:



      local master = yes
      preferred master = yes


      And of course restart your Samba service.



      If still it does not see it, in Windows look for the Advanced Sharing Settings found in the left panel in the Network and Sharing Center. While in there choose the option Enable file sharing for devices that use 40 or 56 bit encryption. This is only an issue in Windows Vista and Above, if you have Windows XP it should work correctly.



      After this, to access any other computers on the Network you can open the File Browser and select Browse Network :



      enter image description here






      share|improve this answer























      • My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
        – Antinous
        Jun 21 '17 at 9:55








      • 1




        @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
        – Luis Alvarado
        Jun 21 '17 at 15:27








      • 1




        If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
        – Luis Alvarado
        Jun 21 '17 at 19:57






      • 1




        This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
        – Antinous
        Jun 22 '17 at 11:05






      • 1




        @Antinous you da man!
        – Luis Alvarado
        Jun 22 '17 at 17:09














      19












      19








      19






      To share resources (File Sharing) between 2 or more computers on the same LAN you need Samba which by default comes with Network discovery (After having Samba installed) activated. It will work for your local network but you need to remember to set the workgroup to the one the network is using.



      To install Samba, first you either have to "Share a folder", I recommend sharing anything inside your home folder so it is less trouble because of permissions, this can be a folder in your desktop for example. You can share it by right clicking the folder and selecting Sharing, Ubuntu will guide you through a couple of Sharing questions that involve installing Samba and setting the correct permissions.



      The other way to install samba is by literally installing samba ;). Either with Software Center or in the terminal typing the following: sudo apt-get install samba <-- Didn't see that one coming did you!



      Now to edit the Samba configuration and make sure you are on the same network workgroup. The workgroup should be the same for all machines in your LAN. This way, they can actually take advantage of the network discovery between Windows and Ubuntu or Ubuntu and Ubuntu machines.




      1. Edit your smb.conf file: sudo nano /etc/samba/smb.conf



      2. Find the line in the [Global] secion that reads workgroup



        [global]

        ## Browsing/Identification ###

        # Change this to the workgroup/NT-domain name your Samba server will part of
        workgroup = WORKGROUP



      3. Change the value of workgroup to the one your network workgroup is using or set a new name for the workgroup you would like to be working on, for example:



        workgroup = myhomenet


      4. Save the file and restart the Samba service: sudo service smbd restart



      Enjoy the power of weird network discovery ^^



      This should be enough to have an Ubuntu to Ubuntu LAN working but in cases where Windows is involved and just in case Windows does not see your Ubuntu PC, add the following to you smb.conf file:



      local master = yes
      preferred master = yes


      And of course restart your Samba service.



      If still it does not see it, in Windows look for the Advanced Sharing Settings found in the left panel in the Network and Sharing Center. While in there choose the option Enable file sharing for devices that use 40 or 56 bit encryption. This is only an issue in Windows Vista and Above, if you have Windows XP it should work correctly.



      After this, to access any other computers on the Network you can open the File Browser and select Browse Network :



      enter image description here






      share|improve this answer














      To share resources (File Sharing) between 2 or more computers on the same LAN you need Samba which by default comes with Network discovery (After having Samba installed) activated. It will work for your local network but you need to remember to set the workgroup to the one the network is using.



      To install Samba, first you either have to "Share a folder", I recommend sharing anything inside your home folder so it is less trouble because of permissions, this can be a folder in your desktop for example. You can share it by right clicking the folder and selecting Sharing, Ubuntu will guide you through a couple of Sharing questions that involve installing Samba and setting the correct permissions.



      The other way to install samba is by literally installing samba ;). Either with Software Center or in the terminal typing the following: sudo apt-get install samba <-- Didn't see that one coming did you!



      Now to edit the Samba configuration and make sure you are on the same network workgroup. The workgroup should be the same for all machines in your LAN. This way, they can actually take advantage of the network discovery between Windows and Ubuntu or Ubuntu and Ubuntu machines.




      1. Edit your smb.conf file: sudo nano /etc/samba/smb.conf



      2. Find the line in the [Global] secion that reads workgroup



        [global]

        ## Browsing/Identification ###

        # Change this to the workgroup/NT-domain name your Samba server will part of
        workgroup = WORKGROUP



      3. Change the value of workgroup to the one your network workgroup is using or set a new name for the workgroup you would like to be working on, for example:



        workgroup = myhomenet


      4. Save the file and restart the Samba service: sudo service smbd restart



      Enjoy the power of weird network discovery ^^



      This should be enough to have an Ubuntu to Ubuntu LAN working but in cases where Windows is involved and just in case Windows does not see your Ubuntu PC, add the following to you smb.conf file:



      local master = yes
      preferred master = yes


      And of course restart your Samba service.



      If still it does not see it, in Windows look for the Advanced Sharing Settings found in the left panel in the Network and Sharing Center. While in there choose the option Enable file sharing for devices that use 40 or 56 bit encryption. This is only an issue in Windows Vista and Above, if you have Windows XP it should work correctly.



      After this, to access any other computers on the Network you can open the File Browser and select Browse Network :



      enter image description here







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jun 11 '13 at 17:03

























      answered Jan 5 '13 at 22:39









      Luis AlvaradoLuis Alvarado

      144k135484649




      144k135484649












      • My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
        – Antinous
        Jun 21 '17 at 9:55








      • 1




        @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
        – Luis Alvarado
        Jun 21 '17 at 15:27








      • 1




        If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
        – Luis Alvarado
        Jun 21 '17 at 19:57






      • 1




        This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
        – Antinous
        Jun 22 '17 at 11:05






      • 1




        @Antinous you da man!
        – Luis Alvarado
        Jun 22 '17 at 17:09


















      • My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
        – Antinous
        Jun 21 '17 at 9:55








      • 1




        @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
        – Luis Alvarado
        Jun 21 '17 at 15:27








      • 1




        If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
        – Luis Alvarado
        Jun 21 '17 at 19:57






      • 1




        This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
        – Antinous
        Jun 22 '17 at 11:05






      • 1




        @Antinous you da man!
        – Luis Alvarado
        Jun 22 '17 at 17:09
















      My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
      – Antinous
      Jun 21 '17 at 9:55






      My two Ubuntu laptops don't recognize each other at the "Enjoy the power of weird network discovery ^^" point :-(
      – Antinous
      Jun 21 '17 at 9:55






      1




      1




      @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
      – Luis Alvarado
      Jun 21 '17 at 15:27






      @Antinous wait but if both are Ubuntu, why do you need advanced configuration for samba then? I mean I understand ease of use, but it should be as easy as right clicking a folder and clicking on share. This would install the basic for Samba. Can I ask what version of ubuntu you are using. To give you an idea, right now I have 3 computers using ubuntu 17.04. The router has upnp enabled and they can easily see each other. Basically the shared resources show automatically on the others .
      – Luis Alvarado
      Jun 21 '17 at 15:27






      1




      1




      If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
      – Luis Alvarado
      Jun 21 '17 at 19:57




      If possible, could you upgrade from 16.10 to 17.04 or install 16.04. Maybe not you but in my case, 16.10 was hell for me in too many ways. I practically jumped over it when going from 16.04 to 17.04.
      – Luis Alvarado
      Jun 21 '17 at 19:57




      1




      1




      This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
      – Antinous
      Jun 22 '17 at 11:05




      This is now fixed. I had shared my Documents folder in Home, this didn't work. So I shared my Home folder instead. That worked ! :-D
      – Antinous
      Jun 22 '17 at 11:05




      1




      1




      @Antinous you da man!
      – Luis Alvarado
      Jun 22 '17 at 17:09




      @Antinous you da man!
      – Luis Alvarado
      Jun 22 '17 at 17:09













      3














      I just decided to fix this annoying problem. I have had it for a long time but now when I set up a new PC it was time to make it work.





      1. I set my Ubuntu box as a WINS server and also added the lines from the post above to my smb.conf:



        wins support = yes
        local master = yes
        preferred master = yes


      2. Since that didn't help, I forced my Win7 box to use the Ubuntu box as WINS server by modifying the advanced WINS settings in the IPv4 preferences of the network adapter



      3. That didn't help either so I fired up Wireshark to see what was happening. I saw the Win7 box query the WINS server and I saw the response containing all computers with shares. So, why didn't they show up in Windows? I thought Firewall. I use the Windows firewall and in the advanced settings for that I noticed that



        File and Printer Sharing (LLMNR-UDP-In)


        is enabled for private networks but not for domain or public. I simply enabled the rule for domain and public as well.



      4. Phew, my computers now show up in Windows. I suppose that there might be a way to make Win7 include the Ubuntu box and other linux machines in whatever it defines as private network but I will save that adventure for another day.



      I hope that this might help someone.



      EDIT: After enabling the firewall rule I removed the hard-coded WINS server setting in the network adapter, now when the traffic is allowed, I think that the standard negotiatioon process might work as I want it to.






      share|improve this answer




























        3














        I just decided to fix this annoying problem. I have had it for a long time but now when I set up a new PC it was time to make it work.





        1. I set my Ubuntu box as a WINS server and also added the lines from the post above to my smb.conf:



          wins support = yes
          local master = yes
          preferred master = yes


        2. Since that didn't help, I forced my Win7 box to use the Ubuntu box as WINS server by modifying the advanced WINS settings in the IPv4 preferences of the network adapter



        3. That didn't help either so I fired up Wireshark to see what was happening. I saw the Win7 box query the WINS server and I saw the response containing all computers with shares. So, why didn't they show up in Windows? I thought Firewall. I use the Windows firewall and in the advanced settings for that I noticed that



          File and Printer Sharing (LLMNR-UDP-In)


          is enabled for private networks but not for domain or public. I simply enabled the rule for domain and public as well.



        4. Phew, my computers now show up in Windows. I suppose that there might be a way to make Win7 include the Ubuntu box and other linux machines in whatever it defines as private network but I will save that adventure for another day.



        I hope that this might help someone.



        EDIT: After enabling the firewall rule I removed the hard-coded WINS server setting in the network adapter, now when the traffic is allowed, I think that the standard negotiatioon process might work as I want it to.






        share|improve this answer


























          3












          3








          3






          I just decided to fix this annoying problem. I have had it for a long time but now when I set up a new PC it was time to make it work.





          1. I set my Ubuntu box as a WINS server and also added the lines from the post above to my smb.conf:



            wins support = yes
            local master = yes
            preferred master = yes


          2. Since that didn't help, I forced my Win7 box to use the Ubuntu box as WINS server by modifying the advanced WINS settings in the IPv4 preferences of the network adapter



          3. That didn't help either so I fired up Wireshark to see what was happening. I saw the Win7 box query the WINS server and I saw the response containing all computers with shares. So, why didn't they show up in Windows? I thought Firewall. I use the Windows firewall and in the advanced settings for that I noticed that



            File and Printer Sharing (LLMNR-UDP-In)


            is enabled for private networks but not for domain or public. I simply enabled the rule for domain and public as well.



          4. Phew, my computers now show up in Windows. I suppose that there might be a way to make Win7 include the Ubuntu box and other linux machines in whatever it defines as private network but I will save that adventure for another day.



          I hope that this might help someone.



          EDIT: After enabling the firewall rule I removed the hard-coded WINS server setting in the network adapter, now when the traffic is allowed, I think that the standard negotiatioon process might work as I want it to.






          share|improve this answer














          I just decided to fix this annoying problem. I have had it for a long time but now when I set up a new PC it was time to make it work.





          1. I set my Ubuntu box as a WINS server and also added the lines from the post above to my smb.conf:



            wins support = yes
            local master = yes
            preferred master = yes


          2. Since that didn't help, I forced my Win7 box to use the Ubuntu box as WINS server by modifying the advanced WINS settings in the IPv4 preferences of the network adapter



          3. That didn't help either so I fired up Wireshark to see what was happening. I saw the Win7 box query the WINS server and I saw the response containing all computers with shares. So, why didn't they show up in Windows? I thought Firewall. I use the Windows firewall and in the advanced settings for that I noticed that



            File and Printer Sharing (LLMNR-UDP-In)


            is enabled for private networks but not for domain or public. I simply enabled the rule for domain and public as well.



          4. Phew, my computers now show up in Windows. I suppose that there might be a way to make Win7 include the Ubuntu box and other linux machines in whatever it defines as private network but I will save that adventure for another day.



          I hope that this might help someone.



          EDIT: After enabling the firewall rule I removed the hard-coded WINS server setting in the network adapter, now when the traffic is allowed, I think that the standard negotiatioon process might work as I want it to.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 29 '17 at 7:38









          Zanna

          50.3k13133241




          50.3k13133241










          answered Oct 24 '13 at 13:06









          fre_berfre_ber

          311




          311























              1














              If you want something that is user friendly there is a tool called system-config-samba that you can get from the software manager.



              Once you have this downloaded you can see which folders are shared, their permissions and if they are visible. At least one folder must be visible in order for a Windows machine to see it on the network.






              share|improve this answer





















              • Doesn't work - crashes.
                – Antinous
                Jun 21 '17 at 9:58
















              1














              If you want something that is user friendly there is a tool called system-config-samba that you can get from the software manager.



              Once you have this downloaded you can see which folders are shared, their permissions and if they are visible. At least one folder must be visible in order for a Windows machine to see it on the network.






              share|improve this answer





















              • Doesn't work - crashes.
                – Antinous
                Jun 21 '17 at 9:58














              1












              1








              1






              If you want something that is user friendly there is a tool called system-config-samba that you can get from the software manager.



              Once you have this downloaded you can see which folders are shared, their permissions and if they are visible. At least one folder must be visible in order for a Windows machine to see it on the network.






              share|improve this answer












              If you want something that is user friendly there is a tool called system-config-samba that you can get from the software manager.



              Once you have this downloaded you can see which folders are shared, their permissions and if they are visible. At least one folder must be visible in order for a Windows machine to see it on the network.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 7 '13 at 2:40









              slayton1213slayton1213

              3027




              3027












              • Doesn't work - crashes.
                – Antinous
                Jun 21 '17 at 9:58


















              • Doesn't work - crashes.
                – Antinous
                Jun 21 '17 at 9:58
















              Doesn't work - crashes.
              – Antinous
              Jun 21 '17 at 9:58




              Doesn't work - crashes.
              – Antinous
              Jun 21 '17 at 9:58











              1














              Well I have solved it by going to add remove windows components and checked SMB1 /CIFS client and server and it worked like a charm.
              I hope it helps you.



              Regards



              Marko






              share|improve this answer


























                1














                Well I have solved it by going to add remove windows components and checked SMB1 /CIFS client and server and it worked like a charm.
                I hope it helps you.



                Regards



                Marko






                share|improve this answer
























                  1












                  1








                  1






                  Well I have solved it by going to add remove windows components and checked SMB1 /CIFS client and server and it worked like a charm.
                  I hope it helps you.



                  Regards



                  Marko






                  share|improve this answer












                  Well I have solved it by going to add remove windows components and checked SMB1 /CIFS client and server and it worked like a charm.
                  I hope it helps you.



                  Regards



                  Marko







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 16 '18 at 22:08









                  MarkoMarko

                  111




                  111






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f236746%2fhow-to-turn-on-network-discovery-and-share-between-computers-with-samba%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                      Eduardo VII do Reino Unido