Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share Linux box's CDROM to Windows 98 PCs !!!

Status
Not open for further replies.

HaoDr

IS-IT--Management
Sep 26, 2001
32
VN
Hi everyone,

Please tell me how to share the CDROM attaching on my RedHat 7.1 Linux box so that the other Windows 98 PCs can use it. Because I am new to Linux, so please tell me step by step to do that.

Thanks in advance for your help.

Hao Dr
 
Steps 1 through 436 - walk over to Borders and pick up "Samba Essentials for Windows Network Administrators" by Gary Wilson.

You can share any directory on Linux with windows computers by using Samba ( In this case, you would likely share /mnt/cdrom as read-only.

You really need to do this yourself. There is no easy way to tip-toe into the linux world - you need to plug your nose and dive in. Break some stuff. Reinstall it a dozen times. Forego sleep for awhile.

It can be costly (in terms of time and frustration), but it is immensely rewarding.

Hand-holding is not the best way to learn this stuff.

Best Regards,

Steve 'Then I thought - it is easier to get out of the way when we are in it, than to get in when we are out'... John Bunyon, "Pilgrims Progress"
 
Or just uncomment swat in inetd.conf or xinetd.conf,
use your browser to hit localhost:901 and save yourself
the thirty+bucks; and get the job done while learning.

In the meantime this should work:

[global]
workgroup = (name of your wkgrp)
security = share
netbios name = SAMBASERVER
encrypt passwords = yes

[cdrom]
path = /cdrom (or /mnt/cdrom-> wherever your mtpt is)
browseable = yes
comment = CDROM SHARE

install this as your smb.conf and run testparm.
then run a little start script

#!/bin/sh
ops=$(pidof smbd ; pidof nmbd)
if [ -z "$ops" ]
then
smbd && echo -e " `pidof smbd`:SAMBAUP."
nmbd && echo -e "`pidof nmbd`: NetBiosUP."
else
for aa in $ops
do
echo "$aa pids for smbd and nmbd-running."
done
fi

Good Luck


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top