OpenWrt Forum Archive

Topic: Update on Linksys WRT1900AC support

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

CC.1 is coming, DD's release date isn't decided yet

muronghan wrote:

@InkblotAdmirer, what is the kernal of your build? 3.18.23 or 4.1.x?

3.18.26, which is what CC.1 is going to be I'm guessing.

InkblotAdmirer wrote:
muronghan wrote:

@InkblotAdmirer, what is the kernal of your build? 3.18.23 or 4.1.x?

3.18.26, which is what CC.1 is going to be I'm guessing.

All right, then I should be more than looking forward to this cc.1.....for some reason, I would like to stay at 3.18.x rather than 4.1.x and hopefully the guest wifi issue could be fixed this time. thx for your information.

Kaloz wrote:

CC.1 is coming, DD's release date isn't decided yet

vcool! smile

Kernel 4.4 with nand patch is the most stable so far

InkblotAdmirer wrote:
muronghan wrote:

@InkblotAdmirer, what is the kernal of your build? 3.18.23 or 4.1.x?

3.18.26, which is what CC.1 is going to be I'm guessing.

Actually CC.1 will most likely be on 4.4.

nitroshift

On the WRT1900AC V1 it looks like once the kernel goes over 4mb in size u-boot fails to load it:

## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   linux
   Created:      2016-03-01   3:57:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4264475 Bytes = 4.1 MiB
   Load Address: 00200000
   Entry Point:  00200000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Marvell>>

Anyone else see this issue?

Does anyone know how to update u-boot on the Linksys WRT routers?

nitroshift wrote:

Actually CC.1 will most likely be on 4.4.

The OpenWRT team is a bit more out there on the risk curve than I expected for a stable branch.  smile

I'm a bit curious at the reasoning -- what does 4.4 bring for CC over 3.18?  Is it just that a lot of the features that are being backported from trunk (more than I expected actually) have more testing with that branch?

CC.1 is shaping up to be a pretty nice update from CC. All the effort bringing this together is much appreciated.

Chadster766 wrote:

On the WRT1900AC V1 it looks like once the kernel goes over 4mb in size u-boot fails to load it:

## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   linux
   Created:      2016-03-01   3:57:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4264475 Bytes = 4.1 MiB
   Load Address: 00200000
   Entry Point:  00200000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Marvell>>

Anyone else see this issue?

What's your boot command? My first guess would be this:

root@wrt1900ac:~# fw_printenv linksys_nandboot
linksys_nandboot=nand read $default_load_addr $pri_kern_addr $pri_kern_size; setenv bootargs $console $default_mtdparts root=/dev/mtdblock5 ro rootfstype=$fs_type init=/sbin/init; bootm $default_load_addr;
root@wrt1900ac:~# fw_printenv pri_kern_size
pri_kern_size=0x400000
root@wrt1900ac:~# 

which is 4MB/4194304 bytes.

I have a 33MB initramfs uImage that loads OK, so u-boot seems to be able to handle it.

Very stable for me:


Hostname               OpenWrt
Model                      Linksys WRT1900ACv2
Firmware Version    OpenWrt Designated Driver r48762 / LuCI Branch (git-16.055.60053-55597da)
Kernel Version         4.4.2

johan81 wrote:
trustno1foxm wrote:
davidc502 wrote:

There are certainly areas that can still be improved, no doubt.

**EDIT**

Just as a test, a few weeks back, I ran the Stock Image, and at least with the devices I have, didn't work as well as OpenWrt Wifi driver.

Yes, my streaming devices do work properly with stock, but over-all performance is better with OpenWrt.

Improvement is the wrong word, it's not working, so it needs to be fixed. (2 ssids on one radio crashes).

I do not experience any problems any more since the latest builds, while it always happened here.

Same, here, 2 SSIDs on 2.4 GHz and 2 as well on 5GHz. 10 days uptime, no crash, and a lot of Wifi activity.
All on latest trunk (r48639) on a WRT1200.
Mind you, the second SSids, on both radios, are guest SSIDs that rarely get used, (blocked by FW), but they're always on, from a layer 1 & 2 perspective.

@trustno1foxm, can you post your
  - /etc/config/wireless
  - /var/run/hostapd-phy0.conf
  - /var/run/hostapd-phy1.conf

over here (with sensitive stuff removed), so we may have a look ?

I apologize if this is a stupid question - after reading / searching for a long time in this and other threads, I am still not sure if my problem is going to be solved by CC.1.

I have a WRT1900ACS, and no matter if I am using 2.4 GHz, 5 GHz (or both) - with only 1 SSID on each frequency as of now - my WiFi only works for 1-3 hours, then it´s either dead or at least unusably slow.

I tried trunk (r48639) and the latest Kaloz build (from 27.12.2015), with the same result.

Should I just wait for CC.1, or try to debug the problem further?

Sorry for my ignorance, I just wasn´t able to pinpoint this problem to one specific issue or a certain release. There is a *lot* information here, but while some people report similar problems, for others it seems to just work. Any pointers are really appreciated. Thanks!

K.

*edit* clarified that I use different SSIDs on both frequencies

(Last edited by kuminamoya on 2 Mar 2016, 16:41)

regadpellagru wrote:
johan81 wrote:
trustno1foxm wrote:

Improvement is the wrong word, it's not working, so it needs to be fixed. (2 ssids on one radio crashes).

I do not experience any problems any more since the latest builds, while it always happened here.

Same, here, 2 SSIDs on 2.4 GHz and 2 as well on 5GHz. 10 days uptime, no crash, and a lot of Wifi activity.
All on latest trunk (r48639) on a WRT1200.
Mind you, the second SSids, on both radios, are guest SSIDs that rarely get used, (blocked by FW), but they're always on, from a layer 1 & 2 perspective.

@trustno1foxm, can you post your
  - /etc/config/wireless
  - /var/run/hostapd-phy0.conf
  - /var/run/hostapd-phy1.conf

over here (with sensitive stuff removed), so we may have a look ?

thx for your feedback! I really love the device, but the wifi is making me crazy...

I opened a issue case & output is here:
https://github.com/kaloz/mwlwifi/issues … -178019230

which kernel uses the trunk version? is r48639 that one from openwrt -> snapshots (7.2.2016)?
guest wifi is used every day, but always from the same devices...

Coming up on 50 days uptime.  No crashes, hicups, or slowdowns so far...

I'm running my own-built image containing;
- Trunk clone (r47968)
- mwlwifi driver 10.3.0.16-20160105
- nand patch

Hostname    OpenWrt
Model    Linksys WRT1900AC
Firmware Version    OpenWrt Designated Driver r47968 / LuCI Master (git-15.354.35228-edf352e)
Kernel Version    4.4.0-rc5
Local Time    Wed Mar 2 08:14:57 2016
Uptime    47d 12h 20m 3s

I have two SSIDs on 2.4GHz radio, and one SSID on 5GHz radio.
The second SSID on 2.4GHz is a guest network, but is secured (WPA2 PSK), and on it's own firewall'd network.

Here is my /etc/config/wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option channel '11'
    option hwmode '11g'
    option path 'platform/soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
    option country 'US'
    option txpower '30'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option macaddr '94:10:3e:0e:5f:c4'
    option ssid 'OpenWrt2G'
    option key 'xxxxxxxx'
    option encryption 'psk2'
    option hidden '1'

config wifi-device 'radio1'
    option type 'mac80211'
    option hwmode '11a'
    option path 'platform/soc/soc:pcie-controller/pci0000:00/0000:00:03.0/0000:03:00.0'
    option country 'US'
    option channel '157'
    option txpower '30'
    option htmode 'VHT40'

config wifi-iface
    option device 'radio1'
    option network 'lan'
    option mode 'ap'
    option macaddr '94:10:3e:0e:5f:c5'
    option ssid 'OpenWrt5G'
    option hidden '1'
    option key 'xxxxxxxxx'
    option encryption 'psk2'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'OpwnWrtGuest'
    option network 'lan2'
    option key 'xxxxxxxxx'
    option encryption 'psk2'

Here is my /etc/config/network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd1e:31ba:8556::/48'

config interface 'lan'
    option type 'bridge'
    option ifname 'eth0'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan'
    option ifname 'eth1'
    option _orig_ifname 'eth1'
    option _orig_bridge 'false'
    option proto 'pppoe'
    option username 'xxxxxxxx'
    option password 'xxxxxxxx'
    option ipv6 'auto'

config interface 'wan6'
    option ifname 'eth1'
    option proto 'dhcpv6'

config switch
    option name 'switch0'
    option reset '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 3 5'
    option vid '1'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '4 6'
    option vid '2'

config interface 'vpn'
    option ifname 'tun0'
    option proto 'none'

config interface 'lan2'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.2.1'
    option netmask '255.255.255.0'
    option dns '1.2.3.4 5.6.7.8'
trustno1foxm wrote:
regadpellagru wrote:
johan81 wrote:

I do not experience any problems any more since the latest builds, while it always happened here.

Same, here, 2 SSIDs on 2.4 GHz and 2 as well on 5GHz. 10 days uptime, no crash, and a lot of Wifi activity.
All on latest trunk (r48639) on a WRT1200.
Mind you, the second SSids, on both radios, are guest SSIDs that rarely get used, (blocked by FW), but they're always on, from a layer 1 & 2 perspective.

@trustno1foxm, can you post your
  - /etc/config/wireless
  - /var/run/hostapd-phy0.conf
  - /var/run/hostapd-phy1.conf

over here (with sensitive stuff removed), so we may have a look ?

thx for your feedback! I really love the device, but the wifi is making me crazy...

I opened a issue case & output is here:
https://github.com/kaloz/mwlwifi/issues … -178019230

which kernel uses the trunk version? is r48639 that one from openwrt -> snapshots (7.2.2016)?
guest wifi is used every day, but always from the same devices...

You may want to read the first post in this forum and try the build that Arokh puts together.
Been running his image for months on my WRT1900ACv2 and it is working very well.

https://forum.openwrt.org/viewtopic.php?id=50914

mojolacerator wrote:
trustno1foxm wrote:
regadpellagru wrote:

Same, here, 2 SSIDs on 2.4 GHz and 2 as well on 5GHz. 10 days uptime, no crash, and a lot of Wifi activity.
All on latest trunk (r48639) on a WRT1200.
Mind you, the second SSids, on both radios, are guest SSIDs that rarely get used, (blocked by FW), but they're always on, from a layer 1 & 2 perspective.

@trustno1foxm, can you post your
  - /etc/config/wireless
  - /var/run/hostapd-phy0.conf
  - /var/run/hostapd-phy1.conf

over here (with sensitive stuff removed), so we may have a look ?

thx for your feedback! I really love the device, but the wifi is making me crazy...

I opened a issue case & output is here:
https://github.com/kaloz/mwlwifi/issues … -178019230

which kernel uses the trunk version? is r48639 that one from openwrt -> snapshots (7.2.2016)?
guest wifi is used every day, but always from the same devices...

You may want to read the first post in this forum and try the build that Arokh puts together.
Been running his image for months on my WRT1900ACv2 and it is working very well.

https://forum.openwrt.org/viewtopic.php?id=50914

thx! I know that image, but there is so much bloatware onboard hmm I want a clean image.

(Last edited by trustno1foxm on 2 Mar 2016, 17:58)

Does someone try to put motion package and video drivers for camera? Logitech c270?
I cant find this kmod-video-uvc...

mrfrezee wrote:
anomeome wrote:

@mrfrezee
Patch

I did find the patch but didn't really know where to put it until i saw your post. It booted from the first try after flashing.

Thanks again.

Its more stable but still have some NAND Timeout at bootup (occurs 1 in 5 times), does someone know why this is happening ? Is it kernel-version related (im in 4.4.3-rc5) ?

any word on this? when it will be fixed?

jmschu02 wrote:

any word on this? when it will be fixed?

Looks like buildbot is running again. It is being tweaked from svn to git etc., and so far no builds have been completed. If everything goes ok, you could maybe expect builds in 1-2 days. (mvebu platform is still waiting in the queue)

http://buildbot.openwrt.org:8010/grid

(Last edited by hnyman on 3 Mar 2016, 18:29)

hnyman wrote:
jmschu02 wrote:

any word on this? when it will be fixed?

Looks like buildbot is running again. It is being tweaked from svn to git etc., and so far no builds have been completed. If everything goes ok, you could maybe expect builds in 1-2 days. (mvebu platform is still waiting in the queue)

http://buildbot.openwrt.org:8010/grid

Super!

I was searching on this forum but couldn't find anything about my problem. I'm using OpenWRT on many platforms but I have a strange one on WRT1900ac v1 router. It is with reboot, when I perform reboot, either through command line or Luci, then the router hangs and I need to power cycle it. Does anybody else has this problem? I'm using the latest final firmware OpenWrt Chaos Calmer 15.05 / LuCI (git-15.248.30277-3836b45) with kernel 3.18.20.
Thanks.

aktur wrote:

I was searching on this forum but couldn't find anything about my problem. I'm using OpenWRT on many platforms but I have a strange one on WRT1900ac v1 router. It is with reboot, when I perform reboot, either through command line or Luci, then the router hangs and I need to power cycle it. Does anybody else has this problem? I'm using the latest final firmware OpenWrt Chaos Calmer 15.05 / LuCI (git-15.248.30277-3836b45) with kernel 3.18.20.
Thanks.

I have a WRT1200AC router and have these problems every now and then, it is related to the much mentioned NAND issue (which I do not really understand what it exactly is though). I also have seen it happen more with external storage attached than without.

aktur wrote:

I was searching on this forum but couldn't find anything about my problem. I'm using OpenWRT on many platforms but I have a strange one on WRT1900ac v1 router. It is with reboot, when I perform reboot, either through command line or Luci, then the router hangs and I need to power cycle it. Does anybody else has this problem? I'm using the latest final firmware OpenWrt Chaos Calmer 15.05 / LuCI (git-15.248.30277-3836b45) with kernel 3.18.20.
Thanks.

Yes, 15.05 is known to to hang due to a wifi bug. If you need reliability you can try the latest trunk image which is known to be much more reliable that CC.