Click to See Complete Forum and Search --> : a little smbclient help for mandrake


elton247
06-18-2000, 07:12 PM
I have Mandrake 7 running. I have Samba installed and working fine. It works
fine in that my Win98 puter recognizes it in net neighborhood and can share files with it.
BUT, my Linux machine can not share file with the Win machine. If I want to
swap any files I have to do it from my Win machine.
ITs not a huge deal but it would be nice to access my Win machine from Linux.
I can't seem to get smbclient to work or smbmount either.
It always gives me the command not found. Any suggestions?
Do I need to install smbclient seperate? I have tried gnoba and LinNeighborhood with no
success.

Off the topic but since i am posting. These are two seemingly simple questions
but I can't seem to find them anywhere. How do I find out
how much space I have on my harddrive and can I change the
program that opens certain file types?

Thanx for your help

Fingolfin
06-20-2000, 06:40 PM
Use the command "df" from the shell prompt (no quotation marks) to check for free disk space.

Fingolfin
06-20-2000, 06:46 PM
I don't know how you should get the smbmount. I'm using Red Hat 6.2 and just followed the nhf here at linuxnewbie for Samba. If your windows computer's name is bob and the c drive is named c, and you want to mount this in a directory on your linux machine you've already created named /windows/c then you'd write
smbmount //bob/c /c
You can add the options -o username=your_username,password=your_password
if you need to.
You need to use the comma between the options for this command.
Good luck! I know Samba hates me. =)

Fingolfin
06-20-2000, 09:01 PM
oops
that should be
smbmount //bob/c /windows/c

sorry =)
you can try installing smbclient
I just grabbed the latest samba file from samba and then used the packaging in the red hat directory to get everything.

SolarFlux
11-11-2000, 02:13 AM
smbmount is now utilized as

mount -t smbfs

m1rr0r
11-11-2000, 11:17 AM
I just downloaded samba-2.0.7.tar.gz. smbclient came with it. I then opened up a konsole and typed

smbclient //win98/c password
smb> <--- this prompt means you are connected to win98.