LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2004, 06:36 PM   #1
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Rep: Reputation: 15
Newbie Samba help


I installed Mandrake 10 with no firewall. I have a router (linksys wrt54g) and I have one desktop and one laptop. I just bought an older computer (I put the mandrake on it) that I want to be my file server. Now I am using SWAT to create my smb.conf file, but I just can't seem to see the server on the windows machine. I can't ping from either the windows computer or the linux computer.

the name of the workgroup is WORKGROUP

all I want is to be able to read/write to the server and have no passwords at all (I know the security risks). Here is the smb.conf file that I have:
----------
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/08/04 17:34:41

# Global parameters
[global]
passdb backend = guest
wins support = Yes

[data]
path = /data
read only = No
-----

Now this is taken from the normal view in the SWAT. The full view has a lot more stuff in it, however the above is all I see when I try to access the file via a browser. Thanks in advance
 
Old 08-28-2004, 06:53 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi MasterCephus, welcome to lq. i'll take a stab at this, have you considered opening the file as root and manually editing it? the file should reside in /etc/samba/, so to open and edit it manually try this, open konsole, at the prompt issue

su -
password: enter root password here

you should be dropped to another prompt, once this is done, try

pico /etc/samba/smb.conf

if you don't have pico, you can use vi, joe, nano, any old text editor will do. add the following options under you global section

workgroup = WORKGROUP
netbios name = the name you wish to see in network neighborhood
security = SHARE
server string = Samba Server %v

then under the data share add

guest ok = yes

save the file and exit. while still root from konsole restart the daemons

service smbd stop
service nmbd stop

service smbd start
service nmbd start

exit, then restart the windows machine. it may take 15 mins or so for the machines to "see" each other, by that i mean visually. you should be able to get to either machine from the command line. hope this helps.
good luck.
 
Old 08-28-2004, 07:18 PM   #3
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 15
I did all of that, and nothing happened. Is there a way to see if samba is actually running? I named my linux box "server" and when I am on my windows machine, I can type 'ping server' and gives the correct IP. However it doesn't send anything to it. Do you know what that means?>
 
Old 08-28-2004, 07:31 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
ps -aux

should give you a list of proccess states.

Quote:
However it doesn't send anything to it. Do you know what that means?
i don't understand the ? what do you mean by it "doesn't send anything to it"?
 
Old 08-28-2004, 07:38 PM   #5
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 15
GREAT NEWS!

I should have told you that I was using my laptop (wireless G) to see if I can see the server through the network. Reason is that I only have on monitor. So I got fed up and connected the monitor back to the main computer and then I could see the server! Excellant...

But I still don't see it through my laptop, but that wouldn't involve Samba, I don't think (however I could see the other desktop on my laptop...)

Thanks man!
 
Old 08-28-2004, 07:43 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
is the laptop running linux or windows?
 
Old 08-28-2004, 07:55 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
i have to go for the evening. hopefully someone else will pick this up, if not, i'll be back tommorow to try and help.
good luck.
 
Old 08-28-2004, 08:23 PM   #8
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 15
It's running XP home edition.
 
Old 08-29-2004, 11:26 AM   #9
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 15
Now I can see it through my laptop.


I have another question for you. Does linux (or Mandrake) have folder size limitations? I have a 60gb hard drive and I made a data folder that I was hoping to put around 33gbs worth of stuff in it. But when I try to transfer it over to the machine, it says that there isn't enough free space. I have been putting files in there seperately now to see how much it can handle and right now the folder on the server has 4.6 gb. Is there a limitation on folder size and if so, how do I change it?
 
Old 08-29-2004, 06:42 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
too my knowledge there is no directory size limit other than the partition itself. you might look into quotas

http://www.tldp.org/HOWTO/Quota.html

something like that could have been activated "automagically" w/a mandrake install. something else to look at would be the du, and df commands, those will report info about you directories. see

man du

and

man df

for details. glad your network is functioning now. now comes the real learning, using it. ;-)
good luck.
 
  


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
SAMBA newbie westverg Linux - Networking 2 10-04-2005 06:08 AM
Newbie-Samba help dyn0myte Slackware 4 07-27-2005 10:42 PM
Samba Newbie !!! burki Linux - Software 2 03-25-2005 07:58 PM
Samba Newbie aethiolas Linux - Newbie 2 11-23-2004 05:44 AM
!!!!!!! newbie needs SaMBa help !!!!!!!! spaztic_fury Linux - Networking 1 11-02-2003 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration