Click to See Complete Forum and Search --> : Installing RPM (Ultra Newbie question)


retardednewbie
02-02-2004, 04:03 PM
hey guys i just installed Red Hat 9 on my comp 3 days ago and today i finally got the audio and LAN working THANK GOD!

ok now on to the next step im trying to install samba-3.0.1-2_rh9.i386.rpm when i double click on it it starts installing (i guess) and then it finishes.

so where is this program Samba? i tried searching for my answer but its such a complete newbie question i guess no one is as dumb as me. :o :o

do have to bring up the terminal and type in a command?

after double clicking on the RPM whats the next step? or if its already installed where is the program?

Choozo
02-02-2004, 04:22 PM
Uhm, you know what you will be using samba for, right? (Your line of questions didn' make this clear to me...)

If so, have a look at the configuration file (most likely /etc/samba/smb.conf), and make the appropriate changes to that file - then start/restart the samba daemon.

If not, have a thorough look at the documentation available over at www.samba.org

Cheers :)


You will probably be best off installing SWAT (Samba Web Admin Tool) too, as this will greatly ease the task of configuring your samba shares.

And your thread subject should probably be: Help on configuring Samba on RH9?

retardednewbie
02-02-2004, 04:35 PM
Dear Choozo,

thanks for the quick reply yeah im trying to see a shared directory i have on my other computer that has all my files. its something very simple i could do in windoze in 2 minutes but in linux i dont know where to start. i'll look into what you said now.

Icarus
02-02-2004, 04:56 PM
IF it installed (I always install RPMs from the command line in case something doesn't work I get the error of why) You will be able to set up SAMBA using the GUI tool redhat-config-samba (I think)
From the menu you can get to it, I think I'm not at a Red Hat or even linux machine right now :o , System Tools -> Services ?? -> Samba server ??

I'll know the answer when I get home in a couple hours :)

retardednewbie
02-02-2004, 05:09 PM
Dear Mahdi,

thnx for teh reply i think your talking about
System Settings/Server Settings/Samba Server

but from what i see its for setting up a share so people can see whats on my linux comp. not so i can see whats on my other computers. unless your talking about something else maybe.

Choozo
02-02-2004, 05:17 PM
.... and your other computers is what? Windows?, Linux?

Icarus
02-02-2004, 05:18 PM
OH! My mistake...

What your looking for is right off the main menu then...I think it's called "Network Servers"?
It's a "Network Neighborhood" like that uses smbclient to scan and access network shares through Nautilus

You can also look at LinNeighbothood, but I like the simplicity of the Nautilus like interface

From the command line it would be
smbclient -U user //server/share

Slacker91
02-02-2004, 06:49 PM
if uve got admin rights and u no the root pword then just click on the RPM and put in the root pword (thats what works for me in RH9 but i dont no if it will work on other distros what linux u got)

retardednewbie
02-02-2004, 07:22 PM
i have RH 9 too. where are these programs? when i double clicked on the RPM for mplayer, sambo and other RPMs it looks like i installed so how to i activate the programs? i dont think u guys realize how much of a n00b i am :o thanks for the replies so far :o


**** when i try to go to menu/network servers it says

"Couldn't display "smb:///", because Nautilus cannot contact the SMB master browser. Check that an SMB server is running in the local network."

the other comp im trying to connect to is winXP pro and i know that share works.

Icarus
02-02-2004, 08:40 PM
See if you can get a listing of shares from the command line
Here's my network as an example
[mahdi@SeitchTabr mahdi]$ smbclient -L //spider/
Password:

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
choam Disk
mahdi Disk
IPC$ IPC IPC Service (samba server)
ADMIN$ IPC IPC Service (samba server)

Server Comment
--------- -------
LUNY2NY luny2ny
SPIDER samba server

Workgroup Master
--------- -------
ARRAKIS SPIDER

retardednewbie
02-02-2004, 09:05 PM
this is mine it looks like it can see everything okay but my stupid menu/network servers still isnt working its giving me that error i posted above. ive been searching through message boards how to fix it but it doest work.

isnt there some other way i can connect to the shares on my comps?





smbclient -L //citrine
added interface ip=192.168.1.104 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 192.168.1.100 ( 192.168.1.100 )
Password:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
share Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer Microsoft Office Document Image
Writer

Server Comment
--------- -------
CITRINE

Workgroup Master
--------- -------
ARMOREDCONQUEST OPHELIA
DENMARK LAERTES
MYGROUP LOCALHOST
WORKGROUP CITRINE
[root@localhost programs]#

retardednewbie
02-02-2004, 09:08 PM
my linux computer is MYGROUP LOCALHOST

in that list

retardednewbie
02-02-2004, 09:44 PM
OMG IT WORKS! i used these instructions from TexasDex...

*************************************************
in the terminal type in
mkdir /mnt/smb
mkdir /mnt/smb/documents

Then whenever you want to mount the folder type in:

mount -t smbfs //windowscompname/sharename /mnt/smb/documents

replace the windowscompname with the NetBIOS name of the Windows 2000 PC and sharename with the name the folder is shared as.

Then you can go to /mnt/smb/documents and all of your documents should be there.
************************************************** *

thank you everyone mahdi, Slacker91, and Choozo for helping a foolish yet polite newbie like me. i truly appreciate the time you all spent on me i learned a lot for you guys. thank you for your time.

Slacker91
02-02-2004, 11:30 PM
hey no prob we were once all n00bs 2 (at least i know i still kinda am!!) and your very welcome