LinuxQuestions.org
Help answer threads with 0 replies.
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 12-16-2002, 02:15 PM   #1
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Rep: Reputation: 15
RH8 Samba and Firewall Trouble


I have a couple of machines that are running samba one is 2.2.7, the other 2.2.7a. I can ping both machines by IP and by netbios name but only one shows up in Win2K Network Neighborhood and it is "inaccessible." Both linux boxes belong to "WORKGROUP" and samba access is set to SHARE. I cannot connect to either linux machine by IP name.

I have found that RH System Settings > Security Level claims make the changes I give up (including no firewall) but it always reverts back to its original settings. I tried installing Firestarter on one of the linux machines but that doesn't help

Questions:

What do I need to do to get rid of the RH firewall (I am behind a DSL modem/router/hubs so probably don't need any sofware firewall)?

Where can I look or what can I monitor to see what is blocking access to my samba shares?

This is a long story but my immediate need is to transfer about 7 GB of stuff from a linux box to a Win2K box. I can do this with a smbmount and push it from linux to Win2K but everything ends up marked as "read only" in Win2K. Is there an easy way to change permissions on about 8,000 files and directories?

Ralph
 
Old 12-16-2002, 03:13 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Code:
chkconfig --level 123456 iptables off
/etc/rc.d/init.d/iptables stop
make sure you don't have anything that runs a firewall script in /etc/rc.d/rc.local
 
Old 12-16-2002, 07:15 PM   #3
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
Thanks for the input. Unfortunately, running those commands does not seem to change things. In the meantime, I found out how to make chmod recursive so I can fix the permissions problems and am about to starting pushing the data to the Win2K box.

I'll be back here and also be posting over in the network forum to try to get this and some related problems fixed.

Ralph
 
Old 12-16-2002, 07:19 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Running those commands changed things dramatically, unless you had no firewall to start with

Last edited by DavidPhillips; 12-16-2002 at 07:20 PM.
 
Old 12-16-2002, 08:48 PM   #5
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
I do not think that Firestarter disabled the RedHat firewall and I had done nothing myself other that installer Firestarter which was not running when I executed the commands.

Running those commands did change the fact that I cannot connect to the machine via samba. In fact, I cannot no longer ping it by name and cannot connect to it using its IP address(es), although I doubt that has to do with running the two commands.

BTW. what the commands do? Looks like the second one stopped the iptables service. What about the first one? These are newbie questions, not challenges.

Ralph
 
Old 12-16-2002, 09:40 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
they turned off the firewall



Quote:
Questions:

What do I need to do to get rid of the RH firewall (I am behind a DSL modem/router/hubs so probably don't need any sofware firewall)?


if you can't ping you probably have networking turned off


see what this says

ifconfig -a


Last edited by DavidPhillips; 12-16-2002 at 09:42 PM.
 
Old 12-17-2002, 08:35 AM   #7
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
ifconfig -a shows both eth0 and eth1 are up. Looks like that 7 GB of files I transfered all went on eth0.

I can ping by IP but not by name. The Win2K network neighborhood can't find the linux machines by either name or IP(s). The Macs cannot see either NIC on one linux machine (the one I just ifconfig'd) and sees only one of two NIC on another linux machine and the Win2K machine.
 
Old 12-17-2002, 01:13 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
when ifconfig -a shows both interfaces do they both have ip addresses
 
Old 12-17-2002, 01:17 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what's hooked up where ( to what interface) and what are everyone ip address.

It sounds like a very basic network configuration problem
 
Old 12-17-2002, 08:03 PM   #10
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
I will post the lease table from the Cayman router (I think that is what you are asking for) when things have stabilized. I will also describe how things are connected to hubs and switches.

Things are very chaotic at the moment. I have recovered from HD problems on a machine that normally runs Win2K but my PowerMac died this morning and my other Win2K machine is currently unbootable (did to it what fixed the other Win2K machine).

Last edited by RWild; 12-17-2002 at 08:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
BEST APF firewall setting for RH8 srboot Linux - Security 3 02-29-2004 01:37 AM
RH8, 2 NICS for firewall setup? king8 Linux - Networking 3 11-20-2003 01:39 PM
Help with RH8.0 Firewall DakotaMan2002 Linux - Networking 7 07-03-2003 10:30 AM
RH8 Setting up firewall - how to start? melmore Linux - Networking 2 12-21-2002 05:18 PM
RH8 firewall zeky Linux - Security 4 12-11-2002 06:33 AM

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

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