LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can someone tell me what services need to be selected for auto-startup for Samba fs? (http://www.linuxquestions.org/questions/linux-networking-3/can-someone-tell-me-what-services-need-to-be-selected-for-auto-startup-for-samba-fs-139001/)

RedHatMasta 01-26-2004 07:38 PM

A few Samba howto questions?
 
I removed some of the startups to make my computer boot up faster. I'm not sure which ones Samba uses. I should be using samba for file sharing with my moms computer on XP right?

I've figured out how to configure xp, but now need to know what do do in Linux.

A few ?'s...
1.Do I have to add a user and is this the computer name?

2.If my workgroup in linux is the same as the one for my mom in xp, it will show up on the Network Neighborhood, right?

3.How will I mount my mom's shared files/her computer on the file sharing network? Do i put it in etc/fstab? what do I add it as, or will it look for and auto mount them?

4.I've got the security as share. Is this correct and will my dlink-512 only allow those behind it to see my files?

5.How do we share printers?

Thanks a ton. I've looked in the help and the man pages but they didn't cut it.

--Distro is in the top right under my name
--Its a 4 port router with 802.11b (we are both wired tho)
--The router does the DHCP-ing....don't have cable/dsl yet, we both dialup, but anyway we can both be on? (mom in xp online and me in linux connected to her online?)

mickboda 01-26-2004 11:52 PM

a few things you add to this post to help the Guru's help you (By the way I am NOT a Guru.)

1. What distro are you using?
2. Are you using a Hub or direct cable connection?
3. Is your linux or XP acting as the DHCP server (the one with the internet connection would be the one that should be doing DHCP)

Regards

Mick

RedHatMasta 01-28-2004 06:05 PM

bump!

drewthetux 01-30-2004 07:31 AM

1.Do I have to add a user and is this the computer name?
Just add samba user:
#adduser sambaz
#smbpasswd -a sambaz

2.If my workgroup in linux is the same as the one for my mom in xp, it will show up on the Network Neighborhood, right?

Specify your workgroup & you have to change security level in smb.conf to share level:
vi /etc/samba/smb.conf
find following line and edit:
workgroup = your_workgroup
security = share # default is 'user'

3.How will I mount my mom's shared files/her computer on the file sharing network? Do i put it in etc/fstab? what do I add it as, or will it look for and auto mount them?

Try this:
mount -t smbfs -o username=yourname,password=your_pass \
//path/to/share/dir /path/to/mount/point
or
smbmount /path/to/share/dir /path/to/mount/point
password:
type ur pass here

4.I've got the security as share. Is this correct and will my dlink-512 only allow those behind it to see my files?

??

5.How do we share printers?

who's share ?? xp or Linux ??

RedHatMasta 01-30-2004 06:55 PM

Hey thanks so much!

She has a password for her normal logging in, but if she puts the Security on her files to Allow Everyone in the workgroup to see these files but not edit, when I do
smbmount //workgroup/computername /mnt/MomDell or
mount -t smbfs -o username=yourname,password=your_pass //path/to/share/dir /path/to/mount/point

it shouldn't prompt me for the password, right?
In the case of the mount, it would look like:
mount -t smbfs -o //workgroup/user /mnt/MomDell
correct?

BTW how should I configure XP for the sharing? I noticed in /etc/samba/smb.conf that it had WINS support, which is what hers will be configured as.

What shouls I do for her to be able to print from her comp on the Lexmark connected to my computer?

Nvmd the dlink question.

Thanks for helping out. Search didn't help.....

drewthetux 02-02-2004 05:09 PM

# BTW how should I configure XP for the sharing?
Just do as u do in normal windows networking

#I noticed in /etc/samba/smb.conf that it had WINS support, which is what hers will be configured as.
if u want to enable WINS support , just uncomment:
wins support = yes
and if u have other machine as WINS Support:
wins server = <ip/hostname of ur WINS server>

What shouls I do for her to be able to print from her comp on the Lexmark connected to my computer?
??
her ? XP or linux?

please make a better question like:
What should I do to make my XP-client able to print on lexmark connected to my Linux-box?

+++++++++++++++++++
Why do I have to keep reading this technical manual? :)


All times are GMT -5. The time now is 10:22 PM.