(English) Buffalo WZR-HP-G300NH additional packages environment setup (ddwrt)

7 Responses - Add Yours+

  1. Mueller says:

    Hey, I followed your tutorial on my WZR-HP-G300NH, but after running . /jffs/setup.relocated, WGET cannot work. It seems WGET is no longer an integrated command, hence everything cannot install.

    Please help.

    • Francois says:

      You have wget in both /usr/bin/ and /jffs/usr/bin/, so /jffs/usr/bin/wget should work.
      I think you want to use the /usr/bin/ (ddwrt’s one) by default, then you need to change the library search path accordingly:
      export LD_LIBRARY_PATH=/jffs/lib:/jffs/usr/lib:/lib:/usr/lib
      I’ll update instructions accordingly.

  2. Mueller says:

    I had changed the path to “export LD_LIBRARY_PATH=/jffs/lib:/jffs/usr/lib:/lib:/usr/lib” in setup.relocated under /jffs, but it still doesn’t work. Wget cannot work.

  3. Mueller says:

    Maybe I haven’t made it clear. I use Putty to connect with G300NH. Under the root, wget works well. After executing “. /setup.relocated”, wget won’t work anymore. It’ll prompt “-sh: wget: not found”.

    Because wget cannot work, all installations won’t be possible. All will end with prompt ” Failed to download…”

    • Francois says:

      Path problem.
      display it with ‘echo $PATH’
      or the whole set of environment variables with ‘set’

      Note it should be “. /jffs/setup.relocated”, not “. /setup.relocated”

  4. Mueller says:

    Well, that’s my typo. What I typed was actually “. /jffs/setup.relocated”

    Here’s the snap.

    root@RealPower:/jffs# . /jffs/setup.relocated
    root@RealPower:/jffs# echo $PATH
    /jffs/bin:/jffs/sbin:/jffs/usr/sbin:/jffs/usr/bin:/bin:/sbin

    • Francois says:

      I don’t see anything bad. You should have a working wget in both roots.
      either /usr/bin/wget
      or /jffs/usr/bin/wget
      ‘which wget’ will told you if the shell can find one, and which one

Leave a Reply