If you are interested in building your own, I can relay the basic instructions to get you going. It's really not hard to do.
Please send me instructions. I have plenty of time building your customized version. It is the best!
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.
If you are interested in building your own, I can relay the basic instructions to get you going. It's really not hard to do.
Please send me instructions. I have plenty of time building your customized version. It is the best!
1. I recommend Ubuntu Distro running on a machine. Yes, a VM Guest running Ubuntu runs just fine to compile images
2. Install the following packages on installed Ubuntu - gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.
It's been a while since I've done step 2, but there may be a package or 2 in the list that will take a little doing to find. Take your time and you should be able to find it through a little research.
3. Get the lede code -- Create a folder and call it lede. Next, In command line, cd to that folder and run the following commands.
a. git clone https://git.lede-project.org/source.git
b. cd source
c. ./scripts/feeds update -a
d. ./scripts/feeds install -a
e. make menuconfig
If all of the prerequisites have been installed properly from step 2, the "make menuconfig" will invoke the Lede Configuration menu.
It will take a couple of minutes, but read how to use the arrow keys and "hotkeys".
1. Choose Target System = Marvell Armada 37x/38x/XP
2. Choose Target Profile = Choose the Image you want to create (Cobra) (Caiman) (Shelby) (Mamba).
Then save and that will bring you back to a command prompt.
Then run the command make V=s
From there it will start compiling minimum options, but will be good place to start to see if it will compile completely. After it's finished compiling, just check the /source/bin/targets directory for your compiled image.
Start out doing that and see if it works for you.
P.S. If you want to, in the LEDE Configuration menu scroll down to LuCi and choose it so you have a Gui to log into.
(Last edited by davidc502 on 4 Dec 2016, 17:23)
...now I need kmod-dummy .
github.com/lede-project/source/blob/82aa061251f9efa68bea8fd4f3bcfb28d3654d5a/package/kernel/linux/modules/netdevices.mk#L729
piling on to tdw.hbp's comment, posting your custom kernel-tree to github may elicit some self-service ...
Start out doing that and see if it works for you.
P.S. If you want to, in the LEDE Configuration menu scroll down to LuCi and choose it so you have a Gui to log into.
Thanks! Have just kicked off a massive LEDE build of everything for Shelby. Can I bother you with your patches? I want to achieve the same rock solid stability as your build
Currently there's only 1 outstanding issue that's bothering the builds, and that's with busybox dealing with nslookup. I guess it should be quantified by saying, the features I've been using, there's only been one observed issue.
Just 1 patch being applied right now. This patch fixes a ddns not being able to report the outside interface properly.
#!/bin/sh
# Script to workound current busybox issue with nslookup.
# 10/16/2016
# Dropped into /source/target/linux/mvebu/base-files/etc/uci-defaults
mv /usr/bin/nslookup /usr/bin/nslookup.old
touch /usr/bin/nslookup
echo '/bin/busybox nslookup $1 localhost' > /usr/bin/nslookup
chmod 777 /usr/bin/nslookup
(Last edited by davidc502 on 6 Nov 2016, 03:50)
Currently there's only 1 outstanding issue that's bothering the builds, and that's with busybox dealing with nslookup. I guess it should be quantified by saying, the features I've been using, there's only been one observed issue.
Just 1 patch being applied right now. This patch fixes a ddns not being able to report the outside interface properly.
#!/bin/sh # Script to workound current busybox issue with nslookup. # 10/16/2016 # Dropped into /source/target/linux/mvebu/base-files/etc/uci-defaults mv /usr/bin/nslookup /usr/bin/nslookup.old touch /usr/bin/nslookup echo '/bin/busybox nslookup $1 localhost' > /usr/bin/nslookup chmod 777 /usr/bin/nslookup
@davidc502 hey there, I've run this script to address the nslookup error for Google Domains, but it still seems to throw up.
user.warn ddns-scripts[11394]: Google_Domains: Get registered/public IP for '(my domain)' failed - retry 153/0 in 60 seconds
user.err ddns-scripts[11394]: Google_Domains: BusyBox nslookup error: '1'
Is there something else I need to take into account? Or perhaps I am assuming the fix you mention is for this rather than something else? Have you experienced this as well?
Who are you using for ddns?
Who are you using for ddns?
Google domains
Update - New images available
All luci-apps have been included in the repo this time. I've tried to go back and make sure everyone's requested packages are included including all language support, but there's a chance someone was left out, sorry about that. I guess I didn't expect so many people being involved. It's okay, because this has helped to push me into learning more about what happens behind the curtain of OpenWrt/lede.
I did compile the new 3200acm, but didn't upload those images this time. Since it's such a new product it will take a few months for people to start requesting it.
Hi David,
It appears that there is an issue with ethernet network speed (using AFP/SMB on iMac). The iMac's download speed via ethernet won't raise above 11-12 Mb. Normally, this value is around 100 Mb.
I'v also tried to switch, router's ethernet only, MTU to 9000, but my Synology NAS won't recognise ethernet network as a Gigabit one, therfore I'm not able to use Jumbe frames(MTU=9000).
I'm on 1900AC v.1.
Would you be able to have a look into it?
Many thanks.
UPD: I've rolled back to the previous version and it seems that the issue also exists there.
(Last edited by Rafkat on 9 Nov 2016, 11:32)
davidc502 wrote:Who are you using for ddns?
Google domains
That was in the log, but wasn't familiar with it, so thought I should ask.
From command line, on the router, can you do a nslookup google and paste the results here.
This is from my ddns log... Also, I have mydns.lan set as the dns server. The IP address source is set to Network.
112859 : Detect registered/public IP
112859 : #> /usr/bin/nslookup davidc502sis.dynamic-dns.net >/var/run/ddns/myddns_ipv4.dat 2>/var/run/ddns/myddns_ipv4.err
112859 : Registered IP 'xxx.xxx.xxx.xxx' detected
112859 info : Rerun IP check at 2016-11-07 11:28
112859 : Detect local IP on 'network'
112859 : Local IP 'xxx.xxx.xxx.xxx' detected on network 'wan'
112859 : Waiting 18000 seconds (Check Interval)
(Last edited by davidc502 on 7 Nov 2016, 23:30)
this is what I got:
root@router:~# nslookup google.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: google.com
Address 1: 172.217.4.46 lga15s46-in-f46.1e100.net
Address 2: 2607:f8b0:4006:80a::200e lga15s46-in-x0e.1e100.net
If it helps, I know that installing bind seems to fix the problem, but I'm more inclined to try to find the root cause because it's more interesting
UPDATE:
I think I figured out the problem; seems like an error on my part. I use the same domain name for my local network hosts as my DDNS address. Dnsmasq is likely blocking attempts to resolve the external host because it has the same domain. To fix it, I added a cron script that grabs my public IP and pipes it in to a file /etc/vpnhost . Then, I added this extra host file to the list of other host files in the DHCP/DNS config. I also needed to use a non-default DNS server, and since I have Google Domains, I set it to 8.8.8.8 .
The script I used in case this helps anyone else:
#!/bin/bash
myIP=$(ifconfig eth0 | grep "inet addr" | cut -d ':' -f 2 | cut -d ' ' -f 1)
myDomain=" my.ddns.address"
echo $myIP $myDomain > //etc/vpnhost
(Last edited by anymouse617 on 11 Nov 2016, 19:46)
Could you add shadowsocks-libev-* package to your repo?
# github.com/shadowsocks/openwrt-shadowsocks
# install feeds
./scripts/feeds update -a
./scripts/feeds install -a
# fetch Makefile
git clone github.com/shadowsocks/openwrt-shadowsocks.git package/shadowsocks-libev
# select package Network -> shadowsocks-libev-*
make menuconfig
# complie
make package/shadowsocks-libev/compile V=99
# if you get the following error
# checking whether mbedtls supports Cipher Feedback mode or not... configure:error: MBEDTLS_CIPHER_MODE_CFB required
# you should check github.com/wongsyrone/lede-1/blob/master/package/libs/mbedtls/patches/999-tweak-config-for-shadowsocks.patch and apply this to your codebase.
# via github.com/shadowsocks/shadowsocks-libev/issues/663
# Finally, the package will be in bin/packages/arm_cortex-a9_vfpv3/base directory.
(Last edited by jahiy on 13 Nov 2016, 08:10)
And also add luci-app-shadowsocks package to your repo? (it is different from luci-app-shadowsocks-libev which is in luci official repo)
# github.com/shadowsocks/luci-app-shadowsocks
# clone repo
git clone github.com/shadowsocks/luci-app-shadowsocks.git package/luci-app-shadowsocks
# select package LuCI -> Applications -> luci-app-shadowsocks
make menuconfig
# compile (you may run `make` before this step)
make package/luci-app-shadowsocks/compile V=99
# luci-app-shadowsocks has dependencies on iptables and ipset.
# these packages can be found in bin/packages/arm_cortex-a9_vfpv3/base directory.
(Last edited by jahiy on 13 Nov 2016, 08:19)
I've been able to compile all kernel modules and luci-apps, so hopefully I'll have something out in the next few days.
Holy smokes, so you mean a release that has everything available already baked in?
There isn't enough space to include everything in the build, so all of the usual apps and mods, will be included as always. The difference is all luci-apps and mods will be available in the repo. So, if you want to add something not included, it will be there waiting.
Could you please include 'htop' in your repo? Searching in opkg didn't bring up any results.
The new build is out there, with a much larger repo than before. I'm starting to get the hang of getting more packages compiled, so bear with me as I'm working towards compiling all possible packages.
I know there's still packages missing, but I did get all luci-ap and all kernel-mods completed this time.
New build is Based on kernel version 4.4.32
So far testing has gone really well, and wifi is working great. Would appreciate feedback to its stability and speed.
*Improvement*
I've managed to find a way to keep the packages in play if someone decides to using a older image. So, each image will have a specific path to a repository based on the version of the image. As versions change, new paths will be built, so even though it's constantly evolving, it won't matter what image you use, the packages for that version will always be there moving forward from the image released yesterday.
Next plan is to get the rest of those packages built.
(Last edited by davidc502 on 18 Nov 2016, 18:30)
Hey David,
Just wanted to report on your latest build. Flashed and restored settings successfully, and can report that the build is stable so far and WiFi is performing great. I am getting full speeds.
Thanks for all the great work!
New build is Based on kernel version 4.4.32
So far testing has gone really well, and wifi is working great. Would appreciate feedback to its stability and speed.
*Improvement*
I've managed to find a way to keep the packages in play if someone decides to using a older image. So, each image will have a specific path to a repository based on the version of the image. As versions change, new paths will be built, so even though it's constantly evolving, it won't matter what image you use, the packages for that version will always be there moving forward from the image released yesterday.Next plan is to get the rest of those packages built.
Thanks David.
I actually decided to stick with the previous build for now- yesterday I decided to stop being lazy and cloned the LEDE repo and created the build environment.
Managed to build the missing packages I wanted:
shadow-useradd
shadow-groupadd
netatalk (latest version) and its dependencies
transmission-openssl
Now I have my transmission, dlna, timecapsule setup working great with your build.
In case I decide to upgrade I will let you know how the new build is working for me!
Thanks again
This is probably a circular question but i am experiencing high latency across wifi with wmm enabled. I am currently on WRT1900AC V1 - OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55). I have not been able to find a place to update to the new Wifi driver that seems to be the fix. My kmod-mwlwifi is 3.18.23+10.3.0.16-201..5-1. Can anyone direct me to the correct place?
This is probably a circular question but i am experiencing high latency across wifi with wmm enabled. I am currently on WRT1900AC V1 - OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55). I have not been able to find a place to update to the new Wifi driver that seems to be the fix. My kmod-mwlwifi is 3.18.23+10.3.0.16-201..5-1. Can anyone direct me to the correct place?
This is basically how it works.... Chaos Calmer 15.05.1 came out last March (2016), and the driver may have been out a few months before that. That wifi driver that came with chaos Calmer never changes, unless you have someone compile the latest driver for kernel 3.18.23, and tells you how to install it.
Another option would be to download a daily snapshot, which will contain the latest wifi driver. However, it will not come with LuCi (Gui) as you have to install that through command line. Once LuCi is up, then you can install packages as you normally do. Keeping in mind, after a few days, new snapshots are uploaded (Always evolving), and you likely will not be able to install any more packages unless you use the force option which can be risky. > Snapshot link https://downloads.openwrt.org/snapshots … u/generic/
The 3rd option would be to use someone's (3rd party) image. Usually, these are based on snapshots, but will likely come with Luci and other packages pre-compiled, so you don't have to install them yourself. 3rd party snapshots are also likely to contain the latest patches (if needed) as well as updated drivers.
Hope that helps.
(Last edited by davidc502 on 19 Nov 2016, 22:10)
David,
I pulled a snapshot and that worked perfectly. Is Lede any better?
(Last edited by iceberg9992004 on 20 Nov 2016, 01:00)