Search results

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

  1. ASAT

    Configuring apcupsd

    No. The chip is built into the cable. The cable also does level shifting from the UPS RS232 voltage of -12V/+12V down to the USB TTL-level voltage of 0V/+5V. You can buy these cables on eBay for $2 a piece. The cheap ones have a PL2303 chip. My UPS is not yet connected to the router...
  2. ASAT

    Configuring apcupsd

    Which USB-to-serial chip does your RS232-to-USB cable use? Here's the choices: PL2303 FTDI CH340 KEYSPAN Now you want someone to compile a USB-to-serial driver for the MIPS platform because ASUS failed to do so.
  3. ASAT

    Configuring apcupsd

    Type dmesg to see what the USB-to-serial driver is not loading. It would be /dev/ttyUSB0, for example.
  4. ASAT

    Entware-ng for arm, mipsel ....

    I always forget, so I had this added to my profile. /opt/etc/profile #!/bin/sh export HOME=/share/data source /opt/bin/gcc_env.sh
  5. ASAT

    Something is leaking my DNS

    How to make a tripwire on the WAN-side of the router. Automatically ban remote hosts that attempt to access invalid services. /jffs/scripts/firewall-start /usr/sbin/ipset -N bannedhosts iphash /usr/sbin/iptables -I INPUT -i eth0 -p tcp -m multiport --ports 53 -j SET --add-set bannedhosts src...
  6. ASAT

    Read USB port with CU or Minicom on the RT-AC66U

    The Linux kernel in Asuswrt-Merlin firmware for RT-AC66U router is not as update-to-date compared to ASUS' ARM routers. Here's how to enable some of the USB-to-serial drivers for RT-AC66U router. Un fortunately you must also disable USB support for GSM modems to make it work. Why? I have...
  7. ASAT

    Fast HTTP pixel image server for ad blocking

    I used the ARM toolchain of the Asuswrt-Merlin firmware. Now I can see her. :cool:
  8. ASAT

    Entware - native compilation: pros and cons

    Yes. This is the only way to enable speedups for Python and Perl? I enable speedups this way, so the RT-AC68U automatically compiles the Python C extensions: pip install --upgrade flexget
  9. ASAT

    Entware - native compilation: pros and cons

    I think I need it. Then my RT-AC68U can run more Python stuff without choking. However, that's why I buy the Raspberry Pi 2 model B. :) My Raspberry Pi auto-magically compiles a Flexget dependency to native code, here: sudo pip install --upgrade flexget ... Found existing installation...
  10. ASAT

    Introducing and controlling packet loss - possible?

    I think no. He would need to turn it on in the Linux kernel config, then recompile the Asuswrt-Merlin firmware. ~/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36/config_base.6a CONFIG_NETFILTER_XT_MATCH_STATISTIC=m Then copy this file to the router /jffs/bin folder...
  11. ASAT

    Introducing and controlling packet loss - possible?

    /usr/sbin/iptables -A FORWARD -m statistic --mode random --probability 0.15 -j DROP
  12. ASAT

    Flexget on Entware

    Is there instruction for compiling Flexget/Python to native code? When I install Flexget on my Raspberry Pi2, it automatically launches the GCC and compiles to native code.
  13. ASAT

    Issue with Entware-ng: read only file system after reboot

    OR, maybe connect the device with USB Y-adapter? One end plugs into the router USB port. Other end plugs into a 5V DC 2A USB power adapter. It's possible you're drawing too much power through the router's USB port.
  14. ASAT

    Guest wifi network - manage devices from the LAN

    I was just saying that you're not really supposed to be doing it. However, I think you have a good enough reason to do it, and I think you're on the right track.
  15. ASAT

    Guest wifi network - manage devices from the LAN

    What you suggesting is not really the purpose of a Guest network. After all, a Guest network is for computers you don't trust. However, this will show you how. Judicious use of ARP broadcast and ARP reply is what you need. No need to flood the network with unnecessary ARP traffic or create...
  16. ASAT

    ebtables, ARP, and wirleess guest network

    Your 2nd rule would never be matched because the iptables sees the packet as having a source interface (br0). And this sets you back, to the original question of what is the 'officially endorsed' technique to un-bridge a physical interface (wl0.1) from a bridge interface (br0).
  17. ASAT

    ebtables, ARP, and wirleess guest network

    Before you try to remove (wl0.1) from (br0), make a short list of everything that will break: DHCP for the LAN serves (br0). Need to configure dnsmasq.conf to fix it. Some firewall rules refer to (br0). Must add additional iptables rules to fix it. WPA2 wi-fi might not work as expected...
  18. ASAT

    Delaying the connection to the NTP server ?

    You can manually set the system clock to the current date/time with the Linux command /bin/date. Then you must tell the router that you have successfully synchronized the system clock. The scripts are designed to save/restore the clock using the number of seconds since midnight Jan. 1 1970...
  19. ASAT

    Delaying the connection to the NTP server ?

    If nothing else works, try this. It will use JFFS to save the last clock value between reboots of the router. First, set the clock manually. The format is YYYYMMDDhhmm.ss Example /bin/date -s 201601231730.00 /usr/bin/killall ntp && /bin/sleep 1 && /usr/sbin/nvram set ntp_ready=1 Then...
  20. ASAT

    ebtables, ARP, and wirleess guest network

    The ebtables BROUTING chain is processed very early in the packet flow. And it's what moves certain packets from the physical interface (wl0.1) to the bridge interface (br0), unless you tell it to do something different. These two rules (from Martineau's link) cause the IPv4 and ARP packets to...
Top