Twitter

how to remote syslog using openwrt

If you need to keep an eye and history about what is going on on your router enable remote login with this command:

echo “option ‘log_ip’ ’192.168.1.2′”>> /etc/config/system

Change 192.168.1.2 to your server. Then on your server (linux debian as example) check /etc/default/rsyslog and add “-r” to the default options. you would start getting [...]

How to keep P2P users out of your network with openwrt

Say that you have a open wireless network connection and you have some users that use P2P programs to download stuff. The main problem with P2P programs is the number o connections that try to open on the ADSL router so the NAT table gets full pretty quickly. #!/bin/sh # Ban. Add mac to [...]

unable to change config flash write error OpenWrt

Just in case you hit a problem if, you are usin 10.03, the router shutdown by an upgrade, power off, whatever… your partition is read only, and you are not able to modify anything on the router. Login on the console and type dmesg. If complains about

Write of 186 bytes at 0x0015a680 failed. [...]

Monitor command line output from openwrt backfire using snmp

I have been using snmp to monitor Input and Output traffict from my router base on openwrt . but I want to know if if my users have a virus spamer or they use P2P on my network?, how do you find out over the time?. I can run this command any time to [...]

QOS under openwrt 10.03

Only a few commands are needed to use Quality Of Service (QOS), just login on theconsole as root@ip.of.router and then: opkg update; opkg install qos-scripts; /etc/init.d/qos enable; /etc/init.d/qos start; You would find the config file under /etc/config/qos, I mostly only modify the download value so I limit the amount of bandwidth that I share [...]