HOWTO:SambaNetwork
(→Configuration of printer (connected to WinPC) in Pardus) |
|||
| Line 14: | Line 14: | ||
==Setup of Pardus== | ==Setup of Pardus== | ||
===Pardus 2009=== | ===Pardus 2009=== | ||
| − | [System Settings]>[Service Manager] | + | [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). | 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] | + | [System Settings] > [Firewall Manager] |
if "Firewall is activated" check that there is no mark at "Block Incoming Connections" | if "Firewall is activated" check that there is no mark at "Block Incoming Connections" | ||
| − | [System Settings]>[Network Manager] | + | [System Settings] > [Network Manager] |
make a note of the IP address | make a note of the IP address | ||
or | or | ||
| − | [System Settings]>[Advanced]>[Samba] | + | [System Settings] > [Advanced]>[Samba] |
make a note of the "NetBIOS name:" | make a note of the "NetBIOS name:" | ||
===Pardus 2008=== | ===Pardus 2008=== | ||
| − | [Tasma]>[System]>[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 & Network]>[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]>[Back] | + | [Apply] > [Back] |
| − | [Samba]>[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 46: | Line 46: | ||
==Setup of Windows== | ==Setup of Windows== | ||
| − | [start]>[Control Panel]>[Network Connections]>[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 53: | 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 >[Tools]>[Options...]>[OK]>[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 79: | Line 79: | ||
==Making /home/samba (share) writable== | ==Making /home/samba (share) writable== | ||
===Pardus 2009=== | ===Pardus 2009=== | ||
| − | [System Settings]>[Advanced]>[Samba]>{enter administrator password +[OK]}>[Shares]>select {share}>[Edit Share...]>[Base Settings] | + | [System Settings] > [Advanced] > [Samba] > {enter administrator password +[OK]} > |
| + | [Shares] > select {share} > [Edit Share...] > [Base Settings] | ||
Remove the mark at {Read only} | Remove the mark at {Read only} | ||
| − | [OK]>[Apply]>[OK] | + | [OK] > [Apply] > [OK] |
And to activate this change: | And to activate this change: | ||
| − | [System Settings]>[Service Manager]>{SMB Network Sharing} and activate [Reload service]>[Overview] | + | [System Settings] > [Service Manager] > {SMB Network Sharing} and activate [Reload service] > [Overview] |
===Pardus 2008=== | ===Pardus 2008=== | ||
| − | [Pardus]>[Tasma]>[Internet & Network]>[Samba]>[Administrator Mode]>{enter administrator password +[OK]} | + | [Pardus] > [Tasma] > [Internet & Network]>[Samba] > [Administrator Mode] > {enter administrator password +[OK]} |
and {Loading..} appears | and {Loading..} appears | ||
| − | [Shares]>select {share}>[Edit Share...] | + | [Shares] > select {share} > [Edit Share...] |
Remove the mark at {Read only} | Remove the mark at {Read only} | ||
| − | [OK]>[Apply]>[OK] | + | [OK] > [Apply] > [OK] |
And to activate this change: | And to activate this change: | ||
| − | [System]>[Service Manager]>Select [SMB Network Sharing] and activate [Stop] and then [Start]>[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 143: | 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]>[Advanced]>[Samba]>{enter administrator password +[OK]}>[Shares]>[Add New Share...] | + | [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] | + | 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]>[Apply]>[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}>[Permissions]>[Advanced Permissions] | + | 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] | 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} | ||
| Line 155: | Line 157: | ||
[OK] | [OK] | ||
===Pardus 2008=== | ===Pardus 2008=== | ||
| − | [Pardus]>[Tasma]>[Internet & Network]>[Samba]>[Administrator Mode]>[Shares]>[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 >[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]>[OK] | + | [Apply] > [OK] |
And to activate this change: | And to activate this change: | ||
| − | [System]>[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}>[Permissions]>[Advanced Permissions] | + | Open Home (Personal files), go[UP] to /home level, rightclick on your_login_name and select {Properties} > |
| − | Check/put mark at {Show Entries} for {User}{Group}{Others}>[OK] | + | [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} | 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 19:22, 15 August 2010
Making changes in order to make this page suitable for Pardus 2009.
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.
[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.
[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:})
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]
[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]