OpenWrt Forum Archive

Topic: Optimized and feature rich trunk build for select routers

The content of this topic has been archived between 20 Aug 2014 and 5 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Go back to the image you flashed from, or try factory rather that sysupgrade image.

I have just flashed this build onto my new WRT1900ACS and all is working fine.

This is my first ever experience with OpenWRT, so I apologize if this is covered elsewhere, but I have an external USB 3.0 HDD which I would like to connect to the router in order to be able to use it as the default location for new software packages (as the router's internal flash memory is limited), as well as a swap file.

Is this possible with this particular build, and if so, could somebody please point me to some information, or preferably, some sort of guide to set it up? I was reading about 'extroot' on the OpenWRT wiki, but I'm not sure if would apply to this particular build?

Thanks in advance!

(Last edited by knubbze on 26 Jul 2016, 21:39)

@all - I just compiled this firmware using the latest lede repo. I've been customizing my own builds for the last few weeks, and I only tried @arokh's configuration recently. I'm not sure if all the patches went through - they didn't my first attempt, I still need to upload my second. I'll share config / env info for anyone who wants to try it out. The cake patches aren't necessary anymore, they're in lede's buildroot (and some experimental sqm-scripts), and @arokh's config is not a 1-1 match with lede, but it's pretty close and lede keeps adding new features. They're building nightly releases with their buildbot: http://phase1.builds.lede-project.org/builders

releasing vanilla snapshots here: https://downloads.lede-project.org/snapshots/targets/

I started small and slowly worked up to where I am now, feeling more confident about it.

Stupid question - sry. Is there a GUI implemented? I read the name somewhere but i dosent remeber the name

Hexxer2 wrote:

Stupid question - sry. Is there a GUI implemented? I read the name somewhere but i dosent remeber the name

the most common gui is luci, it should be included in this build.

okay, i'm going to just continue my own thing for now, it's sooooo broken. the customize feeds / config are  only 50-70% compatible, so i can compile/ install eg.  reghack - but it kills wifi and the setting necessary to prevent that need tweakin. I also diffed the .config's and tried my due dillegence to replicate the config from the lede point of view, without custom feeds or patches, and that was the worst one yet. But theree's no issues with the file structure and  packages - compiling it makes the router wayy faster than if you're just installing packages from a vanilla build. I just know how to makeconfig, and I disocovered that's there's an order of magnitude more options thanI realized after looking at this one - but I think it's easier to create from scratch than backport. I'll prob start a thread with some dockerfiles but this image is still the best as it is. Lede in and of itself is  not better than this.

hey there!
I've downloaded and installed r49166 for my WDR4900 and in the beginning it all worked fine.

Now I tried to configure a 2.4GHz guest wifi (a second one on the same radio) and that makes the whole 2.4GHz radio non-functional until I restore a previous backup or start from scratch.

Whenever I try to add a second wifi network, the drop-down boxes for mode, channel, band & width first are empty for the new 2.4GHz wifi, and after saving it a few times after changing the config a bit, they also get empty for the first wifi, after which the overview will show "Wireless is disabled or not associated" for both the previously working first and the new second 2.4GHz networks.

I've found the howto here:
https://wiki.openwrt.org/doc/recipes/gu … binterface
but can't see anything that it does differently than I tried.

EDIT: should I maybe try to follow this guide to do it the manual CLI way:
https://wiki.openwrt.org/doc/recipes/guest-wlan
or is the radio or driver for the 2.4ghz radio in my TL-WDR4900  not capable of handling multiple networks?

(Last edited by kaefert on 30 Jul 2016, 19:24)

moxu wrote:

okay, i'm going to just continue my own thing for now, it's sooooo broken. the customize feeds / config are  only 50-70% compatible, so i can compile/ install eg.  reghack - but it kills wifi and the setting necessary to prevent that need tweakin. I also diffed the .config's and tried my due dillegence to replicate the config from the lede point of view, without custom feeds or patches, and that was the worst one yet. But theree's no issues with the file structure and  packages - compiling it makes the router wayy faster than if you're just installing packages from a vanilla build. I just know how to makeconfig, and I disocovered that's there's an order of magnitude more options thanI realized after looking at this one - but I think it's easier to create from scratch than backport. I'll prob start a thread with some dockerfiles but this image is still the best as it is. Lede in and of itself is  not better than this.

I agree. This image is by far the more stable. I have found LEDE at this point does not add any efficiencies.

I must say however, that I tried Gargoyle about  month ago, and have stayed with it on my WRT1900ACv2. It is awesome.

If you are using a wrt100xacx device then I would say there have been many useful additions to the LEDE code base. Just the additional support added around CESA and mvneta for two.

Hi,

1. I'm using your latest buid r49166 on my Linksys wrt1900ac v1 and I'm trying to get the strongswn vpn to work. I did use the link http://192.168.3.254/phone.mobileconfig for the iphone 6s plus and installed the certificates but it's not connecting and ipsec service is running.

2. I can't connect from iphone via ssh to my home server, but from laptop works. I don't understand why.

Any ideas?

thanks

@kaefert,

r49166 is outdated, use an actual built from LEDE.
Tested succesfully Multi-SSID with ath9k.
Here my build for an TP-Link WDR4900v1:
https://www.dropbox.com/sh/7zedvppww789 … oSfma?dl=0

Included: OpenVPN, AdBlock, Samba, USB-Storage, USB-Modem Support, SQM, DDNS

Have Fun!

(Last edited by guenti on 5 Aug 2016, 13:41)

@misu3108

The VPN is tested working with iOS9 on a clean flash. If it's not working, check your logs and make sure that your ISP allows IPsec traffic. Use tcpdump to check that the traffic arrives at your wan interface.

@guenti

root@OpenWrt ~# cat /etc/openwrt_version 
r49005
root@OpenWrt ~# uptime
 14:03:00 up 90 days, 15:46,  load average: 0.04, 0.06, 0.04

You say outdated, I say stable. WDR4900.

arokh wrote:

You say outdated, I say stable. WDR4900.

I post an solution for @kaefert, never touch your ego @arokh

(Last edited by guenti on 5 Aug 2016, 13:44)

@arokh

thanks for the reply but this is too advanced for me...I don't know how to check if ISP allows IPsec traffic as you suggested. I even tried on my macbook but it doent work. I also have a vpn pptp server on one of the computers and when I had the openwrt "stock" on it I had too install kmod-nf-nathelper-extra package to have vpn passthrough the router. With your version this pptp vpn passthrough doesn't work even when I try to install this package it gives an error:

Multiple packages (kmod-nf-nat and kmod-nf-nat) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-lib-textsearch and kmod-lib-textsearch) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-nathelper-extra:
*     kernel (= 4.4.14-1-cdb6c3e3ea41dde90d70f6c51807f34d) *
* opkg_install_cmd: Cannot install package kmod-nf-nathelper-extra.

please advise on how to enable vpn either pptp( my old one) or the new strongswan that's included with your build.

Thank you.

I found the transmission power of 5GHz band on WNDR3800 is limited to 17dbm. As the hardware design, it should allow 27dbm at maximum. How can I change it?
Version: wndr3x00_800mhz/r49166/

misu3108 wrote:

@arokh

* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-nathelper-extra:
*     kernel (= 4.4.14-1-cdb6c3e3ea41dde90d70f6c51807f34d) *
* opkg_install_cmd: Cannot install package kmod-nf-nathelper-extra.

Same for me trying to install the same package in order to let my laptop dial to a VPN with a PPTP client behind the router. I may be wrong installing it, but then realized that any kmod package yields the same error.

@misu3108

You need to update the links under System --> Software, tab Configuration, to:

src/gz designated_driver_base http://luci.subsignal.org/~trondah/mvebu/r49166/packages/base
src/gz designated_driver_kernel http://luci.subsignal.org/~trondah/mvebu/r49166/packages/kernel
src/gz designated_driver_luci http://luci.subsignal.org/~trondah/mvebu/r49166/packages/luci
src/gz designated_driver_management http://luci.subsignal.org/~trondah/mvebu/r49166/packages/management
src/gz designated_driver_packages http://luci.subsignal.org/~trondah/mvebu/r49166/packages/packages
src/gz designated_driver_routing http://luci.subsignal.org/~trondah/mvebu/r49166/packages/routing
src/gz designated_driver_telephony http://luci.subsignal.org/~trondah/mvebu/r49166/packages/telephony

Then, at the unix prompt type: opkg update
After this, the correct packages can be installed using opkg.
If you get a checksum error use the --force-checksum option with opkg

Good luck!

(Last edited by bouwew on 7 Aug 2016, 09:02)

newbie here coming from gargoyle and looking for an answer to my issue.  i'm running the latest version firmware from this thread and the same issue from gargoyle appears on openwrt as well.  the issue that is affecting me is that lan leds don't change color from green.  my understanding is that if gibabit or megabit connection it should change color to green or amber. 

wndr4300v1

i'd like information on how to fix this myself by changing settings internally or file a bug report somewhere.  thank you in advance.

@bouwew

Ok got it to update and install the package"kmod-nf-nathelper-extra" as you suggested. Thanks. vpn pptp works now, but strongswan doesn't.

@misu3108,

Nice, glad to be able to help.

I got Strongswan working, using the instructions in the posts 1 and 2 in this thread.
How can I help? What is your particular problem?

I think Iede snapshots are being churned out a few times a day? Whenever one of the buildbots is triggered:
http://phase1.builds.lede-project.org/builders
http://phase2.builds.lede-project.org/builders
seems to run all day. That's honestly why it's 'sort of' unstable. But it's all good in the end. If I judge the quality based on the best build I've used, Lede is far more stable and less buggy and worth using, but right now I'd only recommend it for devs. It has potential once it's finished.

@arokh's build has a few modifications that we know work on the latest release here. It's stable and consistent - so porting and maintaining some of these patches would be a b=**CH if if trunk / lede is not consistent. But if you don't need / or aren't using those patches - and some of the new bug fixes support is better on lede - then lede might be worth looking into. It has a patched DHCP that's lets you customize what routing info is sent to different machines by mac or ip-space (i dunno if this is also in openwrt trunk but it could be patched into it).

also, one suggestion about improving this build would be including black-roland's repo : https://github.com/black-roland/exOpenWrt - which has the latest dnscrypt-proxy / libsodium and support for multiple dnscrypt name spaces (it's nice to have two dns in this way). I'm still trying to stablize my own env. - my latest creation died yesterday (docker) - but I am still experimenting with different combinations of stuff... (the new adblock package has decent firewall rules that block ipv6 ads and force connections to the local dns). So if anyone wants to experiment / help teach / learn I'm interested, but again my opinion hasn't changed.

(Last edited by moxu on 9 Aug 2016, 20:37)

@guenti
Can you build Archer C5 LEDE version?

Also, just to clarify (forgot to mention it above) - the patches that modify anything about the transmission power or frequency of the antenna, especially 5GHz - that is being locked down and router manufacturers are required to build routers in such a way that opensource firmware can't change those settings. Some distributors got lazy and tried to 'prevent' (wtf? haha) people from uploading open firmware. Other distributors, like the linksys wdr that this project is named after, just modified their routers, because it's technically O.K. to upload open firmware, and in most parts of the world technically um.. not OK to modify the strength / channels of the attenna. I assume lede is complying with international specifications on this issue so as to  be  socially acceptable... specifically that's why the older trunk - with the patches here - is going to be more stable and work properly - because (I don't know exactly how it works) it's probably going to become more difficult to patch that, although i doubt it'll be impossible for current routers, maybe future routers will actually separate it physically.

(Last edited by moxu on 9 Aug 2016, 21:00)

An Archer C7 LEDE build of this would be great. Are there build instructions/scripts for building this tweaked OpenWrt version that I could look at, to potentially be able to apply it to LEDE myself if the maintainer is unable to build for LEDE at this time?

(Last edited by pbpeod on 9 Aug 2016, 21:47)

Grab  the source tarball, generate a configdiff, cherry pick contents of the files/, custom feeds/. Patches will be dated, and probably not required. Check out LEDE and use the diffconfig, add files/. You will have to look closely at the @arokh value-add in feeds/ to understand what has been done.

Sorry, posts 3726 to 3725 are missing from our archive.