| Author |
Message |
Dave Holloway *nix forums beginner
Joined: 28 Mar 2005
Posts: 4
|
Posted: Mon Mar 28, 2005 8:51 pm Post subject:
Can't ping Fedora Core 3 PC
|
|
|
Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a web
server. I've done a very basic install with no graphical tools. One thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any other
machines on my network. I'm assuming that this is becuase I selected the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a simple
tweak I can use to get my machine on the network without compromising the
SED features?
Would also appreciate a good guide to configuring the firewall in text only
mode if anyone has seen one around lateley.
Thanks! |
|
| Back to top |
|
 |
Nicholas Andrade *nix forums addict
Joined: 23 Feb 2005
Posts: 84
|
Posted: Mon Mar 28, 2005 11:50 pm Post subject:
Re: Can't ping Fedora Core 3 PC
|
|
|
Dave Holloway wrote:
| Quote: | Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a web
server. I've done a very basic install with no graphical tools. One thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any other
machines on my network. I'm assuming that this is becuase I selected the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a simple
tweak I can use to get my machine on the network without compromising the
SED features?
Would also appreciate a good guide to configuring the firewall in text only
mode if anyone has seen one around lateley.
Thanks!
When you log onto your router, can you see the PC listed? You may want |
to renew the IP for the FC3 box (there's multiple ways, just kill
dhclient and restart it). You can try entirely disabling the firewall
(/usr/sbin/lokkit), but I don't beleive the issue is with SE Linux. |
|
| Back to top |
|
 |
Dave Holloway *nix forums beginner
Joined: 28 Mar 2005
Posts: 4
|
Posted: Tue Mar 29, 2005 6:51 pm Post subject:
Re: Can't ping Fedora Core 3 PC
|
|
|
Nicholas,
Thanks for your quick reply.
I've disabled my firewall using lokkit (thanks for that) but I still can't
ping out or back in from the router.
The error from ping is from the PCs ip address so I'm assuming there's
something running on the PC that's stopping me.
Initially the PC was running windows and Fedora 2 with no problems so I'd
be doubtful if there were any hardware/cable problems.
I did install Mandrake 10.1 and had a similar problem. Something to do
with ignoring ICMP traffic by default. The fix was to "echo 0 >
/proc/sys/net/ipv4/icmp_echo_ignore_all" plus a further file tweak. None
of the file paths for this fix exist in Fedora though.
Thanks again for your help,
Dave.
On Tue, 29 Mar 2005 01:50:18 +0000, Nicholas Andrade
wrote:
| Quote: | Dave Holloway wrote:
Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a web
server. I've done a very basic install with no graphical tools. One thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any other
machines on my network. I'm assuming that this is becuase I selected the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a simple
tweak I can use to get my machine on the network without compromising the
SED features?
Would also appreciate a good guide to configuring the firewall in text only
mode if anyone has seen one around lateley.
Thanks!
When you log onto your router, can you see the PC listed? You may want
to renew the IP for the FC3 box (there's multiple ways, just kill
dhclient and restart it). You can try entirely disabling the firewall
(/usr/sbin/lokkit), but I don't beleive the issue is with SE Linux. |
|
|
| Back to top |
|
 |
Steve Friis *nix forums beginner
Joined: 21 Feb 2005
Posts: 9
|
Posted: Sat Apr 02, 2005 3:23 pm Post subject:
Re: Can't ping Fedora Core 3 PC
|
|
|
Dave Holloway wrote:
| Quote: | Nicholas,
Thanks for your quick reply.
I've disabled my firewall using lokkit (thanks for that) but I still can't
ping out or back in from the router.
The error from ping is from the PCs ip address so I'm assuming there's
something running on the PC that's stopping me.
Initially the PC was running windows and Fedora 2 with no problems so I'd
be doubtful if there were any hardware/cable problems.
I did install Mandrake 10.1 and had a similar problem. Something to do
with ignoring ICMP traffic by default. The fix was to "echo 0
/proc/sys/net/ipv4/icmp_echo_ignore_all" plus a further file tweak. None
of the file paths for this fix exist in Fedora though.
Thanks again for your help,
Dave.
On Tue, 29 Mar 2005 01:50:18 +0000, Nicholas Andrade
wrote:
Dave Holloway wrote:
Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a web
server. I've done a very basic install with no graphical tools. One thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any other
machines on my network. I'm assuming that this is becuase I selected the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a simple
tweak I can use to get my machine on the network without compromising the
SED features?
Would also appreciate a good guide to configuring the firewall in text only
mode if anyone has seen one around lateley.
Thanks!
When you log onto your router, can you see the PC listed? You may want
to renew the IP for the FC3 box (there's multiple ways, just kill
dhclient and restart it). You can try entirely disabling the firewall
(/usr/sbin/lokkit), but I don't beleive the issue is with SE Linux.
|
Just a hunch...
Go to "applications/system settings/security level". Is the box allowing
your network adaptor checked? |
|
| Back to top |
|
 |
Dave Holloway *nix forums beginner
Joined: 28 Mar 2005
Posts: 4
|
Posted: Sat Apr 02, 2005 6:53 pm Post subject:
Re: Can't ping Fedora Core 3 PC
|
|
|
Folks,
Took about 2 days but eventually I tracked the problem down to having the
ethernet cable connected to the wrong NIC. I have 2 in the machine, one
built in plus another I installed so I could play with routing.
The builtin one is usually eth0 but for some reson it's become eth1.
I'm now on the network and I can get my http pages over the internet.
Next problem is getting FTP and SSH access to work, the daemons are running
and the firewall is set to accept FTP and SSH but no joy. I'm 99.9% sure
that this is now something to do with the SE features.
Always glad to hear any advice you may have.
Cheers,
Dave.
"Steve Friis" <wm5z@comcast.net> wrote in message
news:424ED514.1070102@comcast.net...
| Quote: | Dave Holloway wrote:
Nicholas,
Thanks for your quick reply.
I've disabled my firewall using lokkit (thanks for that) but I still
can't
ping out or back in from the router.
The error from ping is from the PCs ip address so I'm assuming there's
something running on the PC that's stopping me.
Initially the PC was running windows and Fedora 2 with no problems so
I'd
be doubtful if there were any hardware/cable problems.
I did install Mandrake 10.1 and had a similar problem. Something to do
with ignoring ICMP traffic by default. The fix was to "echo 0
/proc/sys/net/ipv4/icmp_echo_ignore_all" plus a further file tweak. None
of the file paths for this fix exist in Fedora though.
Thanks again for your help,
Dave.
On Tue, 29 Mar 2005 01:50:18 +0000, Nicholas Andrade
wrote:
Dave Holloway wrote:
Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a
web
server. I've done a very basic install with no graphical tools. One
thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any
other
machines on my network. I'm assuming that this is becuase I selected
the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP
and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with
the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a
simple
tweak I can use to get my machine on the network without compromising
the
SED features?
Would also appreciate a good guide to configuring the firewall in text
only
mode if anyone has seen one around lateley.
Thanks!
When you log onto your router, can you see the PC listed? You may want
to renew the IP for the FC3 box (there's multiple ways, just kill
dhclient and restart it). You can try entirely disabling the firewall
(/usr/sbin/lokkit), but I don't beleive the issue is with SE Linux.
Just a hunch...
Go to "applications/system settings/security level". Is the box allowing
your network adaptor checked? |
|
|
| Back to top |
|
 |
Nicholas Andrade *nix forums addict
Joined: 23 Feb 2005
Posts: 84
|
Posted: Sun Apr 03, 2005 2:15 am Post subject:
Re: Can't ping Fedora Core 3 PC
|
|
|
Dave Holloway wrote:
| Quote: | Folks,
Took about 2 days but eventually I tracked the problem down to having the
ethernet cable connected to the wrong NIC. I have 2 in the machine, one
built in plus another I installed so I could play with routing.
The builtin one is usually eth0 but for some reson it's become eth1.
I'm now on the network and I can get my http pages over the internet.
Next problem is getting FTP and SSH access to work, the daemons are running
and the firewall is set to accept FTP and SSH but no joy. I'm 99.9% sure
that this is now something to do with the SE features.
Always glad to hear any advice you may have.
Cheers,
Dave.
"Steve Friis" <wm5z@comcast.net> wrote in message
news:424ED514.1070102@comcast.net...
Dave Holloway wrote:
Nicholas,
Thanks for your quick reply.
I've disabled my firewall using lokkit (thanks for that) but I still
can't
ping out or back in from the router.
The error from ping is from the PCs ip address so I'm assuming there's
something running on the PC that's stopping me.
Initially the PC was running windows and Fedora 2 with no problems so
I'd
be doubtful if there were any hardware/cable problems.
I did install Mandrake 10.1 and had a similar problem. Something to do
with ignoring ICMP traffic by default. The fix was to "echo 0
/proc/sys/net/ipv4/icmp_echo_ignore_all" plus a further file tweak. None
of the file paths for this fix exist in Fedora though.
Thanks again for your help,
Dave.
On Tue, 29 Mar 2005 01:50:18 +0000, Nicholas Andrade
wrote:
Dave Holloway wrote:
Hello All,
I've just installed fedora 3 on an old PC with a view to using it as a
web
server. I've done a very basic install with no graphical tools. One
thing I
did install was SE Linux.
I can log onto the console fine but I can't ping out to or from any
other
machines on my network. I'm assuming that this is becuase I selected
the SE
Linux or possibly the default firewall rule (I chose to allow FTP, HTTP
and
SSH during the install).
As far as I can see (via ifconfig) the interface is up and running with
the
correct ip details.
Should I have bothered with SE Linux for a webserver or is there a
simple
tweak I can use to get my machine on the network without compromising
the
SED features?
Would also appreciate a good guide to configuring the firewall in text
only
mode if anyone has seen one around lateley.
Thanks!
When you log onto your router, can you see the PC listed? You may want
to renew the IP for the FC3 box (there's multiple ways, just kill
dhclient and restart it). You can try entirely disabling the firewall
(/usr/sbin/lokkit), but I don't beleive the issue is with SE Linux.
Just a hunch...
Go to "applications/system settings/security level". Is the box allowing
your network adaptor checked?
There's a perl script called nnetstat |
(http://www.aneptun.de/linux/Nnetstat -- it's similar to TCPView for
Windows) which shows all the active connections. You may want to give
it a shot to see how far the connections are going. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|