Recent content by mad_ady

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.
  1. mad_ady

    [SOLVED] High nvram usage

    Ok, I ran the cleanup script and it freed about 5000 bytes from nvram, which I guess it's plenty :) Rebooted and vpn is working fine. Thanks again for the assistence!
  2. mad_ady

    [SOLVED] High nvram usage

    Thank you!
  3. mad_ady

    [SOLVED] High nvram usage

    Here are my top variables: size: 65429 bytes (107 left) 1147 dhcp_staticlist 1089 sshd_hostkey 991 custom_clientlist 810 nc_setting_conf 655 client_info_tmp 624 sshd_dsskey 454 rc_support 412 sshd_authkeys 400 vpn_serverx_clientlist 338 sshd_ecdsakey 168 vpn_client1_custom2 167...
  4. mad_ady

    [SOLVED] High nvram usage

    Thank you both for the suggestion. However, since I'm running an old version 384.5 and my router is no longer supported - I'm not sure whether deleting those entries from nvram is safe (the fix was proposed in a 384.10 post). Any ideas when the certificates were moved out of the nvram? Edit: It...
  5. mad_ady

    [SOLVED] High nvram usage

    I was playing with my RT-AC56U running RMerlin 384.5 and I noticed by accident that the nvram usage is a bit high: NVRAM usage: 65545 / 65536 bytes It seems I am 9 bytes over the limit and yet the router *appears* to be running fine. I do use long wifi passwords, have 30+ static dhcp bindings...
  6. mad_ady

    Support for usb-serial adapter based on cp210x

    ... must be something wrong with my setup/environment because kernel make fails/make modules as well: CC [M] drivers/usb/core/notify.o CC [M] drivers/usb/core/generic.o CC [M] drivers/usb/core/quirks.o CC [M] drivers/usb/core/devices.o CC [M] drivers/usb/core/hcd-pci.o CC [M]...
  7. mad_ady

    Support for usb-serial adapter based on cp210x

    Ok, so I followed the guide above in a Ubuntu 12.04 lxc, combined with info from https://hqt.ro/how-to-compile-modules-for-asuswrt-routers/. I went to /home/ubuntu/asuswrt-merlin.ng/release/src-rt-6.x.4708/linux/linux-2.6 and ran 'make menuconfig', selected CONFIG_USB_SERIAL_CP210X=m followed by...
  8. mad_ady

    Support for usb-serial adapter based on cp210x

    I'm going to give this a try: https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu I'll probably try to spin up a 14.04 lxc container for the job...
  9. mad_ady

    Support for usb-serial adapter based on cp210x

    Hello all! I was planning to use my RT-AC56U as a serial debug bridge for an Odroid board which is close by. I hooked up a USB cp210x adapter into its USB port, but it seems that support for it was not included in the kernel: $ lsusb Bus 003 Device 116: ID 10c4:ea60 Cygnal Integrated Products...
  10. mad_ady

    Openvpn client doesn't install routes

    Thanks, this explains it: [email protected]:/tmp/home/root# cat /etc/iproute2/rt_tables 100 wan0 111 ovpnc1 112 ovpnc2 113 ovpnc3 114 ovpnc4 115 ovpnc5 200 wan1 [email protected]:/tmp/home/root# ip route show table 111 10.0.0.1 dev ppp0 scope link 172.20.20.13 dev tun11 scope link src 172.20.20.14...
  11. mad_ady

    Openvpn client doesn't install routes

    Thanks. The option is called "Redirect internet traffic" and I set it to policy (it was off). I added the static route and now ping works, but the routing table doesn't show the route: [email protected]:/tmp/home/root# route -n Kernel IP routing table Destination Gateway Genmask...
  12. mad_ady

    Openvpn client doesn't install routes

    I'm using openvpn on RMerlin's ASUS firmware (v 384.5) as a client (client1) with a ovpn config which pushes a route: push "route 192.168.100.0 255.255.255.0" The client connects correctly to the openvpn server, however, the route is not installed into the router's routing table (connection...
  13. mad_ady

    Setup a dummy interface

    I'm running RMerlin 380.69-0 on my RT-AC56U and I'm experiencing some problems with DHCP - sometimes the router stops responding to DHCP (devices with fixed IP can still work). I'd like to write a small watchdog script that periodically tries to get an IP via DHCP and if it can't it can take...
  14. mad_ady

    [SOLVED] Openvpn listen on ip

    That's what I suspected. This is my attempted fix in /jffs/scripts/wan-start: #!/bin/sh #allow ppp0 to start sleep 10 #restart openvpn server1 to allow it to listen to the correct IP service stop_vpnserver1 sleep 4 service start_vpnserver1 We'll see how it goes, thanks!
  15. mad_ady

    [SOLVED] Openvpn listen on ip

    Yes, local ddns-name worked beautifully. Thank you! Does openvpn need to be restarted manually on wan up/down or does it restart automatically? I will test as soon as possible.
Top