LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2006, 02:43 PM   #1
TaaDow
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Rep: Reputation: 15
Fedora 4 + Can't connect to it at all (Apache + Samba)


I just installed Fedora 4 but I can't connect to it from any other boxes, or even to its webserver (Apache) from the web. I orginally was trying to connect from a WinXP Pro box to a network share through Samba, and even tho my Fedora box was showing up in Network Places or whatever it's called, I couldn't actually connect to it so I thought it was a Samba problem. Now tho when I try to connect to the Linux box's webserver it just times out. There is no firewall enabled on either through Windows or Linux but there is a firewall on my router. However I tried port-forwarding for port 80 to the Linux box and when that didn't work I even put it in a DMZ, still didn't work. I had this same box running properly using Fedora 3 (or 2 maybe, forget, it was a while ago) and Samba and Apache worked properly.
Oh yeah, I can also connect FROM the Linux box TO the Windows network shares fine, but not the other way around. And when I rick-click and go to properties of the Linux box in Network places it says the server does not accept incoming requests.
Pinging the machine from inside my network also times out....
Any ideas?
 
Old 01-04-2006, 03:53 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
what if you use it's ip? 192.168.0.1xx(or whatever it is) can you access the box that way? Also, you said there were no firewalls. Did you disable them? I think FC installs a firewall by default, i may be wrong there though
 
Old 01-04-2006, 04:01 PM   #3
TaaDow
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Yes I am using my internal IP address (192.168.0.103) to try to access the linux box. When i installed fedora it asked me whether i wanted to enable the firewall, i chose to disable it. Also in the security settings in fedora it says taht the firewall is disabled (and everything is grayed-out)
 
Old 01-04-2006, 04:05 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
It sounds like as far as file sharing you do not have samba set up correctly, I would go back and look at your settings.
When you start apache, you are unable to view the demo page from the MS box using the ip?
 
Old 01-04-2006, 06:01 PM   #5
TaaDow
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Apache is working properly, I can view files directly on my Linux box, using localhost, but I can't access the webserver (even when actually using the linux box) using its ip address. Like I said the Linux box is showing up in my network places in windows, but I just can't connect to it at all. It's not accepting any incoming connections. All the other times I've installed Linux it has worked properly right away with no screwing around with settings...

Last edited by TaaDow; 01-04-2006 at 06:10 PM.
 
Old 01-04-2006, 06:12 PM   #6
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
ok, so from any other computer, pinging times out, apache isn't serving pages, and the samba server does not accept incoming requests, it sounds like a firewall or ip tables are set up. Usually it's something pretty silly, but there is prob something there that you keep over looking. When you try to disable the firewall, are you doing this as admin? you said it was "greyed" out.
 
Old 01-04-2006, 06:14 PM   #7
TaaDow
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Original Poster
Rep: Reputation: 15
i'm doing it under system settings > security level (as root) and it says "security level: disable firewall" with all the other options grayed-out....if I turn the firewall on then i can select whether to allow http connections, ftp connections, ssh etc....
so as far as i know (unless there's another place, like you said iptables (tho i have no idea how to edit that) the firewall is turned off
 
Old 01-04-2006, 06:16 PM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
turn the firewall on and allow http. go to the windows box and see if you can access the apache page
 
Old 01-04-2006, 06:24 PM   #9
TaaDow
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Original Poster
Rep: Reputation: 15
yeah now that i turn the firewall ON everything works fine.
Weird?
Thanks for your help
Altho i would like to be able to turn the firewall off, just because I already have a hardware firewall on my router, and firewalls usually only lead to more hassles when I'm trying to use more things down the road...
 
  


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
Apache 2 problem , cant connect from other pc PEACEYALL Linux - Software 3 07-17-2005 07:05 AM
APACHE All connect? drache777 Linux - Networking 6 03-17-2005 12:58 PM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 06:32 PM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 02:55 PM
apache cant connect Druaga Linux - Networking 1 05-08-2002 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration