HOWTO:SambaNetwork
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 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 in Pardus
This is valid when the printer is connected to 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/printer} (f.i.> 192.168.0.100/printer)
[> Forward]
Select the {Manufacturer} and {Model}
[> Forward]
Select the recommended driver
[> Forward]
Test the printer
[> Forward]
to be finished
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 directory readable on the network
[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]
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]