Raspberry Pi 3 - Wifi support

    • OMV 3.x
    • Raspberry Pi 3 - Wifi support

      hi guys,

      i want to configure my pi3 with the intigrated wifi-module. on the console i can see the wlan0 interface with ifconfig.

      but i get this error in the omv-gui:

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; ethtool 'wlan0' 2>&1' with exit code '75': Settings for wlan0:No data available

      Fehler #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; ethtool 'wlan0' 2>&1' with exit code '75': Settings for wlan0:No data available' in /usr/share/php/openmediavault/system/process.inc:174Stack trace:#0 /usr/share/php/openmediavault/system/net/networkinterface.inc(90): OMV\System\Process->execute(Array)#1 /usr/share/php/openmediavault/system/net/networkinterface.inc(252): OMV\System\Net\NetworkInterface->getData('ethtool')#2 /usr/share/openmediavault/engined/rpc/network.inc(97): OMV\System\Net\NetworkInterface->getState()#3 /usr/share/openmediavault/engined/rpc/network.inc(853): OMVRpcServiceNetwork->getIfaceInfo('wlan0')#4 [internal function]: OMVRpcServiceNetwork->getWirelessCandidates(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getWirelessCand...', Array, Array)#7 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Network', 'getWirelessCand...', Array, Array, 1)#8 {main}


      do you have an idea?


      best regards
      trayntab
    • What is the output of

      Shell-Script

      1. # ip addr show
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether b8:27:eb:be:48:c7 brd ff:ff:ff:ff:ff:ff
      inet 192.168.215.37/24 brd 192.168.215.255 scope global eth0
      valid_lft forever preferred_lft forever
      3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
      link/ether b8:27:eb:eb:1d:92 brd ff:ff:ff:ff:ff:ff
    • What happens if you execute the following commands:

      Shell-Script

      1. # ifconfig wlan0 up
      2. # ethtool wlan0
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • I assume it is a driver issue.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • I don't know it. :(
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Wireless firmware is there. ethtool doesn't work with the RPi3's wireless and returns:

      Source Code

      1. root@raspberrypi:~# ethtool wlan0
      2. Settings for wlan0:
      3. No data available

      But, I know it is working because I installed the iw package (apt-get install iw) and got the following output:


      Source Code

      1. root@raspberrypi:~# iw dev wlan0 scan
      2. BSS 10:fe:ed:c9:c3:ea(on wlan0)
      3. TSF: 0 usec (0d, 00:00:00)
      4. freq: 2412
      5. beacon interval: 100 TUs
      6. capability: ESS ShortSlotTime (0x0401)
      7. signal: -48.00 dBm
      8. last seen: 0 ms ago
      9. SSID: dd-wrt
      10. Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
      11. DS Parameter set: channel 1
      12. ERP: Barker_Preamble_Mode
      13. Extended supported rates: 24.0 36.0 48.0 54.0
      14. HT capabilities:
      15. Capabilities: 0x11ed
      16. RX LDPC
      17. HT20
      18. SM Power Save disabled
      19. RX HT20 SGI
      20. RX HT40 SGI
      21. TX STBC
      22. RX STBC 1-stream
      23. Max AMSDU length: 3839 bytes
      24. DSSS/CCK HT40
      25. Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      26. Minimum RX AMPDU time spacing: 8 usec (0x06)
      27. HT TX/RX MCS rate indexes supported: 0-15
      28. HT operation:
      29. * primary channel: 1
      30. * secondary channel offset: no secondary
      31. * STA channel width: 20 MHz
      32. * RIFS: 0
      33. * HT protection: no
      34. * non-GF present: 0
      35. * OBSS non-GF present: 0
      36. * dual beacon: 0
      37. * dual CTS protection: 0
      38. * STBC beacon: 0
      39. * L-SIG TXOP Prot: 0
      40. * PCO active: 0
      41. * PCO phase: 0
      42. Extended capabilities: 6
      43. WMM: * Parameter version 1
      44. * BE: CW 15-1023, AIFSN 3, TXOP 2048 usec
      45. * BK: CW 15-1023, AIFSN 7
      46. * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
      47. * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
      48. BSS 80:37:73:dc:69:53(on wlan0)
      49. TSF: 0 usec (0d, 00:00:00)
      50. freq: 2442
      51. beacon interval: 100 TUs
      52. capability: ESS Privacy ShortSlotTime (0x0411)
      53. signal: -90.00 dBm
      54. last seen: 0 ms ago
      55. SSID: NETGEAR34
      56. Supported rates: 1.0* 2.0* 5.5 11.0 18.0 24.0 36.0 54.0
      57. DS Parameter set: channel 7
      58. ERP: Barker_Preamble_Mode
      59. ERP D4.0: Barker_Preamble_Mode
      60. RSN: * Version: 1
      61. * Group cipher: CCMP
      62. * Pairwise ciphers: CCMP
      63. * Authentication suites: PSK
      64. * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
      65. Extended supported rates: 6.0 9.0 12.0 48.0
      66. HT capabilities:
      67. Capabilities: 0x18fc
      68. HT20
      69. SM Power Save disabled
      70. RX Greenfield
      71. RX HT20 SGI
      72. RX HT40 SGI
      73. TX STBC
      74. No RX STBC
      75. Max AMSDU length: 7935 bytes
      76. DSSS/CCK HT40
      77. Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      78. Minimum RX AMPDU time spacing: 16 usec (0x07)
      79. HT RX MCS rate indexes supported: 0-15
      80. HT TX MCS rate indexes are undefined
      81. HT operation:
      82. * primary channel: 7
      83. * secondary channel offset: no secondary
      84. * STA channel width: 20 MHz
      85. * RIFS: 0
      86. * HT protection: non-HT mixed
      87. * non-GF present: 1
      88. * OBSS non-GF present: 1
      89. * dual beacon: 0
      90. * dual CTS protection: 0
      91. * STBC beacon: 0
      92. * L-SIG TXOP Prot: 0
      93. * PCO active: 0
      94. * PCO phase: 0
      95. Overlapping BSS scan params:
      96. * passive dwell: 20 TUs
      97. * active dwell: 10 TUs
      98. * channel width trigger scan interval: 300 s
      99. * scan passive total per channel: 200 TUs
      100. * scan active total per channel: 20 TUs
      101. * BSS width channel transition delay factor: 5
      102. * OBSS Scan Activity Threshold: 0.25 %
      103. Extended capabilities: HT Information Exchange Supported
      104. WPS: * Version: 1.0
      105. * Wi-Fi Protected Setup State: 2 (Configured)
      106. * Response Type: 3 (AP)
      107. * UUID: 64746dfd-8c95-8db0-a69e-795ab746b78b
      108. * Manufacturer: NETGEAR, Inc.
      109. * Model: WNDR3400v3
      110. * Model Number: WNDR3400v3
      111. * Serial Number: 01
      112. * Primary Device Type: 6-0050f204-1
      113. * Device name: WNDR3400v3
      114. * Config methods: Label
      115. * RF Bands: 0x3
      116. * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
      117. WMM: * Parameter version 1
      118. * u-APSD
      119. * BE: CW 15-1023, AIFSN 3
      120. * BK: CW 15-1023, AIFSN 7
      121. * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
      122. * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
      Display All
      You can my test AP's SSID and my neighbor's SSID in the output. So, I connect:


      Source Code

      1. root@raspberrypi:~# iw dev wlan0 connect dd-wrt
      2. root@raspberrypi:~# iw dev wlan0 link
      3. Connected to 10:fe:ed:c9:c3:ea (on wlan0)
      4. SSID: dd-wrt
      5. freq: 2412
      6. RX: 0 bytes (0 packets)
      7. TX: 0 bytes (0 packets)
      8. bss flags: short-slot-time
      9. dtim period: 2
      10. beacon int: 100
      Display All
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I think the problem will be solved with this commit: github.com/openmediavault/open…70c798fa84dcd2698bfb6046f

      Now ethtool is not used anymore to retrieve interface information.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • It will be included.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Can I add to this? I don't want to hijack the thread.

      I'm getting the same issue with a fresh install of v.2.2.5 on an Rpi3. Before installing the beta version, can I check that the above solution is in v.3.0.24? I'm a new user of OMV, can I update, or do I need a new install?

      I tried several unsuccessful methods to get wlan0 working properly from the command line. In the end I did manage to get it up and running using the web GUI (whilst connected via Ethernet) to disable and re-enable wlan0 from the network settings page. Unfortunately this needs to be repeated over ethernet after each reboot. Therefore, this isn't a long term solution because I'd like to keep my RPi in a different room to my router. But if I could trigger whatever script is run from the gui via from a script running at boot this might solve it, any pointers how I'd trigger the disable/enable script?

      Cheers
      omv 3.0.53 | RPi3 | 2 x 2TB WDRed | Startech Enclosure S3510BMU33B | Weekly Rsync