VectorLinux
October 22, 2014, 09:33:56 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HOWTO share files with Windows computers using KDE in VL SOHO 5.1  (Read 3300 times)
nightflier
Administrator
Vectorian
*****
Posts: 4026



« on: August 11, 2006, 05:17:37 am »

How to share files with Windows computers using KDE in VL SOHO 5.1

The required software is installed by default in this version of Vector Linux.

First of all, default firewall rules interfere with easy network browsing. To disable it:
Click "Start" (the blue "V" in lower left hand corner of screen).
Next, click "System", then "Vector System Configurator (VASM)"
When in VASM:
Double-click "Super"
 You will be asked to supply the root (administrator) password
Double-click "NETWORK", then "FIREWALL", then "DISABLE"
Back out of VASM by clicking "Cancel" until it's gone.

To replace it with Guarddog firewall, read this:
http://www.vectorlinux.com/forum2/index.php?topic=174.0

------------------------------------------------------------------------------------------------------------------------------------------------
To see Windows computers with shared folders:

If your shared network folders require a user name and password, first do this:
Click "Start" then "Control Center"
Click "Internet and Network" then "Local Network Browsing"
Click the tab labeled "Windows Shares"
Type in your username and password
Click "Apply" and exit out of Control Center.

Browse your network:
Click the icon to the right of the "Start" button that looks like a globe with spikes.
Click "Network Folders"
Click "Samba Shares"
 You should see a list of available workgroups
Click on a workgroup, a computer, and finally on a folder.

Another way to get to the network:
Click "Start" then "Personal Files (home)"
in the address bar, type
smb:/
and hit the "Enter" key.

------------------------------------------------------------------------------------------------------------------------------------------------
To share your folders for others to see, but not write or change:

Enable sharing and designate shared folders:
Click Start > Control Center > Internet and Network > File Sharing
Click the button for Administrator Mode
 supply the root password
Check the box for "Enable local network file sharing"
Select "Simple Sharing"
Click the "Add" button
In the new window, click the browse button (blue folder to the right of the address field)
Click your way to the folder you want to share and click "OK".
Check the box for "Share with Samba (Microsoft(R) Windows(R))"
Type in the name you want to use
Check the box for Public. (See below in "Advanced Configuration" for the "Writable" box)
Click "OK" three times to exit.
It will take a few minutes before Windows discovers your Linux box and displays it.

-------------------------------------------------------------------------------------------------
Change workgroup name.

Click Start > System > More Applications > File Manager - Super User Mode
 supply the root password
Click the UP arrow on upper tool bar until it is grayed out
In the main window on the right, click "etc", then "samba"
Click the file "smb.conf" It should open in a text editor.
Scroll down to about line 21 and find this:
workgroup = WORKGROUP
Change "WORKGROUP" to whatever your Windows machines use, like "MSHOME" or similar.
Click File > Save, then exit.
Reboot to activate change.

-------------------------------------------------------------------------------------------------
Advanced Configuration: Enable file write.

At this point, things get more complicated. Samba has numerous options. I will only touch on one example where you will give write access for the current user account. The same username/password combination must be used on the remote machine.

First, enable the network user.
Click "Start" > "System" > "More Applications" > "Terminal Program - Super User Mode"
 you will need to supply the root password
Type the following line:
smbpasswd -a your_user_name_here
hit the "Enter" key
 type in your password when it asks for it
Click the "X" in upper right hand corner to exit out of Terminal
reboot to activate change.

At this point you can check the "Writable" box in your share properties and get write access.

Additionally, you will have unrestricted access to your home folder.
If you want to disable this feature:
Open /etc/samba/smb.conf for editing as described above in "Change workgroup name".
Scroll down to about line 162, "Share definitions".
Put a semicolon at the beginning of the lines for the [homes] section, like this:
;[homes]
;comment = Home Directories
;browseable = no
;read only = no
Click File > Save, then exit.
Reboot to activate change.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!