Build own LEDE for TL WR841N

Hello,

i hope i m in the right section.

I have an TL WR841N v10 with openWRT at the moment. And i use this Device to connect(WWAN) to an 802.1x Network and share the connection.

With openWRT i build my own openWRT in Ubuntu.

And know i want to do this for LEDE. I follow the instructions for building own from this page:
https://lede-project.org/docs/guide-developer/quickstart-build-images

But every Time when write the make command i geht an error

"lede/include/toplevel.mk:197: die Regel für Ziel „world“ scheiterte
make: *** [world] Fehler 2"

Can anybody help me ?

Greetz X

Hi,
the image: http://ftp.halifax.rwth-aachen.de/lede/snapshots/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr841-v10-squashfs-factory.bin
is not working for you ?

Or see this: Build for TP-Link TL-WR841N(D) [all versions]

The problem is i need WPA2-EAP in the image for the 802.1x authentication and i want a small system only with necessary packages. Can you Explain how to build it ? Or can you explain the way to install wpa2-eap authentication after flashin LEDE ?

And one other question, when i flash LEDE sysupgrade over my openWRT is it possible to step back via sysupgrade to my build openWRT ?

May be this can help you:

https://lede-project.org/docs/user-guide/wifi_configuration
https://wiki.openwrt.org/doc/recipes/rsn_preauthentication

And one other question, when i flash LEDE sysupgrade over my openWRT is it possible to step back >via sysupgrade to my build openWRT ?

i am not sure, but i think it is possible on commandline with: sysupgrade

If not you need a USBtoSerial Adapter open the Device
an Flash from bootloader. Need tftpd-server to transfer
image from PC/Laptop to your WD841N

https://wiki.openwrt.org/toh/tp-link/tl-wr841nd#tftp_installrecovery_via_serial

You are leaving out the essential part, and that is pretty much everything leading up to that. What you pasted can be pretty much anything :slight_smile:

Run your build with LANG=C make -j1 V=s so the errors get printed in English, and chronologically, and pastebin the last 50 or so lines here (keep a full log so you don't have to re-run again if info is missing).

did you have all needed packages installed ?

https://wiki.openwrt.org/doc/howto/buildroot.exigence

1 Like

hey, thanks 4 help.... it is working now.... perfekt =)

today i wanted to build a new LEDE for 1043-v4 and get this message any idea what is the problem !? and how can i fix it ?

Package list missing or not up-to-date, generating it.

Collected errors:

  • opkg_install_pkg: Package lede-keyring sha256sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package base-files.
    Makefile:140: recipe for target 'package_install' failed
    make[2]: *** [package_install] Error 255
    Makefile:110: recipe for target '_call_image' failed
    make[1]: *** [_call_image] Error 2
    Makefile:196: die Regel für Ziel „image“ scheiterte
    make: *** [image] Fehler 2

please post the steps in a simplified manner in order to see if you missing something while trying to do it.
that was the first try, maybe you need to clean the files.

Try

make check
make update

Should download any missing package. For whatever reason this (missing packages while compiling error) happens a lot when you try to compile through a VM, never happened tome when I compile directly using Ubuntu. If you crash or whatever during the compilation and the error doesnt mention any package missing try make -j1. If it still gives you errors just start from scratch. Just put a name to your config, then rename it to .config once you clone everything on a new folder so you don't have to reconfigure everything again which takes a lot of time.