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.

tomce wrote:

Boys, how can I change my WAN interface (Linksys WRT 1900ACS) to operate in 100MB mode, instead 1GB? I need this as I am getting PPPoE drops frequently. Cannot find any documentation online..

maybe so - https://www.rivy.org/2013/04/traffic-sh … h-openwrt/

(Last edited by ValCher on 25 Apr 2016, 16:51)

@tomce
At least you can connect. smile  I have been playing and can not even connect with pppoe@1Gb
Grasping at straws I set the mtu to 1492 which is what the isp's modem is set at.

Mon Apr 25 13:42:45 2016 daemon.notice netifd: Interface 'wan' is now down
Mon Apr 25 13:42:45 2016 daemon.notice netifd: Interface 'wan' is setting up now
Mon Apr 25 13:42:45 2016 daemon.info pppd[3757]: Plugin rp-pppoe.so loaded.
Mon Apr 25 13:42:45 2016 daemon.info pppd[3757]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Mon Apr 25 13:42:45 2016 daemon.notice pppd[3757]: pppd 2.4.7 started by root, uid 0
Mon Apr 25 13:42:45 2016 daemon.err pppd[3757]: Interface eth1 has MTU of 1492 -- should be at least 1500.
Mon Apr 25 13:42:45 2016 daemon.err pppd[3757]: This may cause serious connection problems.
Mon Apr 25 13:43:00 2016 daemon.warn pppd[3757]: Timeout waiting for PADO packets
Mon Apr 25 13:43:00 2016 daemon.err pppd[3757]: Unable to complete PPPoE Discovery
Mon Apr 25 13:43:00 2016 daemon.info pppd[3757]: Exit.

Same error as  always except it adds the MTU very frustrating since it always worked before @ 1Gb. Still trying to figure out to change link speed.

I have cleared my modem (vigor 120) to factory defaults and re-setup everything from scratch.. Waitting now for crash.. counting minutes smile if that will crash - it must be something with openwrt.. sad
Just FYI: nothing to do with MTU, I would leave defaults..  At least this is what has been recommended by my Network Team wink

(Last edited by tomce on 25 Apr 2016, 19:27)

Not sure the wrt1900ac v1 will allow a lower link speed. I thought most routers were backwards compatible?

root@OpenWrt:~# ethtool eth1
Settings for eth1:
        Supported ports: [ TP MII ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: No
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: on
        Link detected: yes

the wrt1900/1200 don't expose the ethernet interfaces directly to the outside world.

The ethernet interfaces connect to the switch, and the switch connects to the outside world. The interfaces to the outside world on the switch will have lower speeds, but the interface from the cpu to the switch will always run at full speed.

I got around 3 hours of running stable after bloody vigor 120 modem re-setup from scratch.. my pppoe is is stable! (well I hope so) smile

tomce wrote:

Which build you are running - I am getting continues drops of PPPoE interface (WAN):
Linksys WRT 1900 ACS OpenWrt Chaos Calmer 15.05.1

uname -na
Linux firewall-box 3.18.23 #1 SMP Sun Jan 31 12:53:24 CET 2016 armv7l GNU/Linux


And this is happening every 30-60 minutes.. So annoying, can't troubleshoot why is that

Also, would you be able to share your /etc/config/network file content for WAN ?

Am using my own build, based on DD-trunk:

BusyBox v1.24.2 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 DESIGNATED DRIVER (Bleeding Edge, r49218)
 -----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
 -----------------------------------------------------
root@WRT1900AC-v2:~# uname -a
Linux WRT1900AC-v2 4.1.20 #3 SMP Sat Apr 23 10:26:07 UTC 2016 armv7l GNU/Linux

/etc/config/network, WAN section:

config interface 'wan'
        option ifname 'eth0.6'
        option _orig_ifname 'eth0'
        option _orig_bridge 'false'
        option proto 'pppoe'
        option password 'xxxxxxxxxxxx'
        option peerdns '0'
        option username 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
        option dns '31.220.43.191 62.141.38.230'
        option ipv6 '1'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'

Is it possible to edit a firmware image directly, and if so, could someone please point me in the right direction on where to look to find out?

JW0914 wrote:

Is it possible to edit a firmware image directly, and if so, could someone please point me in the right direction on where to look to find out?

While it is possible, it's not recommended. the firmware image is a compressed filesystem, not something sane to try and edit.

It's far better to build the image yourself from source, and have your changes there.

This is what is happening when trying to connect pppoe. If anyone is interested I am stumped as to what the problem is
is it my isp or openwrt?

http://pastebin.com/bR1Lxbdi

(Last edited by northbound on 26 Apr 2016, 00:49)

kirkgbr wrote:
davidc502 wrote:

I've looked through packages from MrFreeze and Trunk, and I don't see cups.

Anyone know where it might be in the menu config?

The only thing i found regarding printing is these two.

p910nd - 0.97-4 - p910nd is a small daemon that copies any data received on the port it is listening on to the corresponding printer port. It is primarily intended for diskless Linux hosts running as printer drivers but there is no reason why it could not be used on diskful hosts. Port 9100 is copied to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The default is port 9100 to /dev/lp0.

samba36-server - 3.6.25-5 - The Samba software suite is a collection of programs that implements the SMB protocol for UNIX systems, allowing you to serve files and printers to Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred to as the LanManager or Netbios protocol.

Last time I used CUPS in an OpenWRT router was with a little Asus RT-N13/B. I had to search for CUPS source code and recompile everything for it. I'm not sure about last release that included CUPS, but I'm afraid it was some time ago.

Anyway, your options depend on what you need. p910nd works fine as long as you attach your printer to the router itself and you are willing to configure each client PC (not very complicated).

Other way for the same results: USB over IP (https://wiki.openwrt.org/doc/howto/usb.iptunnel).

You must take into account that with both previous options the printer is in "single user" mode. There are no queues nor lock mangement. The user must connect to the printer and disconnect from it before another user can print.

On the other hand, if you want to be able to browse your network, find your printer an just connect to it, the only way is CUPS with Samba. But beware, normal Samba source included in OpenWRT ¡¡¡has CUPS support disabled!!! Another reason to compile your own build...

As I told you, it was about three years ago that I made all this work, but If you go this way I'll try to help.

Regards.

northbound wrote:

This is what is happening when trying to connect pppoe. If anyone is interested I am stumped as to what the problem is
is it my isp or openwrt?

http://pastebin.com/bR1Lxbdi

Looks like firewall issue from logs you pasted.

As for PPPoE, if you configured everything correctly --> you should see external IP assigned to your WAN interface.

So you have:

Modem (PPPoE PassThrough) --> Router (WAN)

All params like CHAPs auth and etc. should be adjusted in router itself.

1) Make backup of /etc/config directory..
2) Revert OpenWRT to defaults.
3) Configure basics;

@tomce
Thanks for the input. I have tied that.. Not saving settings and flashing image. Changing to pppoe and setting my username and password the same as in my dsl modem/router. For now I am back to running dmz so I can use
my vpn. I even reset the dsl modem/router no difference. The only problem with dmz is my system log is being filled with a lease time of 300. Will build a new image and try again tonight.

I am using latest stable, managed to get everything working fine. I have extreme complicated firewall and multi vlan interfaces, but managed to get things round.. VPN left next.. My modem Vigor 120, got on ebay for pennies.. Old router was Cisco 877W

Hi,

could anybody find out why the USB 2 (USB2 / eSATA combiport) is not working with the snapshot image (and your image mrfrezee) on the WRT1900ACS?

No USB device is recognized on that port at all.

I did try everything I had ideas for to get this working, without success!

- installed all packages like they are installed with Chaos Calmer 15.05.1
- looked through the config files
- tested with several devices like mobile phone, usb memory stick and usb harddrive
- got a totally new wrt1900acs to verify that it is no hardware issue
- tested with CC 15.05.1 without any problem

I need my second harddrive back!

How to go further if we don't find a solution here in the forum?

Thank you guys!

regards..

thx4wrt wrote:

I need my second harddrive back!

How to go further if we don't find a solution here in the forum?


You could try submitting a ticket here Create New Ticket

Just an update I no longer believe it is OpenWrt or configuration issue for the PPPOE problems. I did something I have not done for around a year....I flashed Linksys OEM.
Results were the same no PPPOE connection after changing user and password (All old settings were there)  I verified my username and password with frontier and no go.
Even though the girl from India said there were no changes made in over a year....BS! My user name was different from around 3 weeks or so ago when my problems started.
Also after I saw my name changed in their modem I noticed they reset my network setup. Everything Lan was  10.10.10.? Now back to default. This was before doing a reset on their modem. And after a reset I used to have to re-enter username and password this time it sorted it out by auto-magically. But it did drop everything else.
All tests > PPPOE were done after disabling the DMZ. Time to corner a Frontier tech. smile ..... I just hate to bother the guy he is always busy.

Anyone know the fix for "unknown user or group dnsmasq"
r49260 May have been introduced in  the r49252 commit.
No problem unless I keep settings. Or restore a known good configuration back up.
Oh well back to r49223 smile

@northbound:

When you don't keep settings, cat /etc/passwd and I'm guessing it will have a line for user/group dnsmasq.  You'll want to duplicate that line in your /etc/passwd that's pulled in from "keep settings".  Let me know if it works.  smile

davidc502 wrote:

Have you tried a build that has packet buffering patch (mvneta-hwbm - Linux-next) for the outside interface?

Sorry for a dumb question. Does latest trunk have mvneta-hwbm checked-in? Or i have to download from somewhere and apply the patch manually?

Also, where is the nand patch that I can find?

Thanks.

For the record, I have builds working on both the V1 and the ACS including both buffer manager and marvell-cesa.  They've been up for roughly 4 days with no issues and it's somewhat funny -- most cpu activity is system or softirq.  There's a bit more user cpu on the V1 but I think that's mostly due to the lower cpu horsepower.

I modified the device tree for both the V1 and ACS to get the buffer manager working.  I didn't really get around to validating the original bm patches, so no idea if they actually worked on the V1.  It looked to me like the mods may have only affected development boards, but there are 4 buffers available so I added both "large" and "small" to each network as a test.  I don't know where the threshold lies between large and small but I believe this will route pretty much all traffic through the bm.

I haven't spent any more time on the crypto issues -- so sha256 still doesn't accelerate on the ACS even though the driver loads.

LogicoZone wrote:
davidc502 wrote:

Have you tried a build that has packet buffering patch (mvneta-hwbm - Linux-next) for the outside interface?

Sorry for a dumb question. Does latest trunk have mvneta-hwbm checked-in? Or i have to download from somewhere and apply the patch manually?

Also, where is the nand patch that I can find?

Thanks.

That would be a no, and a no. 

An hour ago I cloned trunk and didn't see either. I've read that at some point they will be added in trunk, but unknown as to the time-table.

@InkblotAdmirer
Thanks but no go. smile
Copied the missing line. "dnsmasq:x:453:453:dnsmasq:/var/run/dnsmasq:/bin/false"
The result is the same even after multiple reboots.
Tue Apr 26 22:07:09 2016 daemon.crit dnsmasq[3300]: unknown user or group: dnsmasq
Tue Apr 26 22:07:09 2016 daemon.crit dnsmasq[3300]: FAILED to start up
Tue Apr 26 22:07:14 2016 daemon.crit dnsmasq[3409]: unknown user or group: dnsmasq
Tue Apr 26 22:07:14 2016 daemon.crit dnsmasq[3409]: FAILED to start up
Tue Apr 26 22:07:19 2016 daemon.crit dnsmasq[3515]: unknown user or group: dnsmasq
Tue Apr 26 22:07:19 2016 daemon.crit dnsmasq[3515]: FAILED to start up
Tue Apr 26 22:07:24 2016 daemon.crit dnsmasq[3621]: unknown user or group: dnsmasq
Tue Apr 26 22:07:24 2016 daemon.crit dnsmasq[3621]: FAILED to start up
Tue Apr 26 22:07:29 2016 daemon.crit dnsmasq[3734]: unknown user or group: dnsmasq
Tue Apr 26 22:07:29 2016 daemon.crit dnsmasq[3734]: FAILED to start up
Tue Apr 26 22:07:34 2016 daemon.crit dnsmasq[3843]: unknown user or group: dnsmasq
Tue Apr 26 22:07:34 2016 daemon.crit dnsmasq[3843]: FAILED to start up
Tue Apr 26 22:07:34 2016 daemon.info procd: Instance dnsmasq::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

LogicoZone wrote:
davidc502 wrote:

Have you tried a build that has packet buffering patch (mvneta-hwbm - Linux-next) for the outside interface?

Sorry for a dumb question. Does latest trunk have mvneta-hwbm checked-in? Or i have to download from somewhere and apply the patch manually?

Also, where is the nand patch that I can find?

Thanks.

https://onedrive.live.com/redir?resid=E … le%2cpatch

@northbound

Sorry, you likely have to modify the file group as well.  I'm operating from memory here.