Sanity check ifconfig
-
Running pfSense 2.6 with realtek nic on WAN interface. Driver is realtek-re-kmod-196.04.txz. It is wonky and the only thing that helped was was to bounce the nic.
ifconfig WAN down;ifconfig WAN up
This was annoying but simple to do until a replacement nic gets installed. Working on a script to do this conditionally. Unexpectedly, the ifconfig syntax changed for unknown reason after working for 2 days. Reboot does not help. Was I dreaming?
Current syntax runs OK but does not help
ifconfig WAN down;ifconfig WAN up
ifconfig: interface WAN does not exist
ifconfig: interface WAN does not existifconfig re0 down;ifconfig re0 up
-
You should be using the real interface names at the CLI with ifconfig. So re0 probably.
Steve
-
It is wonky and the only thing that helped was
to bounce the nic.Perhaps a newer driver version will also help you out.
pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg
-
You only need to do 'pkg add' there. That already does the install.
-
@dobby_ said in Sanity check ifconfig:
pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg
Thank you for your help. Output of pkg add
Fetching realtek-re-kmod-197.00.pkg: 100% 100 KiB 102.1kB/s 00:01
Installing realtek-re-kmod-197.00...
the most recent version of realtek-re-kmod-196.04 is already installed -
@gjaltemba said in Sanity check ifconfig:
@dobby_ said in Sanity check ifconfig:
pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg
Thank you for your help. Output of pkg add
Fetching realtek-re-kmod-197.00.pkg: 100% 100 KiB 102.1kB/s 00:01
Installing realtek-re-kmod-197.00...
the most recent version of realtek-re-kmod-196.04 is already installedOh really odd, I was thinking it brings newer drivers
and perhaps it will then eliminate the entire problem
at all, really sad. So sorry I was thinking they will be
newer then the 1.96.xxx ones. -
You may have to add the force flag or remove the existing pkg first because it's pulling from an external repo.