Debian samba11/28/2023 This will load the cups system printers and make them available to you.And make sure the and section are uncommented.This page tells you how to do it: ?DebianPrinting Go to localhost:631 and add all your printers.The first thing you need to do is install all your printers via cups.Hosts: files mdns4_minimal dns mdns4 wins Change the line that starts with hosts by adding wins at the end of it.To enable linux pcs to ping netbios names you need to:.You are able to ping a pc that is on dhcp.In windows ping netbios names is working ping mycomputer2 will ping the ip behind the name mycomputer2 Every pc can ping each other using the netbios name which corresponds to ip address.Keywords: linux to windows by "full computer name", netbios lookup, nslookup On windows machine go to \\COMPUTERNAME\SHARED or \\192.168.1.1\SHARED (replace 192.168.1.1 with ip address of linux machine) and you are done. ![]() Your samba share SHARED folder is ready.Replace lucas with your username or other user that you would like to use.Then at the buttom add the following lines. Change security mode from user to shared.If you want to create a shared folder that is writable by everybody you can do the following.You can also replace windowsservername with ip address //192.168.1.10/folder. You can replace administrator with your username. Mount -t cifs -o UID=lucas,username=administrator,password=password,domain=mydomainname //windowsservername/folder /home/lucas/somefolder If you are connection to a domain make sure you use domain option of samba:.Mount -t cifs -o UID=lucas,username=administrator,password=password //windowsservername/folder /home/lucas/somefolder Option after -o separated by comma and no spaces or use quotation mark -o 'UID=lucas,username=administrator,password=password'.If you would like to enable a non-privilege user to have write access to share add UID option.The second one will prompt you for the password.Mount -t cifs -o user=administrator //windowsservername/folder /home/lucas/somefolder windowsservername/folder /home/lucas/somefolder Mount -t cifs -o username=administrator,password=password ![]() ![]() As root or with root privileges (su root or sudo).To mount windows share drive you need to create a folder:. ![]() We still need to install package smbfs because cifs uses parts of it. New driver called cifs is faster and is going to part of the kernel. Older version of samba have used smbfs as driver to connect to windows.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |