Jump to content

Frank1940

Members
  • Posts

    9,917
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by Frank1940

  1. You need to research the scanner as much as possible.  You are looking for what version of SMB your scanner will support.  (Many of these require SMBv1  or NT1.)  Many installs of Unraid only support SMBv2 and higher.  It is possible to turn on in Unraid these earlier versions but there are security risks involved in doing so. 

     

    Also try connecting to your Unraid server via SMB by using its IP address.  (I understand that the Local Master function of SMB only works when SMBv1 is enabled.)

  2. 16 minutes ago, itimpi said:
    17 minutes ago, LRBP said:

    I have an unrelated question for you. During this whole process, I also consulted with a friend who has more experience than I do with servers in general. He created a "Testing" share. I will like to delete that share. How do I delete shares?

    If a share has no contents then it can be deleted from the Shares tab.    You can use Dynamix File Manager to delete any contents if needed.

     

    You don't have to delete a Testing share that you create.  You can just turn off both the SMB and NFS export of the share.  Once you stop exporting it, you can't see it from any client computer.  The advantage to not deleting it is that is there should you want to do further/additional testing in the future.  (My Backup server has two or three of these 'test' shares that were created to test various different networking ideas.  I just stop exporting in case I ever need to use them again.)  The choice is yours-- delete or stop exporting. 

  3. 3 hours ago, LRBP said:

    I'm looking forward to your suggestion. I do only have one Unraid server, one Windows 11 client and another Mac client.

     

    This will work for Windows 11.  (No explerience with Mac...)

     

    1---  Right-click on a blank area of Desktop.  New   >>>   Shortcut

     

    2--  On the next screen, type      \\server-name     or   \\IP-Address      Click Next.  (Obviously, you would not use "server-name" but the actual name of your server!)

     

    3--  On this screen, you can either accept the proposed name for this Shortcut or change it to one that you would prefer.  Click Finish.

     

    4-- Test by double clicking on the new Shortcut and it should open Windows File Explorer.  (You  might have to login first...)

     

     In the next step, you will add it to Windows File Explorer:

     

    1-- Right click on your new shortcut.  Click on "Pin to Quick Access." 

     

    You can find it here in Windows File Manager:

    image.png.0ecbf9ea483a2cdfdd6d496742a5af4d.png

     

     

    Your done with adding it to Windows File Manager.  However, you can edit the shortcut-- change its icon, name,  or a number of other things --by right-clicking on it and selecting Properties.

  4. @LRBP, I look at your diagnostics and I didn't see any reason why things are not working as they should. 

     

    Only thing that I noticed is that you have two different users assigned to each of your two shares on this server as shown below:

    image.png.2f1c3bec024ba84222135005d9b41b8c.png

    (The Anonymizer does conceal the actual share names and Share Access user names!)    The point that I am trying to convoy is that you can only access one of these shares at a time as your Windows client computer will allow on one of these Share Access users to log into your server at a time.  So as soon as you login using one Share Access user to one share (say, T....g), attempting to access  the other share (In this case, p---s), you will get an error message.  There is no provision in Windows to logout of a server.  (Expect that command line command which I don't really consider a part of normal Windows...) 

     

    I am not saying that what you are doing is wrong.  In fact in real situations, you often want to do exactly that--- Restricting what Shares each client computer is allowed to access!  But in a testing situation,  it is very restrictive in what types of tests you can perform.  Just be aware of the situation as you test. 

     

    One more point of information.  Because we are dealing with Samba on the Unraid side and SMB on the Windows (with the error message being generated by Windows), when there is a failure to successfully complete a file sharing operation, An error code is generated by the the error message by one, or both processes, and sent to the other one.  The other then tries to figure out what went wrong to generate an English language version of the error code.   In our case, this is Windows and it does not have table of what codes Samba sends so that it can do this.  It typically makes a wild stab at the answer.  That result is usually meaningless and provides with us with little insight as to what is the problem truly is.  (Like asking your dog what is wrong when they have a problem.) 

     

    Often solving these problems is a case of trying different approaches until we find one that works-- testing various combination of parameters one at a time until a set that works.  

     

    Personal observation:  I have setup six different Windows computers on my home network and two Unraid servers (the last one--  a brand new Windows 11 computer fresh-out-of-the-box  --over this past New Years weekend) using the method in the PDF file and never had a bit of problem outside of cockpit error.  To add to the complexity, the six Windows machine are setup to be peer-to-peer client/servers.  This portion is what required the Network Neighborhood approach.  If you have only a single Unraid server on your network, I think I have another approach to integrating your server into Windows File Explorer which will get around a potential problem with Network Neighborhood solution in Windows 11.

     

    One thing that seems to becoming a factor is that the Windows Network Profile type must be set to 'Private'!  Apparently, MS has made some 'tweaks' to their default settings for the 'Public' type which is giving problems with connecting to servers.   (I don't know what the default is for Wired LANs but I would suspect that it is 'Public' for Wireless connections.)

     

  5. 14 minutes ago, fawzib said:

    but my media is around 400,000 file

     You have to realize that this info is stored in free RAM.  As I recall, it has a very low priority on RAM usage.  When it fills up (or more RAM is required by other processes), it will toss away the oldest data.  This can cause constant disk spin up.  (I use the Cache Directories plugin on my Media server-- but not my Backup server --but I scan  less than 5000 items out probably 500,000. I have a very simple setup.  It seems to work well for my use case.)  You can throw RAM at it by increasing installed RAM.  You can look at limiting it to caching the items that you really want to see regularly.  In my opinion, it will never work well if you are trying to cache 400,000 items.  (This script was written back around 2010 and I don't believe that its code base has changed much since then except to fix issues cause by updates to the kernel.)

  6. On 3/11/2024 at 2:22 PM, LRBP said:

    The "handshake" you mentioned is not happening as I need to manually sign into Unraid everytime, but it seems like we are making strides!!

    When presented with this manual login box, look for a check box where Windows offers to save the credentials.  Check it...

  7. 1 hour ago, LRBP said:
    13 hours ago, Frank1940 said:

    It might be a good idea to post up a new set of diagnostics generated at the time you make your tests so that we know what the settings were. 

    I can generate a new Diagnostic file, just let me know when you'd like it, as there doesn't seem to be a new test for me to run.

     

     

    Now is a good time as any.  Remember to post it up in a new post in this thread so we know that you have done it and can easily find it. 

  8. 7 hours ago, KosmicKitsune said:

    The only share I have exported is already set to public, Windows is requiring a username and password to access.

     

    Windows SMB, by default, is set up to prevent a Guest Login to a server from a Windows client.  So you have to setup a Share Access User with a user name and password on Unraid even if all the shares are Public.  You will then use them at that prompt.  Or you might want to setup a Windows Credential to do this in the background. 

     

  9. And yet when you are prompted for a user name and password, you use the same ones as you entered into the Credential Manager?

     

    Try the 'net use' command and open up the server again.

     

    I looked again at your Diagnostic file.  It appears that you have the security on your exported shares set to 'Public'.  Try setting all of them to 'Private'.  (You will have to give 'smbuser' read-write access after you make this change.) 

     

    It might be a good idea to post up a new set of diagnostics generated at the time you make your tests so that we know what the settings were. 

  10. 1 hour ago, LRBP said:

    The "handshake" you mentioned is not happening as I need to manually sign into Unraid everytime, but it seems like we are making strides!!

    Let's work on this.   Below is a section of a page (pg14) in that PDF file.  Read and note that I marked that you should try the IP address for the server name.  It might require \\ in front of it.  (I am having a bit of difficulty here as there are millions of Windows clients worldwide that use Windows credential manager to log into servers.  Make sure that the passwords are identical on both the server and client.  You typing blind on the Windows side so try to use cut-and-paste.)

     

    image.png.2520b2c71aa012bc23595e30bb2c8520.png

    Make sure that you have only one Windows Credential that points to your server.  And remember that you have to reboot the Windows client every time you make a change to the SMB on Windows. 

     

    NOTE:  I also found this Windows command to close all connections to other computers (You can use it rather than rebooting):

    net use * /delete

     

    You run it from a Windows terminal which you can find by searching for "command prompt".    By the way, leave that terminal open.  The if you push the <UP-ARROW> key, the previous command will be reloaded and a push of the <ENTER> key will involve it. 

     

     

     

  11. First thing, In that PDF file,  "Unraid & Windows 10 SMB Setup.PDF"**, read the section on "Setting Up the Unraid Server and the Windows 10 Client" and use the instructions in Case1, "Case 1– Setting up Unraid and Windows 10 without Using Insecure Guest Access" and use those instructions to set up both your server and Windows PC client.

     

    You will have to reboot the Windows client when you are finished to test that it works. That should allow Windows and Unraid to handshake and log you into the Unraid server automatically the first time you access the server after each client reboot.  (This operation will be completely transparent to you!) 

     

    When this is working, the next issue to be addressed will be to integrate it into Windows File Manager.   I have some thoughts on how to do that.  But let's get this step working first...

    ==========================================================

     

    **  Link in this post:

            https://forums.unraid.net/topic/155588-failure-to-detect-server-from-pc-or-mac/#comment-1378295

     

    I would suggest actually printing out the file so you have a paper copy in front of you as you perform each step.

     

     

  12. That second post were both minor items and intended more as information.   The second item was provided as a possible method for creating a directories on the server uploading a few files from your PC to the server.  (Doing so will give you a few directories and files to look when things are finally working properly.)

     

    This first post is the one that you should be concerned about preforming:

    9 hours ago, Frank1940 said:

    First, are you running Windows 10 or Windows 11?

     

    In either case, go to the    SHARES    tab on the GUI,  click on the    photos  sharename.  This should open up the settings page for the 'photos' share.  Scroll down to SMB settings.  Make that the following settings are as shown:

    image.png.d58a746c4f1e3ded10e04948613547f6.png

    Click on 'APPLY' as required.

     

    Next, let's try something new---  A replacement for Network Neighborhood.   (You are a tiny bit of guinea pig from this point forward...)

     

        1---  Open up Windows File Explorer.

        2---  In the Address Bar, type either:

                         \\ENGTRIAL                 or           \\192.168.1.66

                   (Which one works will depend on which one you set up with a 'Windows Credential' in Windows Credential Manager)

        3---  You should now see a folder icon labeled  "photos".  You should be able to explore it.

     

    Report back on your results. And we will go on from there with our trial...

     

    EDIT:    Reboot your Windows computer before you start.  You will also have to reboot Windows if you change any settings on your Windows machine.  (Windows network settings are rather persistent and a reboot is the only easy way to guarantee that Windows is in the configuration that you think it is!)

     

     

    Once you report back on what you find as you go through these procedures, I will have some thoughts about where we go from here.  It is especially important that there is a SMB user listed and that you have turned on read/write privileges for that user.  (You should also have already set up a Windows Credential for that user on your Windows PC!) 

     

     

     

  13. 12 hours ago, LRBP said:

    Here it goes:

    image.thumb.png.2f12250fa2414f5b7932258526670da8.png

     

    One minor item, you are exporting the share   appdata     and that share is an internal share used by Unraid.  You should not be attempting to save any data in it.  

     

    The same is true of the shares   domains     isos     and   system  

     

    Second minor item.  If you install (or have installed)  the   Dynamix File Manager    plugin (using the APPS tab), you can upload and download files to Shares using the GUI from your PC.  This will work even if you don't have SMB access.

  14. First, are you running Windows 10 or Windows 11?

     

    In either case, go to the    SHARES    tab on the GUI,  click on the    photos  sharename.  This should open up the settings page for the 'photos' share.  Scroll down to SMB settings.  Make that the following settings are as shown:

    image.png.d58a746c4f1e3ded10e04948613547f6.png

    Click on 'APPLY' as required.

     

    Next, let's try something new---  A replacement for Network Neighborhood.   (You are a tiny bit of guinea pig from this point forward...)

     

        1---  Open up Windows File Explorer.

        2---  In the Address Bar, type either:

                         \\ENGTRIAL                 or           \\192.168.1.66

                   (Which one works will depend on which one you set up with a 'Windows Credential' in Windows Credential Manager)

        3---  You should now see a folder icon labeled  "photos".  You should be able to explore it.

     

    Report back on your results. And we will go on from there with our trial...

     

    EDIT:    Reboot your Windows computer before you start.  You will also have to reboot Windows if you change any settings on your Windows machine.  (Windows network settings are rather persistent and a reboot is the only easy way to guarantee that Windows is in the configuration that you think it is!)

     

  15. 7 hours ago, LRBP said:

    It has been while trying to use the server's name, not the IP address. The IP address was good to allow me to setup and manage the server, but I haven't been able to make the server visible to my PC or my wife's Mac regardless of which one I use (IP address or server name). This has been the problem since the start. Now, from what I've gathered by Frank1940's reaction to the latest system log, we have corrected a bunch of other issues but the server visibility problem remains.

     

    OK.  Years ago, it was possible to access a Unraid by both the IP address and the server-name.  (This was a backdoor to allow two connections to the same server from the same client.  It was a useful trick in some cases...) 

     

    Now for many years, MS has stated that only one connection to a server was to be allowed from any Windows client.  (But the above backdoor still existed!)  A year or two ago, I noticed that I could no longer do this.  I could access the server by either the IP Address or its server-name.  As soon as I had a connection with one or the other, the other one was blocked.  Now, I don't know if MS finally blocked this backdoor or what else might be going on but since I had no real use for it, I didn't pursue the matter. 

     

    It does not make any real difference but you might want to go into your router settings and reserve that IP address for your server so the DHCP process will always assign it to your server.  (Most routers have this capability but they implement it in different ways...)

  16. @LRBP, Also a screen shot of the SHARES tab. You can redact info as you feel necessary as shown below:

     

    image.thumb.png.07e60a7921027d782fd614138e97152a.png

     

    On 3/7/2024 at 4:03 AM, LRBP said:

    The one issue I still had was with including the server in the Neighborhood Network (following the "Unraid & Windows 10 SMB Setup" instructions) because the Windows File Explorer can't find it.

     

    Are you saying that you are now only having a problem getting Neighbor Network set up and working or or is there a larger SMB issue with accessing your files from your Windows clients?

  17. 8 minutes ago, Mbeaver5555 said:

    The files I'm Syncronising only need to move up one folder.

     

    IF you install   Dynamix File Manager   and work at the disk level, you can do exactly what you want.  See below:

    image.thumb.png.08306b7838605532a1a243edf4831563.png

     

     

    I just tested and it works.  Only the files pointers were changed. 

  18. @bonienl, could the Dynamix File Manager help out in this situation?  

     

     
    @Mbeaver5555, you do have to be careful moving files in Unraid.  (Moving files between User Shares and Disk Shares can result in data loss!)   It sounds to me that you will need to be working with the Disk Shares to safely do what you want to do.  

  19. BTW, you can make that backup of the Flash drive directly to your download directory/folder on your PC by clicking on the 'Flash' under "boot Deice" on the MAIN tab of the GUI.  Then click here:

    image.png.0fba7371e39eb7f4aa3f401079394f5c.png

     

    I am posting for more for the other Unraid users who are also making backups of their flash drive that end up on the array than for you.  If you are doing this, realize that the backup will not be readily available when you most need it!!!! 

    • Upvote 2
  20. @eras,  here is the cost of an official MS license to run Windows 11:

     

    https://www.amazon.com/Microsoft-Windоws-Pro-OEM-DVD/dp/B09MYBD79G/ref=sr_1_4?crid=1OTRURGROMODN&dib=eyJ2IjoiMSJ9.49RhAsYl6BBbgJ_D0N1ejb3F8xcQoPe0KQ-Vsq2DceXzvuiIx3UO1KzJREM9gFj3OIRhvAdtnE1xeablN9XtSLJk0vyUFYqMUiNNVbMGvqz7CNlzZ_2p7IFFvvUskIDehMCoM4VXLjcncEBD0tWUPxH1gojEQ-XgdhvqjhNAKiWBDwzZTZE20dZrMk2wuswEZWP9mCOz09FHutDr5-bP9SR6SHJfxpyUIDpDSRgEpoM._PSwn2se_WYi8kGvH3vh70lWqILW-1vDRKuIaFqPwVQ&dib_tag=se&keywords=windows%2B11%2Bpro%2Bkey&qid=1709638700&sprefix=windows%2B11%2Bpro%2B%2Caps%2C91&sr=8-4&th=1

     

    Granted the no OEM would be buying hundreds/thousands of these packages but instead they would approach MS directly to negotiate a bulk purchase of a certain number of licenses.  This offering is intended for those folks who assemble a computer using individual components and need/want a legal license for it.

     

    Any other way of installing Windows 11 on a new computer is a violation of the Digital Rights and Copyright acts (in the  USA) regardless of the work-arounds that many have used. 

     

    And take look at the pricing structure of Adobe Photoshop.  It appears that the marketing model that they are using  is working in their case.

     

    If Unraid has made a mistake, it is that is advertises what it sells as an OS.  They didn't write an OS (the core of their software is a standard Linux distribution).  They are selling a NAS with several additional capabilities (plugins, Docker and VMs) merged into it.  It is a much more limited market than what MS is serving.  The fact that MS is loosely-goosey with their license enforcement of their OS products may actually be a business strategy to sell their other software. (Most Windows computers have trial versions of other MS software installed on it and you have to pay to activate when the trial expires!)  Unraid has no side software line that it is selling.  It is not collecting  data from its users that it is marketing.  Its sole stream of income is sale of its NAS software. 

     

    The bottom line is that Unraid needs a more steady flow of income than a single purchase of a lifetime license can give.  They are attempting to honor a promise to their old clients who purchased their software with that understanding.  The problem is now how to price their product to provide an income stream to support, maintain, and provide future enhancements and to attract new customers.  No pricing policy is going to make everyone happy.  In the final analysis, their new pricing policy has to generate more income than their current plan does.   ...And it has to be attractive enough to make enough people willing to buy into the price plan that they finally adopt.

     

    As side case, I use Bitwarden password manager.  They have a free version that has virtually all of the features that their $10 per year individual subscription plan does.  Those few additional features (two that we use are hardware keys verification and collections) are worth the $20 per year for my wife and myself.  There are many password managers-- some free and some with annual fees ---that I considered.  I evaluated many of these and make a decision that Bitwarden made the most sense for us.  It wasn't the cheapest plan but cost was a consideration. 

     

     

     

     

    • Like 1
×
×
  • Create New...