Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-16-2002, 02:15 PM
|
#1
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Rep:
|
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
|
|
|
12-16-2002, 03:13 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-16-2002, 07:15 PM
|
#3
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
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
|
|
|
12-16-2002, 07:19 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
12-16-2002, 08:48 PM
|
#5
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
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
|
|
|
12-16-2002, 09:40 PM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
12-17-2002, 08:35 AM
|
#7
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
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.
|
|
|
12-17-2002, 01:13 PM
|
#8
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
when ifconfig -a shows both interfaces do they both have ip addresses
|
|
|
12-17-2002, 01:17 PM
|
#9
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
what's hooked up where ( to what interface) and what are everyone ip address.
It sounds like a very basic network configuration problem
|
|
|
12-17-2002, 08:03 PM
|
#10
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|