Wireless driver/firmware problems



  • Hello,

    I've been messing about with the wireless features trying to get a DWA-127 usb adapter to work in pfSense 2.2-ALPHA (amd64) built on Wed Mar 26 16:34:16 CDT 2014. But I keep getting runfw/run0 errors.

    First off I have added the following to the /boot/loader.conf.local

    
    if_run_load="YES"
    runfw_load="YES"
    
    

    Here is what I've been testing using the shell (using the web interface results in the same errors)

    
    [2.2-ALPHA][root@pfsense22.tanetwork]/root(29): ifconfig wlan0 create wlandev run0 wlanmode hostap
    [2.2-ALPHA][root@pfsense22.tanetwork]/root(30): ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid testap mode 11g channel 1
    [2.2-ALPHA][root@pfsense22.tanetwork]/root(31): ifconfig wlan0 up
    
    

    And in the dmesg I get the following:

    
    run0: <1.0> on usbus1
    run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address bc:f6:85:66:9d:8d
    runfw: could not load firmware image, error 2
    run0: failed loadfirmware of file runfw
    run0: could not load 8051 microcode
    
    

    For comparison I ran the same on a FreeBSD 10 installation

    
    root@freebsd:~ # ifconfig wlan0 create wlandev run0 wlanmode hostap
    root@freebsd:~ # ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid testap mode 11g channel 1
    root@freebsd:~ # ifconfig wlan0 up
    
    

    And the dmesg results:

    
    run0: <1.0> on usbus1
    run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address bc:f6:85:66:9d:8d
    wlan0: Ethernet address: bc:f6:85:66:9d:8d
    wlan0: Ethernet address: bc:f6:85:66:9d:8d
    run0: firmware RT2870 ver. 0.236 loaded
    
    

    Is there anything I've missed on my pfSense installation, that's preventing the firmware from loading?
    Or is it simply missing from pfSense?



  • Hi,

    I need to make the same try.. But i add runfw.ko and runfw.ko.symbols from a fresh freebsd 10 install in /boot/kernel  and it s working well.

    I am in I386 : 2.2-ALPHA (i386)
    built on Tue Mar 25 14:30:43 CDT 2014
    FreeBSD marrakech.amassi-network.com 10.0-STABLE FreeBSD 10.0-STABLE #0 35d2d8e(HEAD)-dirty: Tue Mar 25 15:11:39 CDT 2014 root@builder-10-0-b3-i386:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.10 i386



  • @amassi:

    Hi,

    I need to make the same try.. But i add runfw.ko and runfw.ko.symbols from a fresh freebsd 10 install in /boot/kernel  and it s working well.

    I am in I386 : 2.2-ALPHA (i386)
    built on Tue Mar 25 14:30:43 CDT 2014
    FreeBSD marrakech.amassi-network.com 10.0-STABLE FreeBSD 10.0-STABLE #0 35d2d8e(HEAD)-dirty: Tue Mar 25 15:11:39 CDT 2014 root@builder-10-0-b3-i386:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.10 i386

    Thanks that worked!
    I copied the same files from my test FreeBSD and it worked fine on the amd64 build as well.


  • Rebel Alliance Developer Netgate

    Open a bug report on redmine.pfsense.org and mention that, it should be fairly easy to fix on our side, those modules may just not be getting built/included in the images.


Log in to reply