LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   acces windows share from my linux box (https://www.linuxquestions.org/questions/slackware-14/acces-windows-share-from-my-linux-box-307950/)

jb_jauvin 03-30-2005 04:12 PM

acces windows share from my linux box
 
I everyone
I'm a real linux newbie and I want to acces my windows share from my all new linux box.... I'm using slackware 10.1, and xfce as window manager.... if you can give me gui solution or even a text solution step-by-step.....
thanks in advance to all who will reply!
Jean Bruno

mcd 03-30-2005 04:18 PM

if you go into a terminal, this should work:

su
(password)
smbmount //windowsbox/share /mnt/dir

just make sure that windowsbox is the network name of your windows box, share is the name of the directory you want to access, and that /mnt/dir exists.

jb_jauvin 03-30-2005 04:41 PM

I tried it and it reply me:
"bash-3.00$su
Password
bash-3.00#smbmount //FAMILLE/F /mnt/dir
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Can't load /etc/samba/smb.conf - run testparm to debug it
Could not resolve mount point /mnt/dir
bash-3.00#"

I think that i need to edit my smb.conf, but I don't know how...
Help me plz!!!!

Jeebizz 03-30-2005 04:48 PM

there is a smb.conf file in /etc/samba but renamed as smb.new or something or other, just cd to that directory, and see, and open it, scroll down to this part of the file

Code:

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY

and change it to this...
Code:

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
#SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

and save it as smb.conf and it should work now , I hope :smile:

jb_jauvin 03-30-2005 05:42 PM

it didn't work:(
can someone tell me how to configure smb.conf correctly???(plz step-by-step)
a linux newbie
Jean Bruno

mscole 03-30-2005 07:10 PM

In Slackware 10.0 there is a very comprehensive guide to samba in file:/usr/doc/samba-3.0.4/docs/using_samba
It should be there in 10.1, providing you installed the documentation packages.
Mike.

mcd 03-30-2005 08:00 PM

Quote:

Could not resolve mount point /mnt/dir
did you create /mnt/dir first? that directory must exist (or feel free to use whatever other mount point you want).

also, you're trying to access //FAMILLE/F - which i suppose is your F: drive in windows. as far as i know, you can't share a drive that way, you have to share a specific folder. in other words, in windows i have the following directory that i want to share from my windows pc named maverick:

D:/MyStuff/Pics

the command to mount this on a remote linux computer would be:

mkdir /mnt/pics
smbmount //maverick/Pics /mnt/pics


All times are GMT -5. The time now is 08:24 AM.