1
15.1 Legacy Series / ADSL disconnection- How to reconnect automatically
« on: June 13, 2015, 05:46:49 am »
Hi All,
Great to see a fork of pfSense! Keep up the good work guys!!!
I am a windows user, so FreeBSD is something I am not familiar with.
I did manage to run pfSense on my PC as a firewall on my local network
for some time now, but 1 problem is always at the back of my mind, bugging
me to solve it.
I was wondering if any users are still using the old ADSL broadband connection.
I don't know if it is a good or bad line service in your respective country over in Europe.
But coming from a tropical country like mine, heavy raining can play havoc to our ADSL line quality.
That is to say, on a sunny day, the ADSL line will be stable and fine, DDNS service is working fine.
DNS service is also working fine.
However when the weather turns bad, and starts raining heavily, my ADSL line
will start to playing up!!!
Meaning I will get line disconnection.... OR.... if it connection is established, a public IP
address is obtained and DNS servers are known, but somehow connection to my local ISP DNS
server is broken.
Having public DNS server, like Google's DNS server = 8.8.8.8 or 8.8.4.4
as the main DNS connection on my firewall does not help my problem at all.
Finally, I need to reboot the firewall PC and have everything working again.
This is quite frustrating if the firewall need to be rebooted on a remote site
on the weekends!
So in order to solve this problem, I googled a bit and found someone has a fix to this
problem of mine, just by using CRON job and some programming script( I think that is what it is called)
Here is the link: http://blog.martinshouse.com/2014/06/pfsense-auto-reboot-if-internet.html
Although this may solve the problem, it does give me another problem!!!
What happen if the site's ADSL connection is completely down, after implementing this solution,
the firewall PC keeps on rebooting after a few minutes!!!
It rebooted some many times, that pfSense running on the hard disk got corrupted.
See the picture attached below.
Therefore, I would like to ask the forum, is there a way to "disconnect and reconnect "automatically
in OPNsense, when it detects the link to the DNS server is broken (no ping response), without having to
reboot the system repeatedly if the ADSL link is down completely?
Thank you.
Great to see a fork of pfSense! Keep up the good work guys!!!
I am a windows user, so FreeBSD is something I am not familiar with.
I did manage to run pfSense on my PC as a firewall on my local network
for some time now, but 1 problem is always at the back of my mind, bugging
me to solve it.
I was wondering if any users are still using the old ADSL broadband connection.
I don't know if it is a good or bad line service in your respective country over in Europe.
But coming from a tropical country like mine, heavy raining can play havoc to our ADSL line quality.
That is to say, on a sunny day, the ADSL line will be stable and fine, DDNS service is working fine.
DNS service is also working fine.
However when the weather turns bad, and starts raining heavily, my ADSL line
will start to playing up!!!
Meaning I will get line disconnection.... OR.... if it connection is established, a public IP
address is obtained and DNS servers are known, but somehow connection to my local ISP DNS
server is broken.
Having public DNS server, like Google's DNS server = 8.8.8.8 or 8.8.4.4
as the main DNS connection on my firewall does not help my problem at all.
Finally, I need to reboot the firewall PC and have everything working again.
This is quite frustrating if the firewall need to be rebooted on a remote site
on the weekends!
So in order to solve this problem, I googled a bit and found someone has a fix to this
problem of mine, just by using CRON job and some programming script( I think that is what it is called)
Here is the link: http://blog.martinshouse.com/2014/06/pfsense-auto-reboot-if-internet.html
Although this may solve the problem, it does give me another problem!!!
What happen if the site's ADSL connection is completely down, after implementing this solution,
the firewall PC keeps on rebooting after a few minutes!!!
It rebooted some many times, that pfSense running on the hard disk got corrupted.
See the picture attached below.
Therefore, I would like to ask the forum, is there a way to "disconnect and reconnect "automatically
in OPNsense, when it detects the link to the DNS server is broken (no ping response), without having to
reboot the system repeatedly if the ADSL link is down completely?
Thank you.