LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is samba standard on Mandrake 9 or do I need to download it? (http://www.linuxquestions.org/questions/linux-newbie-8/is-samba-standard-on-mandrake-9-or-do-i-need-to-download-it-53723/)

indiretto 04-06-2003 04:20 PM

Is samba standard on Mandrake 9 or do I need to download it?
 
I was wondering if samba might already be on my computer. I just installed Mandrake 9 and want to set up internet connection sharing. If it is already on my computer could someone please tell me how to install and configure it. Also if anyone knows whether I should use a static IP or the bootp/dhcp I would appreciate the help.
Thank you in advance for your help.

doublefailure 04-06-2003 04:23 PM

as root
# which smbd

if it doesn't return anything
u can find one on your cd or at rpmfind.net

indiretto 04-06-2003 07:30 PM

Could you explain it a little more? I am brand new to linux so I don't always get it. I used su root then did this two different ways. First I typed in "# which smbd" and nothing happened. Then I typed in "which smbd" and got "/usr/sbin/smbd" then the root prompt. If you could let me know what I am not doing correctly I would appreciate it. Thanks again.

michaelk 04-06-2003 09:58 PM

It appears that it was installed however, samba is for file sharing / print sharing between linux and windows PC's. and not required for internet sharing.
You can use the following console command to see if samba is running.
ps ax | grep smbd

The default samba configuration works ok. See www.samba.org for documentation.

I haven't attempted internet sharing with MDK but there is a GUI connection sharing wizard under Mandrake Control Center under networking.

If all you have is a couple of PC's I would use a static IP just to make things easier to configure. Then once you have things going you can setup DHCP.

In case I have made the wrong assumptions then more info on your hardware would be helpfull.

lectraplayer 04-06-2003 10:06 PM

Samba comes with Mandrake, I know since 7.2. That's the first Linux I tried and it had it.

indiretto 04-07-2003 07:45 PM

I appreciate your help and I have found traces of samba on my computer but I can't actually find a install file. I typed in "rpm -ql samba|less" and it came up saying "package samba is not installed". So where do I look for it and how do I install it?

P.S. Does Linux have a "Search" option?

michaelk 04-07-2003 08:37 PM

I believe that samba is on the 3rd CD. You can browse the cd to find it. There is more than one package. There is the samba, samba common, client and swat. swat is a web browser tool for configuring the smb.conf file. You can use the MDK package tool in the configuration menu.


All times are GMT -5. The time now is 03:32 PM.