Windows or Linux, Linux or Windows? Linux and Windows: Samba

Programming Texts/Tutorials Software networks it is possible to share files between WINDOWS and Linux over a LAN. The Linux computer appears as a network PC on the PC, just like other computers in the LAN. In addition, it is also possible to access the hard disk of a PC from your Linux machine. You just directories (if these linuxsupportline were designated as shared for access) and work with these as with your own files. The configuration is much easier now, but might be complicated for new Linux users. We try to deliver a step-by-step manual and you shall have a configured server at the end.

With every Linux distribution a version of is normally included, but if you still had an old 1.x.x version of you should un-install it and get a new 2.0.x package from the homepage of (look for other mirrors that are closer). If you had installed a 2.0 version with your distribution, you can jump to the part where the configuration starts. After downloading the file you decompress it to the /tmp directory using : Then you execute the configure script in the directory : If you use a kernel higher than 2.1.70, then you use :

./configure --enable-smbmount In other cases ,you just start the script with : ./configure After the script customizes everything to your system, you compile with : make This takes some time depending on the PC you have. If everything worked fine, you can copy samba to the directory /usr/local/ where, by default, all additional programs are placed (just very big packages like are in /opt). Just root has write access to /usr/local. You change to root with: su and after entering the password, you copy samba using : Then you change into the Linux Support Line directory and install : make install creates the directory /usr/local/ where it places the binaries, the configuration file and log files. And now for all of you who already have installed, the configuration starts. A configuration file has to be created in the directory with the name: For a test we start with a minimum configuration read only = yes After "workgroup=" must be the same name that appears in the WINDOWS network properties as the name of the workgroup, too. After editing the configuration file, you start with the commands : Now you switch to the PC and log in. Attention: You have to choose the same user name that also exists on the Linux PC! A double click on the "Network" button should open a window where you find the Linux machine. Choosing this computer opens a window with a password request. Here you enter your log-in password you used at the Linux PC. That's why the user name has to be identical on both computers. The actual configuration allows access all files on your Linux system. Now we want to improve the settings and change the configuration file. The following configuration should work on most systems. We did not comment all settings, but if you want to know more you should read the manual. guest account = nobody keep alive = 30 security = user ; If you want to use an existing server, ; please uncomment the following line and replace ; the with the server's ip number. ; wins server = 192.168.1.1 [local] path = /usr/local read only = yes ; Now you can find any programs at /usr/local ; at WINDOWS, too. [homes] comment read only = no

; The following share gives all users access to the Server's drive, ; assuming it is under /cd. Supportline To enable this share, please remove ; the before the lines ; Here you enter the path to your drive, ; often read only = yes locking = no browseable = no printable = yes public = no read only = yes create mode = 0700 directory = /tmp ; Also printers can be used from WINDOWS To activate the new configuration, you stop the. Look for the number with : and than kill both with : where NUMBER is the number you find in the f irst column. Then you start them again with the new configuration by typing: and you search the Linux PC in your WINDOWS network window. It should appear there. If not take a look into the log files. The next issue describes how you access the WINDOWS hard disk from the Linux system and describes the configuration tool. print Why seized the computers of them a or and only for a left too But arrange themselves the to millions, happens nothing. I do not wish them the wrong at present citizens go through, but the one-sided procedure of the public office lets it appear strange. Many describe so completely exactly to which international Search machines one to go must and which English words of the readers enter has The result of the search inquiry are naturally only sides those the right do not correspond. With it that is exactly these editors in the same article over the age devices of the pulled. [ Alabama AL ] [ Alaska AK ] [ Arizona AZ ] [ Arkansas AR ] [ California CA ] [ Colorado CO ] [ Connecticut CT ] [ Delaware DE ] [ District of Columbia DC ] [ Florida FL ] [ Georgia GA ] [ Hawaii HI ] [ Idaho ID ] [ Illinois IL ] [ Indiana IN ] [ Iowa IA ] [ Kansas KS ] [ Kentucky KY ] [ Louisiana LA ] [ Maine ME ] [ Maryland MD ] [ Massachusettes MA ] [ Michigan MI ] [ Minnesota MN ] [ Mississippi MS ] [ Missouri MO ] [ Montana MT ] [ Nebraska NE ] [ Nevada NV ] [ New Hampshire NH ] [ New Jersey NJ ] [ New Mexico NM ] [ New York NY ] [ North Carolina NC ] [ North Dakota ND ] [ Ohio OH ] [ Oklahoma OK ] [ Oregon OR ] [ Pennsylvania PA ] [ Rhode Island RI ] [ South Carolina SC ] [ South Dakota SD ] [ Tennessee TN ] [ Texas TX ] [ Utah UT ] [ Vermont VT ] [ Virginia VA ] [ Washington WA ] [ West Virginia WV ] [ Wisconsin WI ] [ Wyoming WY ]