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.

@sera pls reupload sad

Ansuel wrote:

@sera pls reupload sad

I assume you know that swrt is a set of patches which you apply to openwrt sources right? You have to configure and build the image yourself.

JohnFlower wrote:
Ansuel wrote:

@sera pls reupload sad

I assume you know that swrt is a set of patches which you apply to openwrt sources right? You have to configure and build the image yourself.

i know but if i don't have the set of patches... how can i build the image?

Ansuel wrote:
JohnFlower wrote:
Ansuel wrote:

@sera pls reupload sad

I assume you know that swrt is a set of patches which you apply to openwrt sources right? You have to configure and build the image yourself.

i know but if i don't have the set of patches... how can i build the image?

OpenWrt & LEDE images will build fine without the patches, with the patches offering a custom fix for different things from kernel to drivers.

JW0914 wrote:
Ansuel wrote:
JohnFlower wrote:

I assume you know that swrt is a set of patches which you apply to openwrt sources right? You have to configure and build the image yourself.

i know but if i don't have the set of patches... how can i build the image?

OpenWrt & LEDE images will build fine without the patches, with the patches offering a custom fix for different things from kernel to drivers.

DUDE I KNOW HOW TO BUILD IT... i arleady have lede on my router and i compile the image myself everytime...
I JUST NEED THE DSA PATCH...

@Ansuel, you asked "i know but if i don't have the set of patches... how can i build the image?", of which implied you didn't understand building an image is not dependent on those patches.  Instead of being testy, better articulate what you're asking.

(Last edited by JW0914 on 30 Jun 2017, 14:03)

It seems clear that he is looking for that set of patches to apply to the git repo so that he gets the functionality of the patchset.

Long time lurker, first time poster.  I've been a Openwrt/Lede fan for a few years now since a friend turned me on to the wonders of SQM QoS.

I have a Linksys WRT1900ACv2 running the network at a cafe.  It is providing open wifi for cafe customers as well as the private network for the office.  The public wifi is setup as a guest network with clients isolated from each other and the office network is on a separate interface/subnet.  The public wifi gets a lot of clients throughout the day connecting and disconnecting.  After about two hours the 2.4GHz clients can't connect. Here is a small sample of the system log:

Fri Jun 30 08:55:11 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 4c:7c:5f:29:65:17
Fri Jun 30 08:55:12 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK a4:70:d6:d0:1f:cd
Fri Jun 30 08:55:20 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 28:a0:2b:5e:d7:2f
Fri Jun 30 08:55:23 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 1c:91:48:18:8f:45
Fri Jun 30 08:55:35 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK bc:6c:21:d2:49:65
Fri Jun 30 08:55:49 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:49 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver
Fri Jun 30 08:55:50 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK c8:1e:e7:e7:ed:68
Fri Jun 30 08:55:53 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:53 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver
Fri Jun 30 08:55:59 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:59 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver

I'm running a wifi down/up cron script every hour and daily reboots to mitigate the issue but I would rather it just works as intended.
Is there a maximum wireless client limit that I'm not aware of?  dhcp for wlan1-1 is configured for 1000 clients (probably overkill but I think we could conceivably see several hundred in a day).

I am posting here because I had been using an TP-Link Archer C5 in a similar configuration and it did not have this issue.  I replaced it with the WRT1900ACv2 because it has better wireless range and a faster processor.  Also I've been using one at home and I love it.

I would appreciate any ideas or a point in the right direction for help if this isn't the place for this post.

sprobot wrote:

...I'm running a wifi down/up cron script every hour

Sorry, dont have any answers for you, but wondering if you could share the script?  I have been running into problems with my 1900ACv1 and had thought a script to reset the wifi's (2.4 and 5) might help but never got the commands working.

IvanRaide wrote:
sprobot wrote:

...I'm running a wifi down/up cron script every hour

Sorry, dont have any answers for you, but wondering if you could share the script?  I have been running into problems with my 1900ACv1 and had thought a script to reset the wifi's (2.4 and 5) might help but never got the commands working.

Put this in the scheduled tasks and then reboot your router or restart cron:

0 * * * * wifi down && sleep 10 && wifi up 

"Every hour at the top of the hour, turn off wifi, wait 10 seconds, turn on wifi"

sprobot wrote:

Long time lurker, first time poster.  I've been a Openwrt/Lede fan for a few years now since a friend turned me on to the wonders of SQM QoS.

I have a Linksys WRT1900ACv2 running the network at a cafe.  It is providing open wifi for cafe customers as well as the private network for the office.  The public wifi is setup as a guest network with clients isolated from each other and the office network is on a separate interface/subnet.  The public wifi gets a lot of clients throughout the day connecting and disconnecting.  After about two hours the 2.4GHz clients can't connect. Here is a small sample of the system log:

Fri Jun 30 08:55:11 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 4c:7c:5f:29:65:17
Fri Jun 30 08:55:12 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK a4:70:d6:d0:1f:cd
Fri Jun 30 08:55:20 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 28:a0:2b:5e:d7:2f
Fri Jun 30 08:55:23 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK 1c:91:48:18:8f:45
Fri Jun 30 08:55:35 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK bc:6c:21:d2:49:65
Fri Jun 30 08:55:49 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:49 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver
Fri Jun 30 08:55:50 2017 daemon.notice hostapd: wlan1-1: AP-STA-POLL-OK c8:1e:e7:e7:ed:68
Fri Jun 30 08:55:53 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:53 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver
Fri Jun 30 08:55:59 2017 daemon.info hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: authenticated
Fri Jun 30 08:55:59 2017 daemon.notice hostapd: wlan1-1: STA 5c:0a:5b:15:6b:65 IEEE 802.11: Could not set STA to kernel driver

I'm running a wifi down/up cron script every hour and daily reboots to mitigate the issue but I would rather it just works as intended.
Is there a maximum wireless client limit that I'm not aware of?  dhcp for wlan1-1 is configured for 1000 clients (probably overkill but I think we could conceivably see several hundred in a day).

I am posting here because I had been using an TP-Link Archer C5 in a similar configuration and it did not have this issue.  I replaced it with the WRT1900ACv2 because it has better wireless range and a faster processor.  Also I've been using one at home and I love it.

I would appreciate any ideas or a point in the right direction for help if this isn't the place for this post.

Hi mate I would try flashing LEDE 17.1.2 It now has the new WIFI driver under dns and dhcp try ticking Allocate IP sequentially. under Interfaces - br-lan for me it's eth0.1 click edit and Lease time to 2h.

@tapper Thanks for the suggestion!  I am actually already using that.  I realize I left the version in my signature but spaced on listing it in my comment. Sorry about that!

I am using LEDE Reboot 17.01.2 r3435-65eec8bd5f / LuCI lede-17.01 branch (git-17.152.82987-7f6fc16)
Kernel Version    4.4.71

I'll give sequential addresses a try.

(Last edited by sprobot on 30 Jun 2017, 23:33)

tombo wrote:
LogicoZone wrote:

I think there is SAMBA issue over wifi but only limited to SAMBA server running on OpenWRT.

I agree it's only wifi + samba issue. Having Synology NAS connected to the router, download speeds from NAS over wifi are OK but from router samba share are in the kB/sec range. Using wired connection, I can easily get 40-50 MB/s from the router samba share.


Hello
I have ran at that specific issue - download speeds from samba over wifi is like KB/s. I have MB/s over cable.
I am running
luci-app-samba - git-16.018.33482-3201903-1
samba36-server - 3.6.25-5

on
Model    Linksys WRT1900ACv2
Firmware Version    OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55)
Kernel Version    3.18.23

Is there any newer drivers / packages that has fixed that bug and I can use? Or I have to give up OpenWRT?

Thank you

doni wrote:
tombo wrote:
LogicoZone wrote:

I think there is SAMBA issue over wifi but only limited to SAMBA server running on OpenWRT.

I agree it's only wifi + samba issue. Having Synology NAS connected to the router, download speeds from NAS over wifi are OK but from router samba share are in the kB/sec range. Using wired connection, I can easily get 40-50 MB/s from the router samba share.


Hello
I have ran at that specific issue - download speeds from samba over wifi is like KB/s. I have MB/s over cable.
I am running
luci-app-samba - git-16.018.33482-3201903-1
samba36-server - 3.6.25-5

on
Model    Linksys WRT1900ACv2
Firmware Version    OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55)
Kernel Version    3.18.23

Is there any newer drivers / packages that has fixed that bug and I can use? Or I have to give up OpenWRT?

Thank you

Yeah LEDE 17.1.2!
https://lede-project.org/

(Last edited by tapper on 1 Jul 2017, 15:59)

Just an FYI since I know many prefer nano to vi:

  • It appears the LEDE buildroot fixed the issue the OpenWrt buildroot had with modifying the nano makefile to include color and nanorc support (nano would refuse to compile with these changes in the OpenWrt buildroot for Marvel SOCs)

    • One can also get syntax highlighting support in vi via the runtime and fuller packages, and I recommed utilizing @amix's GitHub vimrc files if going that route (need to be saved to external media)


<buildroot>/package/feeds/packages/nano

#
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=nano
PKG_VERSION:=2.8.4
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+
PKG_LICENSE_FILES:=COPYING

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/nano
PKG_HASH:=c7cf264f0f3e4af43ecdbc4ec72c3b1e831c69a1a5f6512d5b0c109e6bac7b11

PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1

include $(INCLUDE_DIR)/package.mk

define Package/nano
  SUBMENU:=Editors
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=An enhanced clone of the Pico text editor
  URL:=http://www.nano-editor.org/
  MAINTAINER:=Jonathan Bennett <JBennett@incomsystems.biz>
  DEPENDS:=+libncurses
endef

define Package/nano/description
  Nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
  of the Pico text editor.
endef

CONFIGURE_ARGS += \
    --enable-tiny \
    --without-slang \
    --enable-utf8 \
    --enable-nanorc \
    --enable-color \
    --enable-help \
    --enable-linenumbers \
    --enable-multibuffer \
    --enable-browser \
    --enable-histories \

CONFIGURE_VARS += \
    ac_cv_header_regex_h=no \

define Package/nano/install
    $(INSTALL_DIR) $(1)/usr/bin
    $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
endef

$(eval $(call BuildPackage,nano))
  • This will increase the nano pacakge size from ~40KB to 94.7KB

  • Compile: make package/feeds/packages/nano/compile

(Last edited by JW0914 on 2 Jul 2017, 17:12)

Without a doubt, nano better, the only thing I don't like is that when he copies ' tab ' he replaces them with ' spaces '. sad

ValCher wrote:

Without a doubt, nano better, the only thing I don't like is that when he copies ' tab ' he replaces them with ' spaces '. sad

Tabs should always be set to soft tabs, thereby replacing tabs with the correct amount of spaces one has their tab value set to (2, 4, or 8), otherwise one will experience massive issues with code alignment, creating an enormous headache, especially if the code is several hundreds to thousands of lines long.

  • For GUI on Windows/Linux, the Atom editor is the best I've found for coding, of which handles soft tabs in an intelligent manner.

Soft tabs, or hard tabs for that matter, can be set via the ~/.nanorc file for nano, or the ~/.vimrc file for vi.  Regardless if one is writing a script/config 5 lines long or 5,000 lines long, it should be laid out in a sane, clean manner, as it makes any edits later far easier and efficient, as well as makes it easier for others to read.


For example, compare the LEDE default dhcp config to my custom one:

LEDE

config dnsmasq
    option domainneeded    1
    option boguspriv    1
    option filterwin2k    0  # enable for dial on demand
    option localise_queries    1
    option rebind_protection 1  # disable if upstream must serve RFC1918 addresses
    option rebind_localhost 1  # enable for RBL checking and similar services
    #list rebind_domain example.lan  # whitelist RFC1918 responses for domains
    option local    '/lan/'
    option domain    'lan'
    option expandhosts    1
    option nonegcache    0
    option authoritative    1
    option readethers    1
    option leasefile    '/tmp/dhcp.leases'
    option resolvfile    '/tmp/resolv.conf.auto'
    #list server        '/mycompany.local/1.2.3.4'
    option nonwildcard    1 # bind to & keep track of interfaces
    #list interface        br-lan
    #list notinterface    lo
    #list bogusnxdomain     '64.94.110.11'
    option localservice    1  # disable to allow DNS requests from non-local subnets

config dhcp lan
    option interface    lan
    option start     100
    option limit    150
    option leasetime    12h

config dhcp wan
    option interface    wan
    option ignore    1

Custom

#

    ##::[[---  OpenWrt LAN DHCP Config  ---]]::##

####################################################
             ##----- DNS Server -----##
####################################################

    # DNS Masq #
#---------------------------------------------------
config dnsmasq
    option  domain                  'local'
    option  local                   '/lan/'
    option  leasefile               '/tmp/dhcp.leases'
    option  resolvfile              '/tmp/resolv.conf.auto'
    option  localise_queries        1
    option  readethers              1
    option  localservice            1
    option  logquerries             0 
    option  domainneeded            1
    option  filterwin2k             0
    option  authoritative           0
    option  rebind_protection       0
    option  sequential_ip           1
    option  nonwildcard             0

####################################################
           ##----- DHCP Settings -----##
####################################################

    # Guest #
#---------------------------------------------------
config dhcp 'guest'
    option  interface           'guest'
    option  leasetime           '24h'
    option  start               2
    option  limit               13

    # LAN: Home Network #
#---------------------------------------------------
config dhcp 'lan'
    option  interface           'lan'
    option  leasetime           '24h'
    option  dhcpv6              'server'
    option  ra                  'server'
    option  ra_management       1
    option  force               1
    option  start               40
    option  limit               10

    # LAN: Home Entertainment #
#---------------------------------------------------
config dhcp 'vlan4'
    option  interface           'media'
    option  leasetime           '24h'
    option  start               10
    option  limit               5

    # LAN: Management #
#---------------------------------------------------
config dhcp 'vlan3'
    option  interface           'admin'
    option  leasetime           '24h'
    option  start               10
    option  limit               5

    # OpenVPN #
#---------------------------------------------------
config dhcp 'tun0'
    option  interface           'openvpn'
    option  leasetime           '24h'
    option  start               10
    option  limit               4

    # TOR #
#---------------------------------------------------
config dhcp 'tor0'
    option  interface           'tor'
    option  leasetime           '24h'
    option  start               10
    option  limit               4

    # ODHCPd #
#---------------------------------------------------
config odhcpd 'odhcpd'
    option  maindhcp            0
    option  leasefile           '/tmp/hosts/odhcpd'
    option  leasetrigger        '/usr/sbin/odhcpd-update'
    option  loglevel            4

####################################################
             ##----- Static IPs -----##
####################################################

    # Devices #
#---------------------------------------------------
config host
    option  ip          192.168.200.1
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Sophos-UTM'

config host
    option  ip          192.168.200.2
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'NX6'

config host
    option  ip          192.168.200.3
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'XT926'

config host
    option  ip          192.168.200.4
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PS3'

config host
    option  ip          192.168.200.5
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PS3-Slim'

config host
    option  ip          192.168.200.6
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PS4-LAN'

config host
    option  ip          192.168.200.7
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PS4-WiFi'

config host
    option  ip          192.168.200.8
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Xbox360'

config host
    option  ip          192.168.200.9
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'XboxOne-LAN'

config host
    option  ip          192.168.200.10
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'XboxOne-WiFi'

config host
    option  ip          192.168.200.11
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Wii'

config host
    option  ip          192.168.200.12
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'HR54'

config host
    option  ip          192.168.200.13
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'TV-LAN'

config host
    option  ip          192.168.200.14
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'TV-WiFi'

config host
    option  ip          192.168.200.15
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PC-LAN'

config host
    option  ip          192.168.200.16
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'PC-WiFi'

config host
    option  ip          192.168.200.17
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Canon'

config host
    option  ip          192.168.200.18
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Harmony-Elite'

config host
    option  ip          192.168.200.19
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Harmony-Home'

config host
    option  ip          192.168.200.20
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'AVR'

config host
    option  ip          192.168.200.21
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'C2750D4I-eth0'

config host
    option  ip          192.168.200.22
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'C2750D4I-eth1'

config host
    option  ip          192.168.200.23
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'FreeNAS-0'

config host
    option  ip          192.168.200.25
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'A1SRi-2758F.IPMI'

config host
    option  ip          192.168.200.26
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'Studio'

config host
    option  ip          192.168.200.27
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'vWin8.1Pro'

config host
    option  ip          192.168.200.32
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'UbuntuVM-LAN'

config host
    option  ip          192.168.200.33
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'UbuntuVM-WiFi'

config host
    option  ip          192.168.200.34
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'UVM17-LAN'

config host
    option  ip          192.168.200.35
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'UVM17-WiFi'

config host
    option  ip          192.168.200.61
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'ESXi-eth1'

config host
    option  ip          192.168.200.62
    option  mac         'xx:xx:xx:xx:xx:xx'
    option  name        'ESXi-eth0'

####################################################
     ##----- Inactive Networks for WAN -----##
####################################################

    # DNS Masq #
#---------------------------------------------------
#config dnsmasq
#   option  domain                  'local'
#   option  local                   '/lan/'
#   option  leasefile               '/tmp/dhcp.leases'
#   option  resolvfile              '/tmp/resolv.conf.auto'
#   option  domainneeded            1
#   option  boguspriv               1
#   option  localise_queries        1
#   option  rebind_protection       1
#   option  rebind_localhost        1
#   option  expandhosts             1
#   option  nonegcache              1
#   option  authoritative           1
#   option  readethers              1
#   option  nonwildcard             1
#   option  localservice            1
#   option  sequential_ip           1

    # WAN #
#---------------------------------------------------
#config dhcp 'wan'
#   option  interface           'wan'
#   option  ignore              1
  • Hash symbol on 1st line is for vi, which will refuse to syntax highlight unless the first line has one.

  • DNSmasq settings will be different than everyone else's since I've bridged eth0 & eth1, utilizing it as a smart switch.

(Last edited by JW0914 on 2 Jul 2017, 18:34)

@JW0914
Sometimes you have to comply with the original, for example, by cutting the code from the patch and creating a new trial patch. I didn't immediately understand why patch wasn't working. smile
Well, thanks for the comment.

All of the above was for the selection of text and copying with  for the mouse.
From the keyboard:
Select text, Start - 'Alt-A' or 'Ctrl-^', and then press the cursor keys.
Copy to Clipboard - 'Alt-6'
Paste text from the Clipboard - 'Ctrl-U' or 'F10'
This method does not replace the 'tabs' character with 'spaces'.

@valcher I think you mistook my nano post as a response to other posts, it wasn't =]

I simply wanted to post an FYI since I spent a couple of days months back trying to get nano to compile with syntax color and nanorc support for the Armada SOCs, and the OpenWrt buildroot would always error out.  I switched to the LEDE buildroot about a week ago and figured it was worth another shot to try and get nano to compile with support for those, and it compiled without issue.

  • There are a significant amount of features nano cannot be compiled with for the Armada SOCs, and a few that I didn't include in the makefile bumped the size of the package up from 94.7KB to over 250KB.

Provided soft tabs, or conversely hard tabs, is set in the nanorc file, it should auto convert pasted tabs, \t, to 4 spaces, or however many spaces are set for tab stop.  For example, these are the options I've added to my ~/.nanorc

set const
    # Display cursor position in the status bar

set softwrap
    # Soft wrap long lines

set smooth
    # Smooth scrolling 

set tabsize 4
    # Tab equals 4 spaces

set tabstospaces
    # Converts tabs to spaces

  # I don't have a use for it, but this enables the mouse
set mouse
    # Enables mouse use

(Last edited by JW0914 on 3 Jul 2017, 03:52)

I've had a WRT1200AC (8830-21687 Rev A02) working fine with OpenWRT for a while now. So, I just ordered another one, but what came is WRT1200AC (8830-21690 Rev B00 with UPC 745883684748). Before I open the box, I'm wondering if I can install OpenWRT on this one. (I've tried searching to no avail, it seems this Rev B00 isn't even mentioned in the forum or elsewhere.) Thanks for any help!

@dakoick You should have a USB-TTL cable, or other means for serial flashing, and if you do, flash OpenWrt and see.  The likely answer is yes, however if for whatever reason a problem occurs, you can use the serial cable.  The only thing i can see that would possibly be of issue is depending on what WiFi driver version it utilizes.

(Last edited by JW0914 on 3 Jul 2017, 19:06)

I ended up updating from 15.05 CC since my daily reboots where still happening.  I went to DavidC LEDE builds of r4470 kernel 4.4.74.  Unfortunately the disconnects and reboots are still happening.  I've turned on the logging to 8 for con and cron; just before the last reboot the only thing "different" was the wlan0 connect/disconnects.  I'm assuming those are not normal, they are normally not there?  Could they cause reboots though?

Mon Jul  3 18:32:03 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:32:05 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: authenticated
Mon Jul  3 18:32:05 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: associated (aid 6)
Mon Jul  3 18:32:05 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:32:05 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d WPA: pairwise key handshake completed (RSN)
Mon Jul  3 18:32:07 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:32:09 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: authenticated
Mon Jul  3 18:32:09 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: associated (aid 6)
Mon Jul  3 18:32:09 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:32:09 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d WPA: pairwise key handshake completed (RSN)
Mon Jul  3 18:33:31 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:33:33 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: authenticated
Mon Jul  3 18:33:33 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: associated (aid 6)
Mon Jul  3 18:33:33 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:33:33 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d WPA: pairwise key handshake completed (RSN)
Mon Jul  3 18:34:11 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 14:91:82:4f:1c:9d
Mon Jul  3 18:34:13 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: authenticated
Mon Jul  3 18:34:13 2017 daemon.info hostapd: wlan0: STA 14:91:82:4f:1c:9d IEEE 802.11: associated (aid 6)
Mon Jul  3 18:34:13 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 14:91:82:4f:1c:9d

(Last edited by IvanRaide on 4 Jul 2017, 05:17)

@sera vanished, together with his patches ? :-( ;-)

delandtj wrote:

@sera vanished, together with his patches ? :-( ;-)

can't underestand why he nerver made a github project.... would be so easy instead of download every time patches in a windows of time of 2 days...