LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-23-2005, 05:01 PM   #16
trevor4706
Member
 
Registered: Oct 2005
Location: Ottawa, Canada
Distribution: Fedora FC 5& 6
Posts: 34

Original Poster
Rep: Reputation: 16
Cool


Thanks to all your help and some research on my part I'm in business. I made some amendments to my smb.conf file and added a couple of lines to my iptables firewall and now I can see and access my XP computers from the Linux computer and vice versa. Everything shows up nicely on on smb4k. Í'm still working on being able to print from the Linux computer to the printer attached to one of my XP computers, but I'm confident it's only a matter of time.

For anyone else who's having problems with their firewall, here's what I wrote:

iptables --policy INPUT DROP
iptables --policy OUTPUT DROP
iptables --policy FORWARD DROP

iptables -A OUTPUT -j ACCEPT -o lo
iptables -A INPUT -j ACCEPT -i lo

iptables -A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

iptables -A INPUT -j ACCEPT -p all -s 192.168.0.100/20 -i eth0
iptables -A OUTPUT -j ACCEPT -p all -d 192.168.0.100/20 -o eth0

It was the last two lines that made the other cpomputers on my network available.

Thanks again

Trevor4706
 
Old 10-25-2005, 06:44 PM   #17
trevor4706
Member
 
Registered: Oct 2005
Location: Ottawa, Canada
Distribution: Fedora FC 5& 6
Posts: 34

Original Poster
Rep: Reputation: 16
Cool

Due largely to all the help and suggestions I've received in this forum my Linux computer is now a fully functioning member of my home office LAN, sharing an internet connection, printer and files. Many thanks to all who have contributed.

I have one remaining issue bugging me. I cannot run SWAT. Every time I enter http://localhost:901 into my browser I get the message "Connection refused when attempting to contact localhost:901".

I have the sneaking feeling I'm missing something very fundamental here. Can anyone point me in the right direction.

Trevor4706
 
Old 10-25-2005, 07:53 PM   #18
solveit
Member
 
Registered: Jan 2005
Posts: 83

Rep: Reputation: 15
I think you may need to edit the file :

/etc/xinetd.d/swat

and change "disable = yes" to "disable = no".

Then make sure you restart xinetd with something like :

/etc/init.d/xinetd restart

or by rebooting your machine.
 
Old 10-25-2005, 09:50 PM   #19
trevor4706
Member
 
Registered: Oct 2005
Location: Ottawa, Canada
Distribution: Fedora FC 5& 6
Posts: 34

Original Poster
Rep: Reputation: 16
Solveit

Thanks for the suggestion; however, I already did that based on some information I found on-line.
 
  


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
Connecting Linux computer to a Windows XP network trevor4706 Linux - Newbie 4 10-13-2005 08:25 PM
Connecting linux machine to windows network corbis_demon Linux - Networking 3 11-08-2004 02:47 AM
Connecting to windows network migggens Linux - Wireless Networking 1 04-13-2004 07:56 PM
connecting to windows computer master Linux - Newbie 4 03-21-2004 01:14 PM
connecting to a windows network emperorjordan Mandriva 2 02-25-2004 09:07 PM

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

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