Packet Manager on Hue bridge

425 views Asked by At

I have successfully jailbreaked my Hue Bridge 2.1 and now have Root Access over SSH to it.

But I don't know how I can Install a Packet Manager (like opkg) on it. It looks like wget is installed, but nothing else really. Also SCP works. I have tried everything, but nothing seems to work. (See console). (Full console dump here)

login as: root
[email protected]'s password:


BusyBox v1.23.2 (2018-10-25 16:12:28 UTC) built-in shell (ash)

  _    _ _    _ ______   ____       _     _              ___   __   __
 | |  | | |  | |  ____| |  _ \     (_)   | |            |__ \  \ \ / /
 | |__| | |  | | |__    | |_) |_ __ _  __| | __ _  ___     ) |  \ V /
 |  __  | |  | |  __|   |  _ <| '__| |/ _` |/ _` |/ _ \   / /    > <
 | |  | | |__| | |____  | |_) | |  | | (_| | (_| |  __/  / /_ _ / . \
 |_|  |_|\____/|______| |____/|_|  |_|\__,_|\__, |\___| |____(_)_/ \_\
                                             __/ |
                                            |___/
----------------------------------------------------------------------
Version: 1810251352
----------------------------------------------------------------------

root@Wohnzimmer:~# busybox --install opkg
--install: applet not found
root@Wohnzimmer:~# opkg
-ash: opkg: not found
root@Wohnzimmer:~# wget
BusyBox v1.23.2 (2018-10-25 16:12:28 UTC) multi-call binary.

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
        [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
        [-U|--user-agent AGENT] URL...

Retrieve files via HTTP or FTP

        -s      Spider mode - only check file existence
        -c      Continue retrieval of aborted transfer
        -q      Quiet
        -P DIR  Save to DIR (default .)
        -O FILE Save to FILE ('-' for stdout)
        -U STR  Use STR for User-Agent header
        -Y      Use proxy ('on' or 'off')
1

There are 1 answers

6
danglingpointer On

You can't just install the packet manager using busybox --install opkg orsudo apt-get install <any-package>.

This below error message clearly says the opkg packet is not found, you need to build the source, and add that in your target.

root@Wohnzimmer:~# busybox --install opkg
--install: applet not found

It's Busybox system for that you need to download the packet manager archive against the target what they are using, for example: if it is ARM then compile using ARM toolchain in your host system then move the compiled binary to the target. After moving the compiled utility you can place the binary in /sbin dir of the root fs.