LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-26-2004, 06:38 PM   #1
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Rep: Reputation: 15
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?)

Last edited by RedHatMasta; 01-28-2004 at 05:04 PM.
 
Old 01-26-2004, 10:52 PM   #2
mickboda
Member
 
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Rep: Reputation: 15
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
 
Old 01-28-2004, 05:05 PM   #3
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Original Poster
Rep: Reputation: 15
bump!
 
Old 01-30-2004, 06:31 AM   #4
drewthetux
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
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 ??
 
Old 01-30-2004, 05:55 PM   #5
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Original Poster
Rep: Reputation: 15
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.....

Last edited by RedHatMasta; 01-30-2004 at 06:18 PM.
 
Old 02-02-2004, 04:09 PM   #6
drewthetux
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
# 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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Package cant be selected zappos Linux - Newbie 4 03-17-2005 03:34 AM
how to auto start services at startup in debian? legolin Debian 3 12-28-2003 10:02 AM
How to auto-start services on boot? Neorio Linux - General 4 11-05-2003 04:52 AM
Startup services Road Linux - General 5 06-07-2002 05:34 PM
Startup Services Stephanie Linux - General 2 08-07-2001 09:37 AM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration