This article will show you how to network openSUSE 11.2 with Windows XP and
It is assumed that you are using the openSUSE default desktop, KDE4 (you'll
need Samba client/server installed).
Any Windows 7 machines should NOT be using the HomeGroup option but instead
use the advanced sharing option.
How to share Windows files is not covered. If you can't do that, well, Linux
may be out of your league ;)
This article applies to workgroups only, not domains.
To make it easier on you this is a one page article, heavy on the
screenshots. It is specifically created for the average user and thus relies
on the GUI configuration options when possible. It is my hope you find this
From your Suse box, open YaST
in Root password).
Next go to Network Services
Network Services (xinetd)
Find the swat
and click the Toggle Status (On or Off)
button to toggle on. Then click Finish
Now back in the YaST Control Center click on
then System Services
Highlight and then click Enable
ensure that they are enabled) button for the following services:
Then click Finish
Now back in the YaST Control Center click on
then Samba Server
Under the Start Up
tab ensure that
> During Boot
is checked. If you are using the Suse firewall also check
Open Port in Firewall
Next click on the Identity
in your Workgroup or Domain Name
(the exact same name as your Windows workgroup). Next make sure the box
under Domain Controller
NOT a DC
. Then, in the box NetBIOS
enter the name you want for your computer. Click
(or Firefox). In the
address bar type localhost:901
press the Enter key.
In the resulting screen enter your root name and password and click OK.
Click on the Globals
icon. Fill in
the sections marked by the red paw
are not already filled in). Most users will not need to mess with anything
else. Click the Commit Changes
button when finished.
Now we have to make sure we can Samba to and from your Suse box through the
Open YaST. Click on Security and Users
In the Start-Up
section ensure the
Start Firewall When Booting
option is checked.
Click on the Allowed Services
Under Service to Allow
(if it sin't already there) then click Add. Repeat this
step and add Samba Client
. When finished click
and then Accept
finished go back to the Start-Up section and click
Save Settings and Restart Firewall Now
Adding A User
Browsing and accessing files in both directions requires a user with Samba
This user needs to already exist. You can use your account if desired (if
not then it's best to add them through YaST).
To add a Samba user:
Open a terminal and su to root.
type the following smbpasswd –a
and hit enter
type and then confirm password.
Open Konqueror or Dolphin. Pick a folder you wish to share, right-click on
it and choose Properties
If you haven't shared files before the you'll need to configure this. To do
this click on the Share
tab and the
Configure File Sharing...
Check the following boxes:
Enable Local Network File Sharing
(but do not check NFS).
Then click Allowed Users
. In that
screen choose Allow all users to share
You can the choose more folders to share by clicking the
When finished click Apply
You should now be able to share any folder by right-clicking on it (provided
you have permissions on that folder).
Make sure to check the appropriate boxes for your desired access settings.
Most users will not need to go beyond this but for advanced
permissions/options click More Samba
Letting The Network Do Its Thing
Now we are going to shut down every machine on the network. If you have a
home server, a machine with a shared printer, or a machine that is usually
on more than most then boot that one up first. Let it get fully booted up
then one-by-one start the other machines on the network, letting them fully
boot up before booting the next one.
This method allows the network to sort of 'reset" itself.
Once complete you should be able to browse to all network shares through
Konqueror or Dolphin. Look for the Network icons. You'll be going to
> Samba shares
SMB shares) > your workgroup. You can also type in the name of the workgroup
or machine in the address bar:
I have found that it is easiest for most folks to share printers from a
Windows box to a Linux box than the other way around (there are several
reasons for this beyond the scope of this guide). This is the method I'm
going to show you.
> go to the
section and click on
Click on Print via Network
Accept Printer Information from the Following
> accept from anywhere
Then click the Connection Wizard
Choose Print Via Print Server Machine
> Microsoft Windows/SAMBA (SMB/CIFS)
You'll will need ALL the information for the boxes below.
Once you have filled in all the info click OK and in the resulting screen
you will have a chance to pick the appropriate driver for your machine.
There is another option for adding, configuring, and maintaining printers.
Printing is managed by CUPS
and there is a management GUI.
To get there open Konqueror (or Firefox) and type
in the address bar and hit Enter.
You'll see all your options there:
How It All Looks On My Machine (click thumbnail
for fill size pic)