HOWTO:SambaNetwork

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 3123 by Itycajofa (Talk) Spam.)
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://exytebuc.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 
----
 
=[http://exytebuc.co.cc CLICK HERE]=
 
----
 
</div>
 
 
Making changes in order to make this page suitable for Pardus 2009.
 
Making changes in order to make this page suitable for Pardus 2009.
  
Line 22: Line 14:
 
==Setup of Pardus==
 
==Setup of Pardus==
 
===Pardus 2009===
 
===Pardus 2009===
  [System Settings] &gt; [Service Manager]
+
  [System Settings] > [Service Manager]
       if not green flag at samba: put cursor on samba &gt; check mark at &quot;Run on start' &gt; Activate [Start service] (flag turns green).
+
       if not green flag at samba: put cursor on samba > check mark at "Run on start' > Activate [Start service] (flag turns green).
  
  [System Settings] &gt; [Firewall Manager]
+
  [System Settings] > [Firewall Manager]
       if &quot;Firewall is activated&quot; check that there is no mark at &quot;Block Incoming Connections&quot;
+
       if "Firewall is activated" check that there is no mark at "Block Incoming Connections"
  
  [System Settings] &gt; [Network Manager]
+
  [System Settings] > [Network Manager]
 
       make a note of the IP address
 
       make a note of the IP address
 
  or
 
  or
  [System Settings] &gt; [Advanced]&gt;[Samba]
+
  [System Settings] > [Advanced]>[Samba]
       make a note of the &quot;NetBIOS name:&quot;
+
       make a note of the "NetBIOS name:"
  
 
===Pardus 2008===
 
===Pardus 2008===
  [Tasma] &gt; [System] &gt; [Service Manager]
+
  [Tasma] > [System] > [Service Manager]
 
       Select [SMB Network Sharing].
 
       Select [SMB Network Sharing].
 
       Put a mark at {Run on startup} and activate the green (Start)button.
 
       Put a mark at {Run on startup} and activate the green (Start)button.
 
       In the column {Run on Startup} {Yes} should be shown.
 
       In the column {Run on Startup} {Yes} should be shown.
 
       [Back].
 
       [Back].
  [Internet &amp; Network] &gt; [Firewall Config]  
+
  [Internet & Network] > [Firewall Config]  
 
       [Start Firewall] (if not already running)
 
       [Start Firewall] (if not already running)
 
       Put a mark at {Windows file sharing service}
 
       Put a mark at {Windows file sharing service}
       [Apply] &gt; [Back]
+
       [Apply] > [Back]
  [Samba] &gt; [Base Settings]  
+
  [Samba] > [Base Settings]  
 
       Make a note of the {NetBIOS name:} (this is referred to as NetBIOSnamePardusPC)
 
       Make a note of the {NetBIOS name:} (this is referred to as NetBIOSnamePardusPC)
 
       [Back]
 
       [Back]
Line 54: Line 46:
 
==Setup of Windows==
 
==Setup of Windows==
  
  [start] &gt; [Control Panel] &gt; [Network and Internet Connections] &gt; [Network Connections] &gt; [Network Setup Wizard]
+
  [start] > [Control Panel] > [Network and Internet Connections] > [Network Connections] > [Network Setup Wizard]
 
       Check mark at {Yes, use the existing shared connection for this computer's Internet access(recommended)}
 
       Check mark at {Yes, use the existing shared connection for this computer's Internet access(recommended)}
 
       Make a note of the {Computer name:} (this is referred to as ComputernameWinPC)
 
       Make a note of the {Computer name:} (this is referred to as ComputernameWinPC)
Line 61: Line 53:
 
       Put a mark at {Just finish the wizard; I don't need to run the wizard on other computers}
 
       Put a mark at {Just finish the wizard; I don't need to run the wizard on other computers}
 
If you have Sygate firewall:
 
If you have Sygate firewall:
  Open Sygate firewall &gt; [Tools] &gt; [Options...] &gt; [OK] &gt; [Network Neighborhood]
+
  Open Sygate firewall > [Tools] > [Options...] > [OK] > [Network Neighborhood]
 
       Select Network Interface (with multiple interface cards)
 
       Select Network Interface (with multiple interface cards)
 
       Put a mark at {Allow others to share my files and printer(s)}
 
       Put a mark at {Allow others to share my files and printer(s)}
Line 73: Line 65:
 
  smb://IP.address.of.the.remote.site (+ enter).
 
  smb://IP.address.of.the.remote.site (+ enter).
  
(for ComputernameWinPC see [start]&gt;[Control Panel]&gt;[System]&gt;[Computer Name]&gt;{Full computer name}
+
(for ComputernameWinPC see [start]>[Control Panel]>[System]>[Computer Name]>{Full computer name}
  
 
It is possible to make a Link to Location (URL)... with {smb://...........} on your Desktop.
 
It is possible to make a Link to Location (URL)... with {smb://...........} on your Desktop.
  
 
==Access from WinPC to shared folder in PardusPC==
 
==Access from WinPC to shared folder in PardusPC==
[start]&gt;[My Computer] and enter at {Address:}
+
[start]>[My Computer] and enter at {Address:}
  
 
  \\NetBIOSnamePardusPC (+ enter).
 
  \\NetBIOSnamePardusPC (+ enter).
 
or
 
or
 
  \\IP.address.of.the.remote.site (+ enter).
 
  \\IP.address.of.the.remote.site (+ enter).
(for NetBIOSnamePardusPC see [Pardus]&gt;[Tasma]&gt;[Samba]&gt;[Base Settings]&gt;{NetBIOS name:})
+
(for NetBIOSnamePardusPC see [Pardus]>[Tasma]>[Samba]>[Base Settings]>{NetBIOS name:})
  
 
==Making /home/samba (share) writable==
 
==Making /home/samba (share) writable==
 
===Pardus 2009===
 
===Pardus 2009===
  [System Settings] &gt; [Advanced] &gt; [Samba] &gt; {enter administrator password +[OK]} &gt;
+
  [System Settings] > [Advanced] > [Samba] > {enter administrator password +[OK]} >
         [Shares] &gt; select {share} &gt; [Edit Share...] &gt; [Base Settings]
+
         [Shares] > select {share} > [Edit Share...] > [Base Settings]
 
     Remove the mark at {Read only}
 
     Remove the mark at {Read only}
     [OK] &gt; [Apply] &gt; [OK]
+
     [OK] > [Apply] > [OK]
 
And to activate this change:
 
And to activate this change:
  [System Settings] &gt; [Service Manager] &gt; {SMB Network Sharing} and activate [Reload service] &gt; [Overview]
+
  [System Settings] > [Service Manager] > {SMB Network Sharing} and activate [Reload service] > [Overview]
 
===Pardus 2008===
 
===Pardus 2008===
  [Pardus] &gt; [Tasma] &gt; [Internet &amp; Network]&gt;[Samba] &gt; [Administrator Mode] &gt; {enter administrator password +[OK]}
+
  [Pardus] > [Tasma] > [Internet & Network]>[Samba] > [Administrator Mode] > {enter administrator password +[OK]}
 
     and {Loading..} appears
 
     and {Loading..} appears
     [Shares] &gt; select {share} &gt; [Edit Share...]
+
     [Shares] > select {share} > [Edit Share...]
 
     Remove the mark at {Read only}
 
     Remove the mark at {Read only}
     [OK] &gt; [Apply] &gt; [OK]
+
     [OK] > [Apply] > [OK]
 
And to activate this change:
 
And to activate this change:
  [System] &gt; [Service Manager] &gt; Select [SMB Network Sharing] and activate [Stop] and then [Start] &gt; [Back]
+
  [System] > [Service Manager] > Select [SMB Network Sharing] and activate [Stop] and then [Start] > [Back]
  
 
==Configuration of printer (connected to WinPC) in Pardus==
 
==Configuration of printer (connected to WinPC) in Pardus==
Line 106: Line 98:
 
===WinPC===
 
===WinPC===
 
From the shared printer (which is connected to WindowsXP) we need to know the IP address and the share name of the printer.
 
From the shared printer (which is connected to WindowsXP) we need to know the IP address and the share name of the printer.
  [start] &gt; [Printers and Fax] &gt; right-click printer &gt; [Properties} &gt; [Share] &gt;
+
  [start] > [Printers and Fax] > right-click printer > [Properties} > [Share] >
 
       note the Share name: (Share name printer) and check the mark at Share this printer:  
 
       note the Share name: (Share name printer) and check the mark at Share this printer:  
  [start] &gt; [Control Panel] &gt; {Network and Internet Connections} &gt; {Network Connections} &gt;
+
  [start] > [Control Panel] > {Network and Internet Connections} > {Network Connections} >
       double-click connection &gt; Support &gt; note the IP address: (IP.address.of.WINPC)
+
       double-click connection > Support > note the IP address: (IP.address.of.WINPC)
 
===Pardus 2009===
 
===Pardus 2009===
  [System Settings] &gt; [Printer Configuration] &gt; [New Printer] &gt; [New Network Printer] &gt; {Windows Printer via SAMBA}
+
  [System Settings] > [Printer Configuration] > [New Printer] > [New Network Printer] > {Windows Printer via SAMBA}
 
   and fill-in at smb:// {IP.address.of.WINPC/Share name printer}
 
   and fill-in at smb:// {IP.address.of.WINPC/Share name printer}
           (for instance &gt; 192.168.0.100/canonmp7 and is not case sensitive)
+
           (for instance > 192.168.0.100/canonmp7 and is not case sensitive)
   mark at {Prompt user if authentication is required} [&gt; Forward]
+
   mark at {Prompt user if authentication is required} [> Forward]
  Select manufacturer [&gt; Forward] select {Models} and {Driver}
+
  Select manufacturer [> Forward] select {Models} and {Driver}
  [&gt; Forward]
+
  [> Forward]
 
  Enter {Printer Name} {Description} {Location} [OK]
 
  Enter {Printer Name} {Description} {Location} [OK]
 
  [Print Test Page] and if successful [Apply]
 
  [Print Test Page] and if successful [Apply]
 
===Pardus 2008===
 
===Pardus 2008===
  [Pardus] &gt; [Tasma] &gt; {Peripherals] &gt; [Printers] &gt; {Add}&gt;{Add Printer/Class...}
+
  [Pardus] > [Tasma] > {Peripherals] > [Printers] > {Add}>{Add Printer/Class...}
  [Next &gt;]
+
  [Next >]
 
  [SMB shared printer (Windows)]
 
  [SMB shared printer (Windows)]
  [Next &gt;]
+
  [Next >]
  {Guest account (login=&quot;guest&quot;)}
+
  {Guest account (login="guest")}
  [Next &gt;]
+
  [Next >]
 
  [Scan] fold out scanresult and select de printer  
 
  [Scan] fold out scanresult and select de printer  
  [Next &gt;]
+
  [Next >]
 
  Select the {Manufacturer} and {Model}
 
  Select the {Manufacturer} and {Model}
  [Next &gt;]
+
  [Next >]
 
  Select the recommended driver (if not working select the simplified version)
 
  Select the recommended driver (if not working select the simplified version)
  [Next &gt;]  
+
  [Next >]  
 
  Test the printer
 
  Test the printer
  [Next &gt;] (3x)
+
  [Next >] (3x)
 
  Supply a name for the printer  
 
  Supply a name for the printer  
  [Next &gt;] (2x) [Back] and close Tasma
+
  [Next >] (2x) [Back] and close Tasma
  
 
==A network with more than one PardusPC==
 
==A network with more than one PardusPC==
 
For this to function properly it is required that all {Workgroup:} and {NetBIOS name:} are different.
 
For this to function properly it is required that all {Workgroup:} and {NetBIOS name:} are different.
  
See [Pardus]&gt;[Tasma]&gt;[Internet &amp; Network]&gt;[Samba]&gt;[Base Settings]
+
See [Pardus]>[Tasma]>[Internet & Network]>[Samba]>[Base Settings]
  
 
==Access from PardusPC to shared folder(/home/samba) on the other PardusPC==
 
==Access from PardusPC to shared folder(/home/samba) on the other PardusPC==
Line 152: Line 144:
 
== Making your Home (or any other) directory readable on the network==
 
== Making your Home (or any other) directory readable on the network==
 
===Pardus 2009===
 
===Pardus 2009===
  [System Settings] &gt; [Advanced] &gt; [Samba] &gt; {enter administrator password +[OK]} &gt; [Shares] &gt; [Add New Share...]
+
  [System Settings] > [Advanced] > [Samba] > {enter administrator password +[OK]} > [Shares] > [Add New Share...]
   in {Add/Edit Share} &gt; [Base Settings] &gt; [Open file dialog] and select your /home/your_login_name directory &gt; [OK]
+
   in {Add/Edit Share} > [Base Settings] > [Open file dialog] and select your /home/your_login_name directory > [OK]
 
  Enter a name at {Name:}
 
  Enter a name at {Name:}
 
  Check/put mark at {Read only}{Public}{Browseable}{Available}
 
  Check/put mark at {Read only}{Public}{Browseable}{Available}
  [OK] &gt; [Apply] &gt; [OK]
+
  [OK] > [Apply] > [OK]
 
And to make the above directory visible/read-only:  
 
And to make the above directory visible/read-only:  
  Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} &gt;
+
  Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} >
     [Permissions] &gt; [Advanced Permissions]
+
     [Permissions] > [Advanced Permissions]
   Check/put mark at {Show Entries} for {User}{Group}{Others}&gt;[OK]
+
   Check/put mark at {Show Entries} for {User}{Group}{Others}>[OK]
 
   Put a mark at {Only owner can rename and delete folder content}  
 
   Put a mark at {Only owner can rename and delete folder content}  
 
             and {Apply changes to all subfolders and their content}
 
             and {Apply changes to all subfolders and their content}
 
   [OK]
 
   [OK]
 
===Pardus 2008===
 
===Pardus 2008===
  [Pardus] &gt; [Tasma] &gt; [Internet &amp; Network] &gt; [Samba] &gt; [Administrator Mode] &gt; [Shares] &gt; [Add New Share...]
+
  [Pardus] > [Tasma] > [Internet & Network] > [Samba] > [Administrator Mode] > [Shares] > [Add New Share...]
   in {Add/Edit Share} [Open file dialog] and select your /home/your_login_name directory &gt; [OK]
+
   in {Add/Edit Share} [Open file dialog] and select your /home/your_login_name directory > [OK]
 
  Enter a name at {Name:}
 
  Enter a name at {Name:}
 
  Check/put mark at {Read only}{Public}{Browseable}{Available}
 
  Check/put mark at {Read only}{Public}{Browseable}{Available}
 
  [OK]
 
  [OK]
  [Apply] &gt; [OK]
+
  [Apply] > [OK]
 
And to activate this change:  
 
And to activate this change:  
  [System] &gt; [Service Manager]  
+
  [System] > [Service Manager]  
 
   Select [SMB Network Sharing] and activate [Stop] and then [Start]  
 
   Select [SMB Network Sharing] and activate [Stop] and then [Start]  
 
  [Back]
 
  [Back]
 
And to make the above directory visible/read-only:
 
And to make the above directory visible/read-only:
  Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} &gt;
+
  Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} >
       [Permissions] &gt; [Advanced Permissions]
+
       [Permissions] > [Advanced Permissions]
   Check/put mark at {Show Entries} for {User}{Group}{Others} &gt; [OK]
+
   Check/put mark at {Show Entries} for {User}{Group}{Others} > [OK]
 
   Put a mark at {Only owner can rename and delete folder content}  
 
   Put a mark at {Only owner can rename and delete folder content}  
 
             and {Apply changes to all subfolders and their content}
 
             and {Apply changes to all subfolders and their content}
 
   [OK]
 
   [OK]

Revision as of 14:05, 30 November 2010

Making changes in order to make this page suitable for Pardus 2009.

Contents

Configuration of network between Pardus and WindowsXP

Introduction

This is a manual about configuring a network between computers after a new installation of Pardus and WindowsXP Professional (+SP2).

Both computers are connected to a router or a switch.

[Apply] = activate the [Apply] button or select [this text].

{text} = the text in a window.

Setup of Pardus

Pardus 2009

[System Settings] > [Service Manager]
      if not green flag at samba: put cursor on samba > check mark at "Run on start' > Activate [Start service] (flag turns green).
[System Settings] > [Firewall Manager]
      if "Firewall is activated" check that there is no mark at "Block Incoming Connections"
[System Settings] > [Network Manager]
      make a note of the IP address
or
[System Settings] > [Advanced]>[Samba]
      make a note of the "NetBIOS name:"

Pardus 2008

[Tasma] > [System] > [Service Manager]
      Select [SMB Network Sharing].
      Put a mark at {Run on startup} and activate the green (Start)button.
      In the column {Run on Startup} {Yes} should be shown.
      [Back].
[Internet & Network] > [Firewall Config] 
      [Start Firewall] (if not already running)
      Put a mark at {Windows file sharing service}
      [Apply] > [Back]
[Samba] > [Base Settings] 
      Make a note of the {NetBIOS name:} (this is referred to as NetBIOSnamePardusPC)
      [Back]

As a default the /home/samba directory is configured as a shared directory. This directory will be readable from WinPC. Making this directory writable from WinPC will come later in this manual. As this directory is empty after a new installation, it is advisable to put a (image)file in this directory.

Setup of Windows

[start] > [Control Panel] > [Network and Internet Connections] > [Network Connections] > [Network Setup Wizard]
      Check mark at {Yes, use the existing shared connection for this computer's Internet access(recommended)}
      Make a note of the {Computer name:} (this is referred to as ComputernameWinPC)
      Put a mark at {Turn on file and printer sharing}
      {To apply these settings, click Next}
      Put a mark at {Just finish the wizard; I don't need to run the wizard on other computers}

If you have Sygate firewall:

Open Sygate firewall > [Tools] > [Options...] > [OK] > [Network Neighborhood]
      Select Network Interface (with multiple interface cards)
      Put a mark at {Allow others to share my files and printer(s)}
      [OK]

After this a restart of the computer is required.

Access from PardusPC to shared folder in WinPC

[Home] and enter at {Location:}

smb://ComputernameWinPC (+ enter).

or

smb://IP.address.of.the.remote.site (+ enter).

(for ComputernameWinPC see [start]>[Control Panel]>[System]>[Computer Name]>{Full computer name}

It is possible to make a Link to Location (URL)... with {smb://...........} on your Desktop.

Access from WinPC to shared folder in PardusPC

[start]>[My Computer] and enter at {Address:}

\\NetBIOSnamePardusPC (+ enter).

or

\\IP.address.of.the.remote.site (+ enter).

(for NetBIOSnamePardusPC see [Pardus]>[Tasma]>[Samba]>[Base Settings]>{NetBIOS name:})

Making /home/samba (share) writable

Pardus 2009

[System Settings] > [Advanced] > [Samba] > {enter administrator password +[OK]} > 
        [Shares] > select {share} > [Edit Share...] > [Base Settings]
   Remove the mark at {Read only}
   [OK] > [Apply] > [OK]

And to activate this change:

[System Settings] > [Service Manager] > {SMB Network Sharing} and activate [Reload service] > [Overview]

Pardus 2008

[Pardus] > [Tasma] > [Internet & Network]>[Samba] > [Administrator Mode] > {enter administrator password +[OK]}
   and {Loading..} appears
   [Shares] > select {share} > [Edit Share...]
   Remove the mark at {Read only}
   [OK] > [Apply] > [OK]

And to activate this change:

[System] > [Service Manager] > Select [SMB Network Sharing] and activate [Stop] and then [Start] > [Back]

Configuration of printer (connected to WinPC) in Pardus

This is valid when the printer is connected to WinPC.

WinPC

From the shared printer (which is connected to WindowsXP) we need to know the IP address and the share name of the printer.

[start] > [Printers and Fax] > right-click printer > [Properties} > [Share] > 
     note the Share name: (Share name printer) and check the mark at Share this printer: 
[start] > [Control Panel] > {Network and Internet Connections} > {Network Connections} > 
     double-click connection > Support > note the IP address: (IP.address.of.WINPC)

Pardus 2009

[System Settings] > [Printer Configuration] > [New Printer] > [New Network Printer] > {Windows Printer via SAMBA}
  and fill-in at smb:// {IP.address.of.WINPC/Share name printer}
         (for instance > 192.168.0.100/canonmp7 and is not case sensitive)
  mark at {Prompt user if authentication is required} [> Forward]
Select manufacturer [> Forward] select {Models} and {Driver}
[> Forward]
Enter {Printer Name} {Description} {Location} [OK]
[Print Test Page] and if successful [Apply]

Pardus 2008

[Pardus] > [Tasma] > {Peripherals] > [Printers] > {Add}>{Add Printer/Class...}
[Next >]
[SMB shared printer (Windows)]
[Next >]
{Guest account (login="guest")}
[Next >]
[Scan] fold out scanresult and select de printer 
[Next >]
Select the {Manufacturer} and {Model}
[Next >]
Select the recommended driver (if not working select the simplified version)
[Next >] 
Test the printer
[Next >] (3x)
Supply a name for the printer 
[Next >] (2x) [Back] and close Tasma

A network with more than one PardusPC

For this to function properly it is required that all {Workgroup:} and {NetBIOS name:} are different.

See [Pardus]>[Tasma]>[Internet & Network]>[Samba]>[Base Settings]

Access from PardusPC to shared folder(/home/samba) on the other PardusPC

[Home] and enter at {Location:}

smb://NetBIOSnamePardusPC(of the other PardusPC) (+ enter).

or

smb://IP.address.of.the.remote.site (+ enter).

It is possible to make a Link to Location (URL)... with {smb://..................} on your Desktop.

Making your Home (or any other) directory readable on the network

Pardus 2009

[System Settings] > [Advanced] > [Samba] > {enter administrator password +[OK]} > [Shares] > [Add New Share...]
 in {Add/Edit Share} > [Base Settings] > [Open file dialog] and select your /home/your_login_name directory > [OK]
Enter a name at {Name:}
Check/put mark at {Read only}{Public}{Browseable}{Available}
[OK] > [Apply] > [OK]

And to make the above directory visible/read-only:

Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} > 
    [Permissions] > [Advanced Permissions]
 Check/put mark at {Show Entries} for {User}{Group}{Others}>[OK]
 Put a mark at {Only owner can rename and delete folder content} 
           and {Apply changes to all subfolders and their content}
 [OK]

Pardus 2008

[Pardus] > [Tasma] > [Internet & Network] > [Samba] > [Administrator Mode] > [Shares] > [Add New Share...]
 in {Add/Edit Share} [Open file dialog] and select your /home/your_login_name directory > [OK]
Enter a name at {Name:}
Check/put mark at {Read only}{Public}{Browseable}{Available}
[OK]
[Apply] > [OK]

And to activate this change:

[System] > [Service Manager]	 
 Select [SMB Network Sharing] and activate [Stop] and then [Start]	 
[Back]

And to make the above directory visible/read-only:

Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} > 
      [Permissions] > [Advanced Permissions]
 Check/put mark at {Show Entries} for {User}{Group}{Others} > [OK]
 Put a mark at {Only owner can rename and delete folder content} 
           and {Apply changes to all subfolders and their content}
 [OK]
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox