OpenWrt on Archer C50v4 – Part 2

OpenWrt on Archer C50v4 „- Part 1“

… after quite some time I have managed to contiue writing and documenting.

Installing LuCi and updating

To be able to install LuCi and do any other operations with opkg I connected my PC to the Archer via Ethernet Port 1. Laptop has DHCP active.
Then I made sure I am able to start a ssh session to the router ssh root@192.168.1.1 and this is working.
The next step was to connect the router , WAN Port, to my network (Internet access [No Proxy, no any other auth required] DHCP Server in Network active) and tried a ping to any known IP ping 8.8.8.8 to check if the internet connection is working correctly

The next thing to do was then:

  1. Update the software list
  2. show what packages can be upgraded
  3. Update opkg
  4. intsall LuCi
  5. Update all other packages (with one command) [Source]
    1. Please be very carefull doing this. Pay much attention to the „file system notes“ from „upgrade <pkgs>“
opkg update
opkg list-upgradable
opkg upgrade opkg
opkg install luci
opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade

As soon as luci is installed you can connect to your Archer via Web-interface and do all of your configuration as usually.

Please be reminded that there is no password set by default!

Thanks for your attention.

7 Kommentare zu „OpenWrt on Archer C50v4 – Part 2

  1. Hi Niklas:

    Thanks a whole lot for providing your Archer firmware. Installation was no big deal. But, unfortunately, I failed to upgrade opkg. Once I try I get

    „Upgrading opkg on root from 2017-12-07-3b417b9f-2 to 2019-01-31-d4ba162b-1…
    Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/opkg_2019-01-31-d4ba162b-1_mipsel_24kc.i pk
    Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
    Installing libubox20170601 (2019-02-27-eeef7b50-1) to root…
    Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/libubox20170601_2019-02-27-eeef7b50-1_mi psel_24kc.ipk
    Collected errors:
    * check_data_file_clashes: Package libubox20170601 wants to install file /lib/libubox.so
    But that file is already provided by package * libubox“

    To me it seems that there is some kind of inconsistency between the compiled packages. Have you got any idea what this is up to?

    Best, Johannes

    1. Hi Johannes, which image have you installed? Did you try installing the latest I created from here?.
      I’ll try to make a new image within the next few days.

      Regards,
      Niklas

  2. Hi Niklas:

    Nope. I took „SelfMade-Archer_C50v4-OpenWrt-blocktrron_c50v4-noboot“ as given in part 1. Meanwhile, I tried to restore the brand firmware via TFTP. But for some reason I failed. Now, I got stuck in a boot loop. So, I presumably bricked the device 🙁

    As I spent a couple of hours and couldnt manage to get OpenWrt up and running, I’m thinking about getting another, more customizable router.

    Anyway, I really appreciate your volunteering.

    Best, Johannes

    1. If you’ve gut Lights flashing then try the tftp Server for Windows in the OpenWrt forum post that gave you the link to my site and give your device some time to boot and deploy stuf before rebooting anything.

      Maybe it helps you if you read the comments and posts on the other site of my blog to this topic.

  3. Hello Niklas,
    I do have the same error as Johannes.
    I took your compiled file as linked in your blog.
    upgrade went fine but in ssh i cant update opkg though i have connection to the internet(checked ping 8888)
    same error message as Johannes for me.

    1. Hi Alex,
      please have a look at this post of mine. Here I have newer image files.
      You can use these files, once you have already installed OpenWrt.
      Have an other look during the course of this day for a new image.

      You can update via CLI following instructions at Download and verify the OpenWrt firmware upgrade image

      Regards,
      Niklas

Schreibe einen Kommentar zu Niklas Theis Antworten abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.