What's new

[Fork] Asuswrt-Merlin 374.43 LTS releases (Archive)

  • 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!

another issue with my rt-n16 running v12 - init at almost 100% CPU load !

Mem: 71416K used, 55036K free, 0K shrd, 6784K buff, 27700K cached
CPU: 2% usr 93% sys 0% nic 0% idle 0% io 0% irq 3% sirq
Load average: 1.07 1.05 1.05 4/100 1653
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
1 0 mau R 2492 2% 99% /sbin/init noinitrd
307 1 mau S 4336 3% 0% httpd

Can someone help?
Do you think it would be best to open a new thread with this issue?

Thanks
 
This is odd considering a pretty nasty performance issue was fixed in v12 on the ac68 (it wasnt keeping buffers).

Ideally you need to give better feedback for the "internet cutoff" how was it cutoff? did you check logs.?

I use a samsung s5 with my ac68 on v12 fine as well.

I havent seen anything in the logs.

Ill test the V12 again when i have the time, but i didnt see anything in change log that shows that this issue was fixed. Perhaps i missed it.

Thanks.
 
Hi,
I have had problems printing to a USB based Laser Printer. Not sure if anyone has seen this issue. I have this issue since V6 . The issue is that it does not print at all unless I reboot the router.

1. Turn on printer. Print. (80% of the time, fails)
2. Turn on Printer. Reboot Router. Print (100% works)
3. However for method 2 above, if I leave the printer and router on for another 20-30 minutes, nothing will be able to be printed again unless I reboot the router.
4. Plug USB of printer direct to PC (works 100% of the time)

Not sure what could be the problem. Seems that the "lpd" service goes to sleep or some unknown state until the router is rebooted. The router's configuration page shows the printer icon if the printer is plugged in and turned on. However, no printing works till it gets rebooted. I can't seem to locate any log or information to point to the cause of the problem.

The 374 code base has no concept of moving the certs/keys into jffs, it expects everything to be in nvram. So, when it does the check of the dh, it falls into a similar hole as the problem wiz had (the dh couldn't be validated, in wiz's case because the command failed, in your case because the nvram value wasn't valid). The workaround you came up with is good for now, it put a valid dh in nvram to pass the test, but the server will continue to use whatever dh you specify in the custom configuration. Also, the fix for wiz's problem won't hang things anymore, it will generate the dh in nvram but won't use it if you override it in custom config.

I'll have to think a bit if there is a better way to handle it when people move things to jffs. There are other things that also are affected by moving the certs/keys...such as generating the .ovpn file.
 
A note for @RMerlin....add the full path for the openssl commands (2 places) in openvpn.c

Odd that it doesn't affect the other functions called from within that same section of code. Could be because these two calls are the only ones using system() instead of _eval().

Probably a good idea to provide a fully qualified path there anyway, in case someone might have another openssl binary in their search path.
 
another issue with my rt-n16 running v12 - init at almost 100% CPU load !

Mem: 71416K used, 55036K free, 0K shrd, 6784K buff, 27700K cached
CPU: 2% usr 93% sys 0% nic 0% idle 0% io 0% irq 3% sirq
Load average: 1.07 1.05 1.05 4/100 1653
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
1 0 mau R 2492 2% 99% /sbin/init noinitrd
307 1 mau S 4336 3% 0% httpd

Can someone help?
Do you think it would be best to open a new thread with this issue?

Thanks
ipv6 native broken on mipsel (at least on my rt-n16)
it's related to my issue above
i've fixed it by seting nvram parameter rc_service empty

i believe the issued commit is :
https://github.com/john9527/asuswrt-merlin/commit/91c94d1bcc0d7d2df1d47e32695d46410c13f5c1
Code:
-                sprintf(mtu, "%d", (nvram_get_int("wan_pppoe_mtu") - 20)); //20 byte safeguard for ppp
+                sprintf(mtu, "%d", nvram_get_int("wan_pppoe_mtu") ? (nvram_get_int("wan_pppoe_mtu") - 20) : 1492);
 
Last edited:
Doubtful it's that commit....all that does is provide a default in case the ppp mtu wasn't set for some reason.
So you are running PPPoE connection? What is the value of wan_pppoe_mtu?
 
Code:
pptpd_mtu=1450
wan1_pppoe_mtu=1492
wan_pppoe_mtu=1492
wan0_mtu=1500
ipv6_tun_mtu=0
size: 26723 bytes (6045 left)
wan0_pppoe_mtu=1492
wan_mtu=1500
wan1_mtu=1500
 
Hi,
I have had problems printing to a USB based Laser Printer. Not sure if anyone has seen this issue. I have this issue since V6 . The issue is that it does not print at all unless I reboot the router.

1. Turn on printer. Print. (80% of the time, fails)
2. Turn on Printer. Reboot Router. Print (100% works)
3. However for method 2 above, if I leave the printer and router on for another 20-30 minutes, nothing will be able to be printed again unless I reboot the router.
4. Plug USB of printer direct to PC (works 100% of the time)

Not sure what could be the problem. Seems that the "lpd" service goes to sleep or some unknown state until the router is rebooted. The router's configuration page shows the printer icon if the printer is plugged in and turned on. However, no printing works till it gets rebooted. I can't seem to locate any log or information to point to the cause of the problem.

It's actually probably the other way around....the printer is going to a low power state and the router can't wake it up. The printer support across all the levels (even Merlin's latest) is very basic and very printer dependent. In fact, Merlin attempted to add some kernel fixes to help things, and it ended up breaking more users without providing any benefit. One person had it working on the fork while it didn't on Merlin.

Sorry for the bad news, but this is what it is. Your best bet at this point if you need to stay with a USB connection is to move the printer to a PC and share it from there.
 
Code:
pptpd_mtu=1450
wan1_pppoe_mtu=1492
wan_pppoe_mtu=1492
wan0_mtu=1500
ipv6_tun_mtu=0
size: 26723 bytes (6045 left)
wan0_pppoe_mtu=1492
wan_mtu=1500
wan1_mtu=1500
Can you confirm you are running PPPoE? Also, can you append a syslog so I can see at what point it is running into problems.
 
It's actually probably the other way around....the printer is going to a low power state and the router can't wake it up. The printer support across all the levels (even Merlin's latest) is very basic and very printer dependent. In fact, Merlin attempted to add some kernel fixes to help things, and it ended up breaking more users without providing any benefit. One person had it working on the fork while it didn't on Merlin.

Sorry for the bad news, but this is what it is. Your best bet at this point if you need to stay with a USB connection is to move the printer to a PC and share it from there.

Even when I turn off the printer and back on, it is unable to print. Is there a command to restart the print server daemon?
 
Even when I turn off the printer and back on, it is unable to print. Is there a command to restart the print server daemon?
Don't know, but can look. Which router?

EDIT: One thing you might try is to force the router to re-enumerate the usb connects....

/sbin/hotplug2

EDIT2: You can also try these commands

service restart_lpd

if that doesn't work, try

service restart_u2ec
 
Last edited:
if you want decent printer sharing install p910nd with asusware, that works like the hp jet direct cards do. I just checked, entware does not have p910nd, asusware should though.

Used to use that on my wl500 back in the day, nowadays the color laserprinter and the hires blacknwhite both have ethernet interfaces so I stopped using it, but I remember it was rock solid on the wl500
 
if you want decent printer sharing install p910nd
p910nd is what is embedded in the router...just picked up an update in V11
updated p910nd to v0.97 which fixes incomplete printouts on usb printer drivers that use non-blocking i/o
 
Can you confirm you are running PPPoE? Also, can you append a syslog so I can see at what point it is running into problems.
i confirm i'm running pppoe
is this log enough ?
Jul 1 22:14:30 rdnssd[20591]: Get IPv6 address & DNS from DHCPv6
Jul 1 22:14:30 rc_service: rc 21550:notify_rc start_dhcp6c
Jul 1 22:14:32 dnsmasq[20238]: read /etc/hosts - 6 addresses
Jul 1 22:14:32 dnsmasq[20238]: read /etc/hosts.dnsmasq - 1 addresses
Jul 1 22:14:32 dnsmasq-dhcp[20238]: read /etc/ethers - 1 addresses
Jul 1 22:14:32 dnsmasq[20238]: using nameserver 193.231.252.1#53
Jul 1 22:14:32 dnsmasq[20238]: using nameserver 213.154.124.1#53
Jul 1 22:14:32 rc_service: dhcp6c-state 21560:notify_rc start_radvd
Jul 1 22:14:32 rc_service: dhcp6c-state 21560:notify_rc start_httpd
Jul 1 22:14:32 rc_service: waiting "start_radvd" via dhcp6c-state ...
Jul 1 22:14:52 rc_service: skip the event: start_httpd.
and now i have:
Mem: 97000K used, 29452K free, 0K shrd, 17040K buff, 38292K cached
CPU: 4.3% usr 95.0% sys 0.0% nic 0.0% idle 0.0% io 0.0% irq 0.5% sirq
Load average: 1.02 0.89 0.56 6/104 22894
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
1 0 mau R 2492 1.9 0 97.4 /sbin/init noinitrd
 
Don't know, but can look. Which router?

EDIT: One thing you might try is to force the router to re-enumerate the usb connects....

/sbin/hotplug2

EDIT2: You can also try these commands

service restart_lpd

if that doesn't work, try

service restart_u2ec
I have both the AC66 and AC68, same behavior. Will try the 3 commands. USB Connect might not be necessary. The device ID does get detected if the device is turned on after the router has already been on for some time. Checked it with "dmesg" . However, I think it's the lpd issue. I tried service restart_lpd which didn't work. Will try service restart_u2ec the next time I print
 
maurer I get that issue when on one of my isp's broken gateways. But it goes away when I am on one of their gateways thats properly configured for ipv6. Sadly thats about all I can contribute to the issue as since my isp has stopped saying anything about how they testing ipv6, I got no idea what they have set wrong on those gateways.
 
I just ran a bunch of combinations/orders of partitions of ext3, FAT and NTFS on my AC68 and I was always able to see all the partitions and any folders I created on Win7. Router SMB was set for guest mode access.

Are you running in Guest mode or are you setting users/permissions?
Is your drive direct connect or connected through a usb hub?

If both of the above (user permissions + hub), please give it a try with Guest mode.

I was not using a hub, but did use permissions. When I switch to guest mode on v12 all partitions/folders show up. I won't keep it guest mode, but nice to know it is there if I need to get to those folders.

Update- I have been playing around with folders and such and now everything shows up. Guess it was just a transient issue.
 
Last edited by a moderator:
p910nd is what is embedded in the router...just picked up an update in V11
updated p910nd to v0.97 which fixes incomplete printouts on usb printer drivers that use non-blocking i/o

i thought the embedded one was ez share and lpd, at least it was when I bought my n66u. I have never used the printer sharing on the n66u though as both printers here have network interfaces. When I used an inkjet printer, I used it with p910nd on my storage server and that worked super.
 
Okay, weird thing in my log from v12. The IP address in the messages below (about 1/3 of messages that I got) is the IP address of the desktop PC that I admin my router from. I'm currently using Windows Defender, and I doubt that it would be testing my router security this way. I also realize that I could switch to access via https only, and most likely wouldn't see this, either. This happened just after I switched back to the RT-AC68P, happened over a 1 or 2 second period (looks like) and hasn't happened in the ~8 hours since. So I don't know if it will happen again, just seems odd. If it recurs, I'll probably go back to v11 and see if I see it there, unless there are other ideas of what might cause this:

Code:
Jul  3 16:29:39 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:39 RT-AC68P: start httpd
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: Detect abnormal logins at 60 times. The newest one was from 192.168.1.142.
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: Detect abnormal logins at 65 times. The newest one was from 192.168.1.142.
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
Jul  3 16:29:40 HTTP login: login 'admin' failed from 192.168.1.142
[...whole bunch more not included...]

Weird, huh?
 
Who's at 192.168.1.142? Do you recognize the MAC associated with that address?
Are you using a password manager for your browser?
 

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!

Staff online

Top