<---- template headericclude ----->
Fedora can't see Windows PC - Page 2
FedoraForum.org - Fedora Support Forums and Community
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    makalam Guest
    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.

  2. #17
    Join Date
    May 2004
    Location
    UK
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #18
    makalam Guest
    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.

  4. #19
    superbnerd Guest
    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.

  5. #20
    pmulgaonkar Guest
    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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Windows XP & Fedora 11 dual-boot problem (using Windows bootloader)
    By zmdmw52 in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 9th August 2009, 07:29 AM
  2. Replies: 7
    Last Post: 24th January 2009, 11:28 PM
  3. Fedora 6 / Fedora 9 / Windows 2000 network issue.
    By jspaceman in forum Servers & Networking
    Replies: 0
    Last Post: 7th July 2008, 09:15 PM
  4. Problem with Windows on upgrading from Fedora 7 to Fedora 9
    By SanjayPethe in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 22nd May 2008, 12:18 PM
  5. triple boot windows fedora and fedora
    By jsanders in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 22nd May 2006, 10:18 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]