Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hello,
I've been trying to setup samba between my mandrake 9.1 laptop and my windows 98 box without success. I've started trouble shooting and the first thing i have to do is be able to ping between the two thru my linksys wireless router. i can ping the windows machine thru the router from the linux laptop no problem. my problem is i cant ping the linux laptop from windows. i can ping the router no problem from the windows box. I thought maybe shorewall was the culprit because i havent adjusted any rules for pinging. But even shutting down the shorewall service hasnt helped. I would appreciate any suggestions to get my two machines talking. I assume because i can ping one way that i dont have a hardware issue but something to do with a setting or setting up linux box to reply to icmp requests.
My guess is that your iptables rules are not getting flushed on shutdown of shorewall. I have never used shorewall so I may be way off base here.
Do a "man iptables" -- there is a way to flush the tables, you can do this from the command line after shutting down shorewall.
One other thought-- there is a kernel argument to not accept them too-- you may want to try booting without shorewall startup. That way it will not pass arguments to the kernel on bootup.
I'm on a windows box at work right now-- sorry I cant give you the exact kernel arguments/iptables commands. Maybe someone else can help.
yeah i did try a iptables -F at prompt to flush the tables but that didnt help. if i dont start shorewall @ boot does that prevent iptables from starting also? And what do u mean use nmap instead of ping?
If those both work , then you know that everyone can talk to the router. Which is good.
If that doesn't work, then you know where to look.
Let's assume it does work, then I would run etherreal on the linux box and try to ping to the linux box from windows. What you would be looking for is an ARP REQ from your windows looking for the Linux box.
And then an ICMP Ping REQ. If you don't see that, then you know the problem is with the Windows box sending the packet out. Probably a firewall turned on on the Windows??
If you see the packet getting to your Linux box, then I would check to make sure your linux box is sending it back out.
If not,then you know where to look. I think what you need to do is figure out where to look before you start guessing.
ok thanx. as i stated below i can ping the linksys router from both machines so we know we're good to there from win98 box. when i get home tonight i'm going to run >tail -f /var/log/messages and see if shorewall is blocking that icmp request and then update shorewall rules to let in icmp requests and see if that does it. I would think that shutting shorewall down which i did last night would accomplish same thing but who knows. certainly not relative newbie me. if that doesnt do it i will install etherreal @ home. I just started fooling around with it @ computer I have @ work so i'm not familiar with it. i'll let u know how i made out tomorrow. thanx 4 the input....
yeah that did it. by putting in accepting icmp request in Shorewall i can now ping linux box from my win98 box. but i still cant see either box using shares. do u have any ideas on how to setup Shorewall to pass smb requests. Incidently i had ethereal running and i see browser requests announcing the windows 98 share on the wire.
Sorry Alan. I'm a networking kinda guy. I don't know much about Samba or Windows. The only thing I would do is to verify that Samba is really running on your Linux box and that it has a share setup. I've setup Samba once, but that was along time ago.
Open up 137,138,139 & 445 udp and tcp (some of those ports MAY not be needed, but if you dont have any service behind them then there really isnt any harm)
You have samba up and running on your linux box? (I know its a stupid question)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.