Originally Posted by falko
Looks ok. I saw some output of SELinux. Is SELinux disabled?
Hmm it should be disabled, but I do also see
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
I guess that this is saying that SELinux is running. I have NO CLUE how it got installed!
The install I did was the "perfect_setup_fedora_core_4", and I'm 100% sure that I disabled the SELinux option!
Is there an easy way to 'kill' it again?
Anyway... I've now made a small bash script that I run every hr to ping the gateway.. If no ping.. restart the network :/
pingAddress="10.0.0.138" # IP of gateway
emailAddress="root@host" # address to send restart message
timeNow=$(date) # set the date and time
if [ -n "$(ping -c 1 $pingAddress|grep 100%)" ]
# no ping reply.. Lets email root and restart the network :-(
mail -s "No ping. Server network restart" $emailAddress <<-END
This is to inform you that the server network was restarted at $timeNow