What's new

Linksys WRT1900AC, WRT1900ACS, WRT1200AC and WRT3200ACM Router Debian Implementation

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Hi @cilix789

I was thinking, I could test your Ubuntu-WRT sqm setup and at the same time verify for you that it works on the other WRT models.

That would be great. SQM is not enabled by default, since proper configuration is needed first. There's a good config example in the /etc/sqm folder.

Keep in mind that I'm not renaming interfaces on this one and the switch on the other WRT models is different (WRT3200ACM: eth0 for LAN, eth1 for WAN; rest of WRT models I think have eth1 for LAN and eth0 for WAN), so changes should be made to the configuration files!
 
That would be great. SQM is not enabled by default, since proper configuration is needed first. There's a good config example in the /etc/sqm folder.

Keep in mind that I'm not renaming interfaces on this one and the switch on the other WRT models is different (WRT3200ACM: eth0 for LAN, eth1 for WAN; rest of WRT models I think have eth1 for LAN and eth0 for WAN), so changes should be made to the configuration files!
Thanks for the heads up on the interfaces. I will drop in the McDebian udev script on the rootfs before I plug it in.
 
Updated Ubuntu Xenial for the WRT3200ACM with latest mwlwifi and several other improvements.
Links for the firmware and rootfs are available in the project's README.md.
You can check it out in the GitHub repo: https://github.com/cilix-lab/ubuntu-wrt
Sorry, I realized once I got started testing your firmware on a WRT1200AC V1 that I would have to compile a Ubuntu Linux kernel image for it.

Unfortunately I won't have time to compile the Ubuntu Linux kernel images for WRT models I would have liked to have tested for you :(
 
That would be great. SQM is not enabled by default, since proper configuration is needed first. There's a good config example in the /etc/sqm folder.

Keep in mind that I'm not renaming interfaces on this one and the switch on the other WRT models is different (WRT3200ACM: eth0 for LAN, eth1 for WAN; rest of WRT models I think have eth1 for LAN and eth0 for WAN), so changes should be made to the configuration files!
Your rootfs and firmware worked on the WRT1200AC V1 without modification. There is a good size delay in the system bringing up the interfaces.
 
That would be great. SQM is not enabled by default, since proper configuration is needed first. There's a good config example in the /etc/sqm folder.
The SQM scripts are complex. I can see why this is needed for quick QOS configs.
 
Going to be working on booting straight from USB. Looks like you need to do 'usb read' to pre-load the ramdisk into memory before booting, similar to the TFTP boot method.

Can you provide a linux-headers package for the kernel in the rootfs? Compiling kernel modules for 3rd party stuff looks like it will be a nightmare without them, unless I'm missing something obvious.
 
Going to be working on booting straight from USB. Looks like you need to do 'usb read' to pre-load the ramdisk into memory before booting, similar to the TFTP boot method.

Can you provide a linux-headers package for the kernel in the rootfs? Compiling kernel modules for 3rd party stuff looks like it will be a nightmare without them, unless I'm missing something obvious.
Nope, everything is ready for you in my GitHub repo:

https://github.com/Chadster766/McDebian/wiki
 
Updated Ubuntu-WRT ROOTFS and firmware to 4.10.0-9.11_16.04.2_20170617, with some improvements and latest mwlwifi. Links available on the GitHub repo: https://github.com/cilix-lab/ubuntu-wrt

Your rootfs and firmware worked on the WRT1200AC V1 without modification. There is a good size delay in the system bringing up the interfaces.

I'm guessing ROOTFS and firmware should work on any WRT Armada based router, since the only considerable difference in config should be the switch layout. So, switching eth0 for eth1 and vice versa in every relevant config file before booting up a non-WRT3200ACM router, should fix everything. I think those files probably are:

Code:
/etc/network/interfaces
/etc/iptables.up.rules
/etc/ip6tables.up.rules
/etc/sysctl.conf
/etc/dibbler # dibbler files if using IPv6
 
I'm guessing ROOTFS and firmware should work on any WRT Armada based router, since the only considerable difference in config should be the switch layout.

Don't forget about the other WRT model's DTS firmware file requirement ;)
 
Don't forget about the other WRT model's DTS firmware file requirement ;)
Yes! Sorry! That's right... for those, the kernel image should be recompiled. :confused:
I may be able to provide proper kernel images with the appended DTS for the other WRT routers. I'll look into it.
 
I've made available firmware images for the WRT1900AC v2 and the WRT1200AC in the following links:

WRT1900AC v2: https://www.mediafire.com/?8z26dio9eq3emej
WRT1200AC: https://www.mediafire.com/?dwoafq1fg911a59

Be aware that I haven't been able to test any of these images, since I don't have the hardware. They should work with ROOTFS v4.10.0-9.11_16.04.2_20170617, though, providing you make necessary changes to config files as stated in previous posts.
 
I've made available firmware images for the WRT1900AC v2 and the WRT1200AC in the following links:

WRT1900AC v2: https://www.mediafire.com/?8z26dio9eq3emej
WRT1200AC: https://www.mediafire.com/?dwoafq1fg911a59

Be aware that I haven't been able to test any of these images, since I don't have the hardware. They should work with ROOTFS v4.10.0-9.11_16.04.2_20170617, though, providing you make necessary changes to config files as stated in previous posts.
Great I will test them out for you.

I don't think changes will be necessary to the config files since the interfaces odd ball is the WRT1900AC V1.
 
Just curious if folks building against armada-38x are pulling in the Marvell kernel patches... It does help with Armada 38x - I understand if folks are reluctant (and if one has NDA with Marvell, well...)

https://github.com/MarvellEmbeddedProcessors

Some of the patches are more suited for kernel 4.4.8, gcc 5.5 - can merge most of them for mvebu64, which I was working on for the science project which is aarch64 - think 3700/8040 chips...
 
I haven't been.

The Linux kernel devs have been very good at updating the mvebu DTS files and providing it's kernel patches.

Which patches for the WRT models do you recommend?
 
Which patches for the WRT models do you recommend?

I'm not working on WRT's... did some work on Armada 38x as a port...

Just suggesting that one looks at the public sources that Marvell has published for the kernel - some of the patches are out of tree on mainline linux for obvious reasons...
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top