Skip to content

wpa_supplicant not bundled on newer WIBox models, soft-bricks device #31

Description

@rgon

Hi!

I have successfully flashed this firmware on one of the newer WIBoxes. The REF 3266 box says V12.13 below the QR Code, the board says 7938MPT VER.B. It has a GOKE GK7102s CPU (instead of the HiSilicon Hi3518EV200 in linuch.pl's version):

# uname -a
Linux IDSxxxxxxxx 3.4.43-gk #18 PREEMPT Mon May 21 16:54:23 CST 2018 armv6l GNU/Linux

Related question: shall we document which HW revisions there are? How do we check?
Apart from it having telnet disabled (and ONVIF! unfortunately), when running, wpa_supplicant is nowhere to be found.

I extracted mtd4 and discovered that wpa_supplicant is actually now on /sbin/ (have yet to check this project's source to see the previous location.

$ ../../cramfs-tools/cramfsck mtd4 -x mtd4extracted/
$ find mtd4extracted/ | grep wpa
...
mtd4extracted/sbin/wpa_supplicant
...

And so, the ./run.sh script fails:

cp: can't stat '/usr/sbin/wifi_conf/*': No such file or directory
cp: can't stat '/usr/sbin/hostapd.conf': No such file or directory
/usr/run.sh: line 78: wpa_supplicant: not found

And the binary is nowhere to be found on the device:

# which wpa_supplicant
# ls /bin/ | grep wpa
# ls /usr/bin/ | grep wpa
# ls /sbin/ | grep wpa

Which causes the device to become offline. Quite annoying, since copying files over serial is not easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions