Fedora Linux Support Community & Resources Center
  #16  
Old 30th July 2004, 09:19 AM
makalam Offline
Registered User
 
Join Date: Jul 2004
Posts: 6
Just couldn't get Samba and Nautilus work together. smbfind, smbstatus all work. Can connect to xp shares using smbclient, I mean samba is working just perfect. But nautilus would not show any samba network. Firewall is turned off for the last 6 days.

I erased all nameserver entries from /etc/resolv.conf and then open mainMenu->network server, and it worked. But that's really not a solution as without DNS internet stopped working (DSL with DHCP/Linksys). May be some of you hopefully will try it and let us know if you get the same weird result and hopefully gurus out there can provide a solution.

Thanks.
Reply With Quote
  #17  
Old 30th July 2004, 01:30 PM
Ned Offline
Registered User
 
Join Date: May 2004
Location: UK
Posts: 399
Quote:
Originally Posted by chrisflynn
Update: I went to System Setting to Security Level and checked the box saying eth0 is a "trusted device".
If you do that you are effectively turning off your firewall by trusting all traffic in and out of that ethernet adaptor.

You need to open ports 137, 138, and 139 used by the NetBIOS service that windows and samba (smb) use to talk to eachother. Only open these ports for your windows machine on your internal lan that you wish to see

Code:
$ iptables -A INPUT -p ALL -i eth0 -s 192.168.0.1 --destination-port 137:139 -j ACCEPT
If you're unfamiliar with iptables, this will open traffic for all protocols (tcp, udp, icmp) to your local ethernet port 0 from ip 192.168.0.1 (your XP machine wanting to connect) on ports 137-139. Add additional lines for each ip address to be allowed to access or change to -s 192.168.0.0/24 which is the same as a 255.255.255.0 subnet mask to open up access from all IPs in the 192.168.0 range (or whatever private ip address range you're using on your lan).

Ned
Reply With Quote
  #18  
Old 1st August 2004, 07:07 PM
makalam Offline
Registered User
 
Join Date: Jul 2004
Posts: 6
Update on Samba and Nautilus:

I think the problem with Samba and Nautilus started when I changed hostname. I removed samba from add/remove. Then downloaded samba 3.0.5 from samba.org. Changed my hostname.

Tried to install with rpm -i but got a whole lot samba-common error. Installed it with rpm -U and installed just fine.

Nautilus and Samba worked like charm. I don't know but I think when you install samba it hard codes the *then* hostname somewhere.
Reply With Quote
  #19  
Old 2nd August 2004, 11:01 PM
superbnerd
Guest
 
Posts: n/a
one insecure way to fix this problem is to enable WINS support in samba and make sure the ports are open (I think they are 137 udp, tcp and 138 udp and 139tcp). worked for me.
Reply With Quote
  #20  
Old 31st December 2005, 03:13 AM
pmulgaonkar Offline
Registered User
 
Join Date: Dec 2005
Posts: 1
I have the same problem. However, when I edit the /etc/sysconfig/iptables file to add the -A INPUT -p ALL -i eth0 -s <ip address> --destination-port 137:139 -j ACCEPT, and then do a /etc/init.d/iptables restart, I get a syntax error on the line (--destination-port not recognized). I tried with --dport, same result.

Is there a particular place where the line needs to go? Turning off the firewall works fine (except it is obviously risky).

Help is much appreciated. This is the first Linux box I am trying to configure.
Thanks
Reply With Quote
Reply

Tags
fedora, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP & Fedora 11 dual-boot problem (using Windows bootloader) zmdmw52 Installation, Upgrades and Live Media 7 9th August 2009 07:29 AM
grub problem: sda fedora, sbd windows --> can't boot windows hdc Using Fedora 7 24th January 2009 10:28 PM
Fedora 6 / Fedora 9 / Windows 2000 network issue. jspaceman Servers & Networking 0 7th July 2008 09:15 PM
Problem with Windows on upgrading from Fedora 7 to Fedora 9 SanjayPethe Installation, Upgrades and Live Media 0 22nd May 2008 12:18 PM
triple boot windows fedora and fedora jsanders Installation, Upgrades and Live Media 2 22nd May 2006 10:18 PM


Current GMT-time: 11:38 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat