Continued from Page 4
If all went well, you should be presented with a Network
Logon screen, with your domain name already filled in. At this point, you need to make
sure that you have a user account on the Linux machine. If you don’t, create one
(while logged in as root) using the command useradd userid or use the User
configuration applet from the Linux control panel if you have X Windows running. In either
case, make sure that a password is assigned to the user. From the Linux command line you
can do that with the command passwd userid. OK, now try logging in from your
Windows machine! Enter your user ID and the password. After a brief delay, you should see
your Windows desktop, complete with Network Neighborhood icon.
Note: You may be prompted for a Windows password if
this is the first time you logged in this way. Typically, the password will already be
filled in in the first field (it uses your network login password). Do not confirm the
password! Wipe out this pre-filled password and click on OK. This will stop Windows from
asking you for this (effectively useless) password in the future. You may be prompted for a Windows password if
this is the first time you logged in this way. Typically, the password will already be
filled in in the first field (it uses your network login password). Do not confirm the
password! Wipe out this pre-filled password and click on OK. This will stop Windows from
asking you for this (effectively useless) password in the future.
Once you are succesfully logged in, you should be able to
see your Linux server’s name through the Network Neighborhood icon. Double click on
that, and you should see various items, including your private home directory folder, the
Tmp (temporary files) folder, and the printer you defined at the beginning.
Open your personal folder. You can now copy files into it
and use it just the way a file server should be used.
Ready for some network printing? Open My Computer
and select Printers. Choose Add printer-Next-Network Printer-Next-Browse,
select the entry for your Linux server, find the printer icon, click OK-Next, set
it as your Windows default printer, and allow it to print a test page. If your network
printer is ready, online, and loaded with paper, you should now see the familiar Windows
printer test page printing out. Tell Windows that it printed OK, and that’s it!
Adding more resources
You will now want to add more sharable resources. For
example, let’s make the CD-ROM drive on the Linux server sharable by everyone on the
network.
Simply run joe /etc/smb.conf, go to the bottom of
the file (Ctrl-KV will get you there), and add these lines:
[cdrom]
comment = LAN CDROM drive (if empty, no CDROM mounted)
path = /mnt/cdrom
public = yes
writable = no
printable = no
Now restart SAMBA server components with
/etc/rc.d/init.d/smb restart. If you refresh your Network Neighborhood, you should
see a share called cdrom which will show you the contents of the CD-ROM (which you
do by inserting a CD-ROM and running the command mount /mnt/cdrom), or nothing if
no CD-ROM is mounted.
Congratulations, your server is up and running!
Page(s) 1 2 3 4 5 |
|