![]() ![]() 3 months total experience with Windoze 10. Does this work on W10 machines? Any help? PS- I am A+, server+, Network+ certified. bot the W10 and back to BSOD loop.My W10 drivers are all current, all updates current. If I repeat all the above, It works 1st time not internet. The remainder only test bed machine I have I rolled on Windows 10 last month so I can blow up all I want. I have 2 Windoze 7 machines which I can’t blow up and a Windows home server 2011 machine. ![]() This machine is my only Windows 10 machine. Plug in the the ZERO and BSOD- unless I re-image my micro SD card. If I take down the Windows 10 a HP 8000 desktop, upon rebooting I get a BSOD and a “WDF-VIOLATION then a reboot loop back to the BSOD in a loop I remove the PI ZERO and it boots just fine. The ZERO network connection says NO INTERNET connection and that it is PUBLIC. I try to share network on my Windoze 10 machine -W10 is showing part of HOME network and I do have a home group set up. However I cannot ping internet addresses. This way, the result is quick and we have not lost out documentation as it is in the backup.I repeatedly have tried this. We go from and incredible 333 lines in the original file to a minute 34 lines in the new file. > : This is used to redirect the output to the new smb.conf.-ve ‘^ ’ : The we do the same for lines beginning with Note the quotes here as the has other meanings so we escape the semi-colon in the quotes.-ve ^# : First we remove lines that start with a #.The command may look a little messy but is really useful to us. We use grep, other may oprefer to used the command sed. We want to remove the extra comments and blank lines from the file to make it easier to read. Now at a full root user prompt, and moving into the /etc/samba directory, we can filter the contents of the backup file back into the smb.conf. We use it here to make life easier when running redirection with sudo. I would not running this often as it defeats the purpose of the command sudo. Now we may as well make life a little easier for us and start up a root shell as many commands will need rights. The above command is a rather neat way to give a sate based extension to a file. sudo mv /etc/samba/smb.conf /etc/samba/smb.conf/$(date +%F) I would suggest renaming this file and to copy only the active configuration back. You can expect 300 lines in this file with 90% being documentation. This makes for a fairly bulky file that is not the easiest to navigate. when your users connect from windows, they will be prompted for a password unless they have the same password as the Unix & Samba users, the Unix, Samba and windows users will need to have the same username. The default file is, shall we say well documented. OK, you can do this, but you will need a Unix user and a Samba user, both with the same password, then. The location for the file is /etc/samba/smb.conf. With samba installed we can edit the configuration to allow us to share out the directory /data. This then can provide effective storage for your network Edit the Samba Configuration, smb.conf We can use an external drive connected to the USB ports and have this mounted to the /data directory. This directory will be empty at the moment and, of course, the root file-system is limited in size on the Pi to that available from the SD cards. 7: sets RWX read, write and execute for others.7: sets RWX read, write and execute for the group owner.7: sets RWX read, write and execute for the user owner.This set on a directory ensures that users can only delete files they own. The mode of the directory is set with the -m option: To do this so we run it prefaced with the sudo command. ![]() ![]() As the directory is at the root of the file-system we will need administrative permissions. Investigating the above command, we can see the easy part of cofiguring a Raspberry Pi Samba Server, creating the directory /data. sudo mkdir -m 1777 /data Directory Permissions The -m option will allow you to set the mode or permissions of the directory. Using mkdir we can both create the directory and set the permissions in the one command. So we will need to create the directory and set appropriate permissions to the directory. The directory that we will share out will act as a mount point for external storage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |