OpenWRT 24 is missing files for Hostapd/WPA_SUPPLICANT
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
When installing Hostapd-common and hostapd, files are not available which should be in Openwrt. This was identified in a snapshot build prior to release of the official and again after.
This is the error received.
wpa_supplicant[3478]: Error loading ucode: Syntax error: Unable to resolve path for module 'common' In line 3, byte 116: import { wdev_create, wdev_set_mesh_params, wdev_remove, is_equal, wdev_set_up, vlist_new, phy_open } from "common"; Near here ---------------------------------------------------------------------------------------------------------^
Here's the reddit discussion: https://www.reddit.com/r/openwrt/comments/1ibf1tz/moving_to_24_have_an_issue_with_wpa_supplicant/
It appears that /usr/share/hostap/common.uc does not exist. Once the file is transfered from a Openwrt 23 build, it then still needs hostapd.uc. After putting those in, software on the router can no longer be updated since the apk installer says the database is now corrupt.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the package definitions and generated contents for hostapd-common and hostapd in the OpenWrt 24 build, then compare them with an OpenWrt 23 build. Verify that /usr/share/hostap/common.uc and hostapd.uc are packaged and that installing or updating through apk does not corrupt its database.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100