Forked from jovimon/gist:524e116471f249626fd2ccd141f3fe05
Created
December 21, 2020 16:43
-
-
Save dev-id/085dd2aae4913e552859fd2111b30bcc to your computer and use it in GitHub Desktop.
Revisions
-
jovimon revised this gist
Jan 3, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz ``` 1. Download latest [Realtek network driver](https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software) (you need to input an email address). 1. Uncompress driver: ``` @@ -26,7 +26,7 @@ 1. Copy the file _if_re.ko_ to the _/boot/kernel_ folder in pfSense device. `scp if_re.ko root@<pfSense device IP>:/boot/kernel` 1. Change file permissions in _if_re.ko_ file accessing through SSH to pfSense. -
jovimon revised this gist
Apr 16, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ From: `#include <dev/re/if_rereg.h>` To: `#include "if_rereg.h"` 1. Copy the file _if_re.ko_ to the _/boot/kernel_ folder in pfSense device. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ 1. Download [FreeBSD 11.1 VMDK]( https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz) and create a VM with it as HDD. 1. Get FreeBSD source tree for your exact FreeBSD version and uncompress it to _/usr/src_: ``` fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,7 +38,7 @@ 1. Reboot pfSense. 1. After restart, verify if module is installed through ssh with _kldstat_. Example execution: ``` [2.4.2-RELEASE][[email protected]]/root: kldstat Id Refs Address Size Name -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ 1. Download [FreeBSD 11.1 VMDK]( https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz) and create a VM with it as HDD. 1. Get FreeBSD source tree and uncompress it to _/usr/src_: ``` fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz @@ -18,23 +18,23 @@ cd rtl_bsd_drv_v194.01 make ``` 1. If the last command fails, change the following line in file _if_re.c_ From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 1. Copy the file _if_re.ko_ to the _/boot/kernel_ folder in pfSense device. `scp if_re.ko root@<pfSense device IP>` 1. Change file permissions in _if_re.ko_ file accessing through SSH to pfSense. `chmod 555 /boot/kernel/if_re.ko` 1. Modify _/boot/loader.conf.local_ file and add the following line at the end of the file: `if_re_load="YES"` - Through console: `vi /boot/loader.conf.local` - Through web: _Diagnostics > Edit File_ and click _Load_. When finished editing click _Save_. 1. Reboot pfSense. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,8 +33,8 @@ `chmod 555 /boot/kernel/if_re.ko` 1. Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` - Through console: `vi /boot/loader.conf.local` - Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 1. Reboot pfSense. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,9 @@ make ``` 1. If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 1. Copy the file if_re.ko to the /boot/kernel folder in pfSense device. @@ -31,8 +33,8 @@ `chmod 555 /boot/kernel/if_re.ko` 1. Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` ** Through console: `vi /boot/loader.conf.local` ** Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 1. Reboot pfSense. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,10 +19,8 @@ make ``` 1. If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 1. Copy the file if_re.ko to the /boot/kernel folder in pfSense device. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,4 @@ ### How to compile and install latest realtek network driver in pfSense 2.4.x (FreeBSD 11.1) 1. Download [FreeBSD 11.1 VMDK]( https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz) and create a VM with it as HDD. @@ -41,10 +39,14 @@ Based on: 1. Reboot pfSense. 1. After restart, verify if module is installed through ssh. Example execution: ``` [2.4.2-RELEASE][[email protected]]/root: kldstat Id Refs Address Size Name 1 7 0xffffffff80200000 2c3ea98 kernel 2 1 0xffffffff82e3f000 80900 if_re.ko 3 1 0xffffffff83021000 46c6 cryptodev.ko ``` Based on: - https://forum.pfsense.org/index.php?PHPSESSID=c93krctgp8ueben00q7udbhqs6&topic=103841.105 - https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 8 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,28 +2,24 @@ Based on: * https://forum.pfsense.org/index.php?PHPSESSID=c93krctgp8ueben00q7udbhqs6&topic=103841.105 * https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ 1. Download [FreeBSD 11.1 VMDK]( https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz) and create a VM with it as HDD. 1. Get FreeBSD source tree and uncompress it to /usr/src: ``` fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz ``` 1. Download latest [Realtek network driver](http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false). 1. Uncompress driver: ``` tar xvzf 0007-rtl_bsd_drv_v194.01.tgz ``` 1. Make driver: ``` cd rtl_bsd_drv_v194.01 make ``` 1. If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 13 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,49 +2,49 @@ Based on: * https://forum.pfsense.org/index.php?PHPSESSID=c93krctgp8ueben00q7udbhqs6&topic=103841.105 * https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ 1. Download FreeBSD 11.1 VMDK and create a VM with it as HDD: https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz 1. Get FreeBSD source tree and uncompress it to /usr/src: ``` fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz ``` 1. Download Realtek latest driver: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false 1. Uncompress driver: ``` tar xvzf 0007-rtl_bsd_drv_v194.01.tgz ``` 1. Make driver: ``` cd rtl_bsd_drv_v194.01 make ``` 1. If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 1. Copy the file if_re.ko to the /boot/kernel folder in pfSense device. `scp if_re.ko root@<pfSense device IP>` 1. Change file permissions in if_re.ko file accessing through SSH to pfSense. `chmod 555 /boot/kernel/if_re.ko` 1. Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` - Through console: `vi /boot/loader.conf.local` - Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 1. Reboot pfSense. 1. After restart, verify if module is installed through ssh. Example execution: ``` [2.4.2-RELEASE][[email protected]]/root: kldstat Id Refs Address Size Name -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 3 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,13 +38,9 @@ Based on: `chmod 555 /boot/kernel/if_re.ko` 8.- Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` * Through console: `vi /boot/loader.conf.local` * Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 9.- Reboot pfSense. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,10 +40,11 @@ Based on: 8.- Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` * Through console: `vi /boot/loader.conf.local` * Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 9.- Reboot pfSense. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,17 +25,23 @@ Based on: make ``` 5b.- If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 6.- Copy the file if_re.ko to the /boot/kernel folder in pfSense device. `scp if_re.ko root@<pfSense device IP>` 7.- Change file permissions in if_re.ko file accessing through SSH to pfSense. `chmod 555 /boot/kernel/if_re.ko` 8.- Modify /boot/loader.conf.local file and add the following line at the end of the file: `if_re_load="YES"` * Through console: `vi /boot/loader.conf.local` * Through web: Diagnostics > Edit File and click Load. When finished editing click Save. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 17 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,42 +3,49 @@ Based on: * https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ 1.- Download FreeBSD 11.1 VMDK and create a VM with it as HDD: https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz 2.- Get FreeBSD source tree and uncompress it to /usr/src: ``` fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz ``` 3.- Download Realtek latest driver: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false 4.- Uncompress driver: ``` tar xvzf 0007-rtl_bsd_drv_v194.01.tgz ``` 5.- Make driver: ``` cd rtl_bsd_drv_v194.01 make ``` 5b.- If the last command fails, change the following line in file if_re.c From: `#include <dev/re/if_rereg.h>` To: `#include if_rereg.h"` 6.- Copy the file if_re.ko to the /boot/kernel folder in pfSense device. `scp if_re.ko root@<pfSense device IP>` 7.- Change file permissions in if_re.ko file accessing through SSH to pfSense. `chmod 555 /boot/kernel/if_re.ko` 8.- Modify /boot/loader.conf.local file and add the following line at the end of the file: if_re_load="YES" * Through console: `vi /boot/loader.conf.local` * Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 9.- Reboot pfSense. 10.- After restart, verify if module is installed through ssh. Example execution: ``` [2.4.2-RELEASE][[email protected]]/root: kldstat Id Refs Address Size Name 1 7 0xffffffff80200000 2c3ea98 kernel 2 1 0xffffffff82e3f000 80900 if_re.ko 3 1 0xffffffff83021000 46c6 cryptodev.ko ``` -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Based on: * https://forum.pfsense.org/index.php?PHPSESSID=c93krctgp8ueben00q7udbhqs6&topic=103841.105 * https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ 1.- Download FreeBSD 11.1 VMDK and create a VM with it as HDD: https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz -
jovimon renamed this gist
Jan 3, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jovimon revised this gist
Jan 3, 2018 . 1 changed file with 16 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,10 +23,22 @@ From: #include <dev/re/if_rereg.h> To: #include if_rereg.h" 6.- Copy the file if_re.ko to the /boot/kernel folder in pfSense device. scp if_re.ko root@<pfSense device IP> 7.- Change file permissions in if_re.ko file accessing through SSH to pfSense. chmod 555 /boot/kernel/if_re.ko 8.- Modify /boot/loader.conf.local file and add the following line at the end of the file: if_re_load="YES" * Through console: vi /boot/loader.conf.local * Through web: Diagnostics > Edit File and click Load. When finished editing click Save. 9.- Reboot pfSense. 10.- After restart, verify if module is installed through ssh. Example execution: [2.4.2-RELEASE][[email protected]]/root: kldstat Id Refs Address Size Name 1 7 0xffffffff80200000 2c3ea98 kernel 2 1 0xffffffff82e3f000 80900 if_re.ko 3 1 0xffffffff83021000 46c6 cryptodev.ko -
jovimon created this gist
Jan 2, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # Based on: # * https://forum.pfsense.org/index.php?PHPSESSID=c93krctgp8ueben00q7udbhqs6&topic=103841.105 # * https://www.reddit.com/r/PFSENSE/comments/7n300s/solved_slow_internet_throughput_on_rogers_1gbs/ 1.- Download FreeBSD 11.1 VMDK and create a VM with it as HDD: https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/FreeBSD-11.1-RELEASE-amd64.vmdk.xz 2.- Get FreeBSD source tree and uncompress it to /usr/src: fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz 3.- Download Realtek latest driver: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false 4.- Uncompress driver: tar xvzf 0007-rtl_bsd_drv_v194.01.tgz 5.- Make driver: cd rtl_bsd_drv_v194.01 make 5b.- If the last command fails, change the following line in file if_re.c From: #include <dev/re/if_rereg.h> To: #include if_rereg.h" 6.- Copy the file if_re.ko to the pfSense device. 7.- 8.- 9.-