LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2004, 05:51 AM   #1
wza
LQ Newbie
 
Registered: Jan 2003
Distribution: debian/fedora/redhat
Posts: 18

Rep: Reputation: 0
problem with home network (samba)


i'm trying to setup a tiny home network starting with two pc's.

First one got two nic's, running mandrake 9.2. One nic is directly connected to the internet thru a hub that gives me an ip from my isp's dhcp.

The other nic is connected to a switch, i've setup the linuxbox to work as a router (second nic is 192.168.0.1) so i can plug in my other pc (windows XP) to the switch and get a 192.168.0.2 from it. This works.

The notworking part now is that i can't seem to be able to setup samba on the linuxbox so that the Windows pc can access two shares i made. I'm quite sure this is a firewall issue (shorewall), i've had to open up a few ports in order use Webmin, Usermin or SSH remotely on my Windows XP pc, and this works.
For samba, this does not seem to work; if i don't enter any rules at all, i'm able to see the two machines in my workgroup, but i'm unable to browse the Linuxmachine; and if i use ports 137 138 139 and 443 (both tcp and upd - wasn't sure) in a firewall rule, i'm not even able to browse the workgroup !!! I'm also not able to ping 192.168.0.1 from my Windowspc and 192.168.0.2 from the Linuxmachine (host unreachable).

Anyone got an idea on how to fix this? Could it be that i need to config something else then just Shorewall?

Last edited by wza; 04-12-2004 at 05:53 AM.
 
Old 04-12-2004, 06:00 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
- try port 445 as wel
- does your firewall log dropped packets? if so check the log and open more ports according to it but 137 - 139, 445 should be enough
 
Old 04-12-2004, 06:02 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
shorewall is not well configured to allow samba's job.
 
Old 04-15-2004, 09:47 PM   #4
Debianfool
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
I had the same problem when i installed Samba. It took me two days to figure out that it was a netbios problem. I finally found my Mcafee firewall settings that was disabling netbios over tcpip. After that , Samba worked like a charm.
 
  


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
Home network problem tuananhbirm Linux - Networking 4 12-18-2004 08:01 PM
samba:home dir cache problem wiredX Linux - Networking 1 01-26-2004 10:02 AM
Cannot use my home-network. May be a driver problem... Guayacan Linux - Networking 0 12-28-2003 04:26 PM
2 PC Home samba network, One way transmits fine, the other way has problems.... gamebeavis Linux - Networking 2 09-14-2003 04:37 PM
Problem accessing home share with Samba bubber Linux - Software 5 03-09-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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