{"id":515,"date":"2022-10-21T10:24:08","date_gmt":"2022-10-21T13:24:08","guid":{"rendered":"https:\/\/xaxowareti.com.br\/?p=515"},"modified":"2022-10-21T10:24:08","modified_gmt":"2022-10-21T13:24:08","slug":"pfsense-re0-watchdog-timeout-error","status":"publish","type":"post","link":"https:\/\/xaxowareti.com.br\/?p=515","title":{"rendered":"PfSense \u2013 Re0 Watchdog Timeout Error"},"content":{"rendered":"\n<p>A few weeks ago my Internet started to have problems. The connection was dropping every 2-3 days and it couldn\u2019t recover itself . The simpler solution found was to reset the&nbsp;<a href=\"https:\/\/www.it-react.com\/index.php\/2020\/06\/03\/convert-an-old-laptop-single-nic-into-an-opnsense-firewall-router\/\">pfSense Firewall.<\/a><br><br>At the beginning I thought that is only an isolated case but the problem seemed to become something permanent. So I decided to spend some time to check and try to fix this issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step One \u2013 Check Error<\/strong><\/h2>\n\n\n\n<p>So in order to check the issue, we have to ssh to the pfSense and then start shell with option 8. My network interface is called re0. You will get this information once connected to ssh.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-011-1024x469.png\" alt=\"\" class=\"wp-image-2169\"\/><\/figure>\n\n\n\n<p>After that, run the command bellow to check the issue:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dmesg | grep re0 | more<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-002-1024x393.png\" alt=\"\" class=\"wp-image-2170\"\/><\/figure>\n\n\n\n<p>As you can see, we found the error is \u2013&nbsp;<strong>re0: watchdog timeout<\/strong>&nbsp;and we also noticed that the interface is going up and down. If you ping the IP address of the interface 192.168.1.1, you will get a response, but if you ping another host on this network, you will get a request timed out.<\/p>\n\n\n\n<p>As I mentioned, the simpler, but temporary solution is to reboot pfSense. After reboot, everything is back to normal. I found that I can reproduce the error if I\u2019m running a speed test. Download test is working fine, but at the upload test you will get this error and the pfsense stops working again.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-001.png\" alt=\"\" class=\"wp-image-2172\"\/><\/figure>\n\n\n\n<p>For the permanent solution we need some more patience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step Two \u2013 Check NIC (Network Interface Card) And Find A Driver<\/strong><\/h2>\n\n\n\n<p>The next step would be to check the NIC and see what chipset it has. If we issue this command, we\u2019ll get what we need:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pciconf -lv<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-003-1024x393.png\" alt=\"\" class=\"wp-image-2173\"\/><\/figure>\n\n\n\n<p>So it seems we are having a&nbsp;<strong>RTL8111\/8168\/8411 PCI Express Gigabit Ethernet Controller<\/strong>.<br>On the Netgate forum I found a&nbsp;<a href=\"https:\/\/forum.netgate.com\/topic\/135850\/official-realtek-driver-binary-1-95-for-2-4-4-release\">post<\/a>&nbsp;with info about the Realtek driver. You can download the new driver from here using this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl https:\/\/forum.netgate.com\/assets\/uploads\/files\/1537813753467-if_re.zip -o if_re.zip<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-004-1024x225.png\" alt=\"\" class=\"wp-image-2174\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step Three \u2013 Install Driver<\/strong><\/h2>\n\n\n\n<p>After downloading the driver, unzip the archive, change the permissions and copy it to \/boot\/kernel.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-005-1024x132.png\" alt=\"\" class=\"wp-image-2175\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-010-1024x319.png\" alt=\"\" class=\"wp-image-2180\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-008-1024x281.png\" alt=\"\" class=\"wp-image-2179\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step Four \u2013 Update \/Boot\/Loader.Conf<\/strong><\/h2>\n\n\n\n<p>In this step, we have to add the line&nbsp;<strong>if_re_load=\u201dYES\u201d<\/strong>&nbsp;in \/boot\/loader.conf file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-007-1024x300.png\" alt=\"\" class=\"wp-image-2181\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step Five \u2013 Reboot PfSense<\/strong><\/h2>\n\n\n\n<p>We\u2019ve finished doing all the configurations, now we can reboot the firewall.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step Six \u2013 Check If Fix Applied Works<\/strong><\/h2>\n\n\n\n<p>After reboot, I\u2019m checking if Realtek driver was properly loading. This looks good.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2021\/03\/Image-009-1024x151.png\" alt=\"\" class=\"wp-image-2178\"\/><\/figure>\n\n\n\n<p>Now run a new speed test on the web interface and check if the issue is gone. The test went successfully, the interface re0 is still up. Good job!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>I started to have this issue only after my Internet provider changed the cable modem. My Internet speed should have a speed up to 200 Mbps, but before changing the modem I was only reaching 70-80Mbps.<br>Now, after changing the modem I finally could reach 210-220Mbps. This was the point when pfSense started to have problems.<br><br>So if your Internet is running with speeds over 200Mbps, it\u2019s possible to notice that problem. The solution applied seems to work very good for me, I didn\u2019t have any more issues in the last 5 days.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago my Internet started to have problems. The connection was dropping every 2-3 days and it couldn\u2019t recover itself . The simpler solution found was to reset the&nbsp;pfSense Firewall. At the beginning I thought that is only an isolated case but the problem seemed to become something permanent. So I decided to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-515","post","type-post","status-publish","format-standard","hentry","category-sem-categoria"],"_links":{"self":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=515"}],"version-history":[{"count":0,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions"}],"wp:attachment":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}