USB WIFI problems on reboot
-
Hi,
I've a USB WIFI adapter working fine as a WAP with Pfsense2. However, when ever I reboot the Pfsense box its entering into the network detection stage again prompting me to remove cables and auto detect etc etc. I enter the relevant details and its fine, until the next time I reboot and it then repeats the detection requirement.
I've tried enabling persist common settings, but the same keeps on occurring.
Any ideas please? I run the pfsense box headless so need this to stop.
Thank you.
-
I've a USB WIFI adapter working fine as a WAP with Pfsense2. However, when ever I reboot the Pfsense box its entering into the network detection stage again
It would be nice if pfSense reported what interfaces seem to be missing.
I had similar troubles with a USB ethernet interface and have since abandoned using it. My WiFi USB NICs don't seem to have this problem. I have rum and run devices. What do you have.
Perhaps if you inserted a delay in the startup it would help by giving the USB device more time to get through its startup. Add the following line to /boot/loader.conf.local (I presume the unit is milliseconds; tweak as you desire. I have no idea if 10000 is large enough.)
kern.cam.boot_delay=10000
-
Thanks for that - will try later and report back.
-
Any update on this? I would actually think that this would be hardware issue. Maybe there is some incompatibility happening with your current setup as I have no problems with it using a pci card directly plugged in to my computer's motherboard. I have also used an external pcmcia card to my laptop.
It is best if your report back so that we would be updated with your issue
-
Appologies for the delay I have been away.
Have tried setting kern.cam.boot_delay=10000 and also using the USB option of pfsense on bootup. Same thing occurs, it tries to redetect nics on reboot. It detects my WAN/LAN fine (once name entered) but fails to detect wifi properly - it knows there is an interface with an alias of WIFI, but when i enter the interface name it cannot detect it. If I try to use web configuration at this time to assign OPT1, run0 is not listed.
I then have to remove the usb stick, reattach, the console shows:
run0: firmware RT2870 loaded
and from the web config I can then assign OPT1 to run0 and configure. Once configured, it works fine until I reboot then have to repeat above….
Any ideas please?
-
Please post the output of the pfsense command # dmesg.
Have you added a line to /boot/loader.conf.local to have the run firmware loaded at boot time? This is what I use:
$ more /boot/loader.conf.local
runfw_load="YES"
$This gets the boot loader to load the firmware as a kernel module. If that doesn't happen, on startup the driver wants the firmware but the firmware can't be found because its not present in the kernel and the file system is not yet initialised. If you plug in the run device as the kernel has finished its startup the firmware can be found through the filesystem.
-
Please post the output of the pfsense command # dmesg.
Have you added a line to /boot/loader.conf.local to have the run firmware loaded at boot time? This is what I use:
$ more /boot/loader.conf.local
runfw_load="YES"
$This gets the boot loader to load the firmware as a kernel module. If that doesn't happen, on startup the driver wants the firmware but the firmware can't be found because its not present in the kernel and the file system is not yet initialised. If you plug in the run device as the kernel has finished its startup the firmware can be found through the filesystem.
Thank you very much, adding runfw_load="YES" and rebooted. Detected the usb wifi straight away. Many thanks.