LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-23-2004, 02:01 PM   #1
sleeterbull
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Samba Problems


I'm new to linux, but I'm proficient with windows and Mac OSX.

I've just installed Mandrake 10.1 on my desktop. My wife has a WinXP Home Ed. laptop connected via wireless to internet. I also have a 2wire homeportal. I can't get either computer to see each other. I've installed every package I can find related to samba including swat. I've read Samba's website about configuring everything and how to run swat. When I try to run SWAT, I get nothing so I tried manually configuring smb.conf. It tested fine. Still, neither computer will see each other. /etc/services and xinetd seem to know about SWAT but it still doesn't run. Mandrake's config program won't see the other computer on the network.

1.) Any ideas why swat doesn't work? All the tutorial things I find just say run swat @ htttp://xxx.xx.xx.xx:901 and every thing works like magic.

2.) What I want to do is share the printer on my desktop with the laptop and I want to share a folder, too. This shouldn't be hard, right?

I haven't included output from any config files, since the ones I know about seem to say what the docs say they should, but there is likely some other file I don't know about.

Any help is appreciated!
 
Old 10-23-2004, 02:53 PM   #2
sleeterbull
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
swat works now

I got swat to work, but still the computers don't see each other.
 
Old 10-23-2004, 05:06 PM   #3
alerola
LQ Newbie
 
Registered: Apr 2003
Location: Federal Way, WA
Distribution: OpenSuse 10.2
Posts: 12

Rep: Reputation: 0
Just a thought. Windows Home XP doesn't play well with networking. Did it network before you put in Linux?
 
Old 10-23-2004, 07:45 PM   #4
sleeterbull
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

I got it to work eventually. The problem was with Windows, naturally. Shutting the computer down all the way and restarting worked, but I had to manually make it find my shared folders by going to add network place. For some reason restart didn't cut it.
 
Old 10-23-2004, 08:39 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
There are a couple of Windows related problems at play usually.

The master browser. Usually samba SHOULD win the master browser elections, but with XP it sometimes doesn't. Therefore it can take a rather LONG time before shares become visible on your network.

Because of this I normally add all of the local hosts to C:\Windows\System32\drivers\etc\hosts (copy hosts.sam to hosts in that directory and edit).

Then there are some potential authentication issues due to the way Windows hashes passwords and stuff.

One of the best debugging tools is to log into samba locally using SMBCLIENT so you can see what is going on.

e.g.

smbclient -L LOCALHOST -U VALIDUSERNAME

which will dump local shares

then try the same thing with your windows boxes.

smbclient -L WindowsBOX -U VALIDuserName

Oops, no machine is recognized? Immediate tipoff!

Add the Windows machine names to /etc/hosts in Linux and try again.

Once you get a response you'll be able to compare how the machines see each other or themselves using the above.
 
  


Reply



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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba Problems again :) Iztari Linux - Networking 18 06-24-2004 11:00 AM
samba problems... Digital_Err0r Linux - Networking 1 03-20-2004 04:46 PM
Samba problems. Zombie13 Mandriva 4 03-11-2004 02:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM

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

All times are GMT -5. The time now is 02:39 PM.

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