LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2006, 11:23 PM   #1
helloiambrad
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Cannot connec to linux share - Samba, Suse 10.0


Hello all...

I recently installed Suse 10.0 and Samba. I have a little experience with Samba in the past and from what I remember, it's always been a pain to setup. So far, I am unable to connect to the share I setup on my linux box from my WinXP Pro PC. When I view my workgroup computers from Windows I am able to see my linux box, but I am unable to access any shares on it. Here is my smb.conf file as of right now...

Code:
[global]
    workgroup = Mshome
    security = user
    encrypt passwords = yes
    smb passwd file = /etc/smbpasswd
    socket options = IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    local master = yes
    preferred master = yes
    create mask = 0770
    directory mask = 0750

[test]
    comment = For testing only
    path = /home/public
    read only = no
    guest ok = yes
Here's the directory I want to share (for now)...

Code:
drwxrwxrwx   2 root    root  4096 2006-01-31 19:06 public

When I try to map to \\linux-ip\test from my windows machine the connection times out. I did a tcpdump while trying to connect and I get the following...

(windows PC ip is 192.168.1.100, linux box is 192.168.1.101)

Code:
17:20:06.859564 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:06.859959 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:09.832782 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:09.832917 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:15.768831 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:15.768965 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
Can anyone help me out? I'm stumped. Thanks for your help.

- Brad
 
Old 02-03-2006, 04:44 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
I believe there is a really good samba tutorial on this site. It should help get you up and running
 
Old 02-03-2006, 04:55 PM   #3
helloiambrad
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I checked the tutorials but didn't see anything for Samba. Do you have a link perhaps? I've looked for tutorials on the web as well, but none of them have helped really.

- Brad
 
Old 02-03-2006, 04:57 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
did you check the tutorials? it's the fourth one down on networking, easy to find.

Basic Samba Network File Sharing
http://www.linuxquestions.org/linux/...k_File_Sharing

Last edited by bosewicht; 02-03-2006 at 05:09 PM.
 
Old 02-03-2006, 05:07 PM   #5
lipidinc
LQ Newbie
 
Registered: Dec 2005
Distribution: Fedora 4
Posts: 6

Rep: Reputation: 0
http://www.samba.netfirms.com/

This one is pretty good, but if there is a GUI present for it, you should just use that. When installed on Fedora, its in Desktop->System Settings->Server Settings->Samba, but I'm not sure where it is on Suse. The GUI basically autoconfigs the smb.conf file for you, but without most of the advanced features you have in your file already.

Also, run "ifconfig" as root and make sure you actually have a MAC or hardware address. I spent months trying to figure out why it wouldn't work with that issue because pings would succeed from both the windows and linux machines to each other, but not between the bad card and the router.
 
Old 02-03-2006, 05:08 PM   #6
helloiambrad
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Found it, I was looking in Applications. My fault. We'll see if this does the trick.

- Brad
 
Old 02-03-2006, 05:28 PM   #7
helloiambrad
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hmmm, the tutorial on this site is for mapping shares from windows to linux. I'm wanting to do the opposite. Linux -> Windows. My linux box being the server and my windows box being the client connecting to the share(s). I'll check out this tutorial at netfirms to see if it will help.
 
Old 02-03-2006, 05:53 PM   #8
helloiambrad
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Good news...

I'm sure it's a common error, but I forgot I had a firewall running on my linux box. The mystery has been solved. Thanks for your help though.
 
  


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 OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 10:12 AM
Suse 9.3 Samba Won't Share With Windows XP Desert Linux - Software 2 07-25-2005 12:02 AM
Can't connec to X server on suse 9.2 java8964 SUSE / openSUSE 8 04-13-2005 08:05 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
share printer through samba (Suse 9.2) wycolorado SUSE / openSUSE 4 01-03-2005 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03: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