LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2005, 04:12 PM   #1
jb_jauvin
LQ Newbie
 
Registered: Mar 2005
Location: Verchères, Qc, Canada
Distribution: Slackware 10.1
Posts: 3

Rep: Reputation: 0
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
 
Old 03-30-2005, 04:18 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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.
 
Old 03-30-2005, 04:41 PM   #3
jb_jauvin
LQ Newbie
 
Registered: Mar 2005
Location: Verchères, Qc, Canada
Distribution: Slackware 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
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!!!!
 
Old 03-30-2005, 04:48 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
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:
 
Old 03-30-2005, 05:42 PM   #5
jb_jauvin
LQ Newbie
 
Registered: Mar 2005
Location: Verchères, Qc, Canada
Distribution: Slackware 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
Post

it didn't work
can someone tell me how to configure smb.conf correctly???(plz step-by-step)
a linux newbie
Jean Bruno
 
Old 03-30-2005, 07:10 PM   #6
mscole
Member
 
Registered: Nov 2004
Location: Florida
Distribution: Slackware 15
Posts: 129

Rep: Reputation: 24
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.
 
Old 03-30-2005, 08:00 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xp-box to share internet connection with linux-box CrazyHorse Linux - Networking 7 09-28-2006 11:05 PM
Share Windows modem connection with Linux box? Toronto Linux - Networking 3 09-18-2005 01:13 AM
Can I acces my Linux box from anywhere in tyhe world??? MR_UNO Linux - Networking 3 12-01-2004 11:28 AM
windows share automatically mount on linux box emailssent Linux - Networking 11 11-01-2004 03:02 AM
(Windows) Only one Linux box can mount a smb share Artimus General 1 07-21-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration