OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Jarkko Santala - 16.08.2018

FS#1787 - iw doesn't support wep with ibss adhoc

VoCore2 / OpenWrt SNAPSHOT, r7866-8c91807

Works:

# iw phy phy0 interface add f00 type ibss
# ip link set up f00
# iw dev f00 ibss join foobar 2412
root@tolppaB8D812x67_27402:~# iwinfo f00 info
f00 ESSID: “foobar”

        Access Point: B8:D8:12:67:6B:0A
        Mode: Ad-Hoc  Channel: 1 (2.412 GHz)
        Tx-Power: 0 dBm  Link Quality: unknown/70
        Signal: unknown  Noise: unknown
        Bit Rate: unknown
        Encryption: unknown
        Type: nl80211  HW Mode(s): 802.11bgn
        Hardware: unknown [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy0

Does NOT work:

# iw dev f00 ibss join foobar 2412 key d:0:42325d294a
Usage: iw [options] dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]

Join the IBSS cell with the given SSID, if it doesn’t exist create
it on the given frequency. When fixed frequency is requested, don’t
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell’s BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
it with the specified basic-rates, multicast-rate and beacon-interval.

Options:

  1. -debug enable netlink debugging
Jarkko Santala commented on 16.08.2018 16:37

Same thing happens with built-in and external wifi. It's like the command doesn't have the option although the help clearly defines it and the very same command which works on another Linux does not work in OpenWRT. This also causes the IBSS setup to fail if I try to configure it via UCI.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing