OpenWrt Forum Archive

Topic: davidc502 1900ac 3200acm builds

The content of this topic has been archived between 26 Feb 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Eyerex wrote:
davidc502 wrote:

@Eyerex

I'm not 100% but it may have something to do with the 80mhz width that is selected. 80mhz covers channels 36-48 easily.

Try 40mhz width, and see if the same thing happens.

Just tried and swapping to 40mhz which does work

With 80mhz width, it's covering the channel (Specific Frequency) you want anyway.

I wouldn't worry about what frequency it's saying the channel is, just as long as the 80mhz spectrum is being used.

Download a wifi analyser for android or iphone, and verify 80mhz is being used.

I've verified it does work properly on the acs.  However, DFS doesn't appear to work properly, but have been told it's proprietary firmware code from Linksys, and there's nothing we can do about it. So, it affects both stock and opensource firmware.

Best Regards,

davidc502 wrote:
apvm wrote:

Newbie here, what does "don't forget to replace the packages sources" mean after flashing?  By the way, thank you very much for your hard work.

Just means to replace the stock package repository with the ones below.  This is a .jpg of where to do that > http://davidc502sis.dynamic-dns.net/ima … nfeeds.jpg  One of these days I hope to get clear instruction on how to change it in the builds so people don't have to do it manually.

src/gz reboot_core http://davidc502sis.dynamic-dns.net/sna … c/packages
src/gz reboot_base http://davidc502sis.dynamic-dns.net/sna … vfpv3/base
src/gz reboot_telephony http://davidc502sis.dynamic-dns.net/sna … /telephony
src/gz reboot_packages http://davidc502sis.dynamic-dns.net/sna … 3/packages
src/gz reboot_routing http://davidc502sis.dynamic-dns.net/sna … v3/routing
src/gz reboot_luci http://davidc502sis.dynamic-dns.net/sna … vfpv3/luci


Thank you very much for the explanation.

@davidc502
Do you have a detailed change log for your build? And are you updating your build to fix bugs or just following the lede nightly builds?
Knowing how often you release would be helpful so I can know how often to check for new builds.

@davidc502

Thanks. Now finally able to install nfs-kernel-server, but kmod-usb-hid is still missing?

What's the purpose of have a separate package repository unless all packages are available?
Most of the packages from the stock repo are working (since they are missing in your build).
However there are a couple, such as kmod-usb-hid that requires a separate build?

Am I missing something fundamental here? Sorry for pestering you about this smile

root@wayout /root [#]# oi kmod-usb-hid
Installing kmod-usb-hid (4.4.23-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/mvebu/generic/packages/kmod-usb-hid_4.4.23-1_arm_cortex-a9_vfpv3.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-hid:
 *     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) * 
 * opkg_install_cmd: Cannot install package kmod-usb-hid.

@Redferne

Please update opkg and try to install kmod-usb-hid again as the package should be there.

Basically, the #1 goal is to keep the build as lightweight as possible, but yet have some of the most popular features pre-installed. This is the reason why some packages just need to be installed separately, and now that it looks like that is sorted out, the repository will be built back up to where it should be.

It's no bother at all. For some reason when I started building lede, the method I was using for OpenWrt wasn't working, so hopefully that's behind us.

(Last edited by davidc502 on 6 Oct 2016, 19:34)

anomeome wrote:

A uci-defaults script, perhaps something like:
/etc/uci-defaults/01-mydrop

#!/bin/sh

## append my drop links to opkg.conf ##
echo "drop link 1" >>  /etc/opkg.conf
echo "drop link 2" >>  /etc/opkg.conf

exit 0

Have not tried it myself but...

Okay... I've created a small shell script that will blank the distfeeds.conf and echo the custom sources. Supposedly it runs once, and gets deleted.

The build did compile successfully, so I'll install tonight and see if it works as expected.

(Last edited by davidc502 on 6 Oct 2016, 20:14)

davidc502 wrote:

One of these days I hope to get clear instruction on how to change it in the builds so people don't have to do it manually.

src/gz reboot_core http://davidc502sis.dynamic-dns.net/sna … c/packages
...

You can do that in .config so that your repo gets assigned automatically to all distfeeds.conf items

CONFIG_IMAGEOPT=y
CONFIG_VERSIONOPT=y
CONFIG_VERSION_REPO="http://davidc502sis.dynamic-dns.net/snapshots"

The selection is also available in menuconfig, but you have to go via "Image configuration" --> "Version configuration options"  --> "Release repository".

Exact options are visible in:
https://git.lede-project.org/?p=source. … b=HEAD#l41
https://git.lede-project.org/?p=source. … b=HEAD#l43

There the string "src/gz %n_$(feed) %U/packages/%A/$(feed)" gets replaced during the build by %U=VERSION_REPO, %A=architecture (mvebu for you) and the specific feeds for the distfeeds file.

EDIT:
another more brute-force approach is to patch include/version.mk directly, as the default value is there on line 41 (see the link above).

(Last edited by hnyman on 6 Oct 2016, 21:22)

@davidc502

Sorry to inform you that the package _is_ missing.

root@wayout /root [#]# opkg update
Downloading http://davidc502sis.dynamic-dns.net/snapshots/targets/mvebu/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_core.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/targets/mvebu/generic/packages/Packages.sig.
Signature check passed.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_base.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/base/Packages.sig.
Signature check passed.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_telephony.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/telephony/Packages.sig.
Signature check passed.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_packages.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/packages/Packages.sig.
Signature check passed.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_routing.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/routing/Packages.sig.
Signature check passed.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_luci.
Downloading http://davidc502sis.dynamic-dns.net/snapshots/packages/arm_cortex-a9_vfpv3/luci/Packages.sig.
Signature check passed.
root@wayout /root [#]# 
root@wayout /root [#]# opkg install kmod-usb-hid
Unknown package 'kmod-usb-hid'.
Collected errors:
 * opkg_install_cmd: Cannot install package kmod-usb-hid.
root@wayout /root [#]# opkg list |grep kmod-usb
kmod-usb-acm - 4.4.23-1 - Kernel support for USB ACM devices (modems/isdn controllers)
kmod-usb-core - 4.4.23-1 - Kernel support for USB
kmod-usb-ohci - 4.4.23-1 - Kernel support for USB OHCI controllers
kmod-usb-storage - 4.4.23-1 - Kernel support for USB Mass Storage devices
kmod-usb-storage-extras - 4.4.23-1 - Say Y here if you want to have some more drivers, such as for SmartMedia card readers
kmod-usb-uhci - 4.4.23-1 - Kernel support for USB UHCI controllers
kmod-usb2 - 4.4.23-1 - Kernel support for USB2 (EHCI) controllers

I know why... I didn't put it in the manifest, so until I do, opkg will not see it... arg.

Give me a minute and I'll add it manually.

hnyman wrote:
davidc502 wrote:

One of these days I hope to get clear instruction on how to change it in the builds so people don't have to do it manually.

src/gz reboot_core http://davidc502sis.dynamic-dns.net/sna … c/packages
...

You can do that in .config so that your repo gets assigned automatically to all distfeeds.conf items

CONFIG_IMAGEOPT=y
CONFIG_VERSIONOPT=y
CONFIG_VERSION_REPO="http://davidc502sis.dynamic-dns.net/snapshots"

The selection is also available in menuconfig, but you have to go via "Image configuration" --> "Version configuration options"  --> "Release repository".

Exact options are visible in:
https://git.lede-project.org/?p=source. … b=HEAD#l41
https://git.lede-project.org/?p=source. … b=HEAD#l43

There the string "src/gz %n_$(feed) %U/packages/%A/$(feed)" gets replaced during the build by %U=VERSION_REPO, %A=architecture (mvebu for you) and the specific feeds for the distfeeds file.

EDIT:
another more brute-force approach is to patch include/version.mk directly, as the default value is there on line 41 (see the link above).

Yes, modifying the .config worked.  << Thanks

Appreciate it.

Hi everyone, I´d like to switch back to stock firmware. But I have no idea how to manage this with LEDE, can you help me out?

Installing kmod-macvlan (4.4.23-1) to root...
Downloading  downloads.lede-project.org/snapshots/targets/mvebu/generic/packages/kmod-macvlan_4.4.23-1_arm_cortex-a9_vfpv3.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-macvlan:
*     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *
* opkg_install_cmd: Cannot install package kmod-macvlan.

macvlan always failed,can you help me? Thanks

airyjf wrote:

Installing kmod-macvlan (4.4.23-1) to root...
Downloading  downloads.lede-project.org/snapshots/targets/mvebu/generic/packages/kmod-macvlan_4.4.23-1_arm_cortex-a9_vfpv3.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-macvlan:
*     kernel (= 4.4.23-1-de022eb05765d466a0804b3dad0483b3) *
* opkg_install_cmd: Cannot install package kmod-macvlan.

macvlan always failed,can you help me? Thanks

No problem, if you can hold out until tomorrow I'll put new builds up to the site, and I'll include that package to be modularized and available to be installed.

If you need it today I can compile it separately and uploaded to the site. From there it would need to be downloaded to your desktop and transfered to the router and installed.

(Last edited by davidc502 on 7 Oct 2016, 13:58)

nik-ii wrote:

Hi everyone, I´d like to switch back to stock firmware. But I have no idea how to manage this with LEDE, can you help me out?

When you flash back, make sure you un-check the option to keep settings.

Just download the Linksys image to your desktop, and then choose that image to flash back within LEDE.

davidc502 wrote:

The packages information won't work since I compiled it separately.. It's not like the OpenWrt days.. lol

I created you a temp directory to get it from.  http://davidc502sis.dynamic-dns.net/kmod-usb-hid/

Thanks but there are missing dependencies...

root@wayout /tmp [#]# opkg install kmod-usb-hid_4.4.23-1_arm_cortex-a9_vfpv3.ipk 
Installing kmod-usb-hid (4.4.23-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-hid:
 *     kernel (= 4.4.23-1-a0981187ebed223a2809de9023e474c3) *     kmod-hid *     kmod-hid-generic *     kmod-input-evdev * 
 * opkg_install_cmd: Cannot install package kmod-usb-hid.

Do you mind building them and try to get the kmod-usb-hid installed on your end?

@Redferne

I've build a new image and packages, and am testing right now.

Will post everything up to the server in a bit.

@david
I was running your latest, but needed to load Brainslayer's latest DD-WRT on my wrt1900ac v1. Needed to do a test for him to clear a ticket I opened. I notice what appears to be a new wireless driver version on his latest build,
10.3.1.0-20160917.

Have you heard of it? I assume that the LEDE folks have it as well.

--bill

bill1228 wrote:

@david
I was running your latest, but needed to load Brainslayer's latest DD-WRT on my wrt1900ac v1. Needed to do a test for him to clear a ticket I opened. I notice what appears to be a new wireless driver version on his latest build,
10.3.1.0-20160917.

Have you heard of it? I assume that the LEDE folks have it as well.

--bill

It might be a fork because checking through kaloz, the latest commit is still 10.3.0.18-20160823-1.

https://github.com/kaloz/mwlwifi/commits/master

The wifi driver is pretty much complete as it performs better than stock... However, there are some bugs, like DFS, that still need to be worked out, and some feel left out. It wouldn't surprise me if there's a fork or two out there to help sort out the last of the issues kinda being ignored from Linksys.

(Last edited by davidc502 on 8 Oct 2016, 14:20)

davidc502 wrote:
bill1228 wrote:

@david
I was running your latest, but needed to load Brainslayer's latest DD-WRT on my wrt1900ac v1. Needed to do a test for him to clear a ticket I opened. I notice what appears to be a new wireless driver version on his latest build,
10.3.1.0-20160917.

Have you heard of it? I assume that the LEDE folks have it as well.

--bill

It might be a fork because checking through kaloz, the latest commit is still 10.3.0.18-20160823-1.

https://github.com/kaloz/mwlwifi/commits/master

The wifi driver is pretty much complete as it performs better than stock... However, there are some bugs, like DFS, that still need to be worked out, and some feel left out. It wouldn't surprise me if there's a fork or two out there to help sort out the last of the issues kinda being ignored from Linksys.

Could be a fork. Brainslayer has the code for the wrt3200acm and the hardware, as you probably know. So maybe the wireless code is a backport/fork that he did. Anyway just wondered if you had heard of it and I could not remember where to check with kaloz.

I agree with you that the latest wireless drivers work very well. I do a simple iperf test with new driver builds and the OEM was better then the last maybe 3 wireless releases. Now your builds run much better then OEM on my wrt1900ac v1. For some reason DD-WRT, both Kong and Brainslayer, cannot get good performance out of the latest, 10.3.0.18-20160823-1, so they dropped back to 10.3.0.18-20160804. Maybe this is his way of moving forward. Does work as well for me.

BUT I do like your builds and the Luci interface better. smile

--bill

(Last edited by bill1228 on 8 Oct 2016, 15:35)

ok, i have my route back online, david i want to try your firmware

i have this installed at the mo...

OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55)

what next as i really don't want to brick it again  sad

mine is a 1900asc v2

(Last edited by liamhere on 8 Oct 2016, 17:45)

liamhere wrote:

ok, i have my route back online, david i want to try your firmware

i have this installed at the mo...

OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55)

what next as i really don't want to brick it again  sad

mine is a 1900asc v2

What happened before and what did you do to recover?

I see you have the 1900ac(s) v2.

(Last edited by davidc502 on 8 Oct 2016, 17:57)

it came back on line...no idea....but don't want to mess it up again..never has these problems with my asus  smile

Since you are on OpenWrt Chaos Calmer 15.05.1, Yes, I recommend going to stock first and then to lede.

I tried going from OpenWrt to lede, and it was a bit of a mess. lol  So, I had to go to stock and then back to lede, and it worked fine.

(Last edited by davidc502 on 8 Oct 2016, 18:38)