Scripts
Setup
- How to Make an Automated Configuration and Uninstall
- A script to set up WAN/LAN/WLAN to get you started
General
- Automated Billing Script
- Automated Usage Script without usermanager
- Dynamic DNS Update Script for ChangeIP.com
- Dynamic DNS Update Script for EveryDNS
- Dynamic DNS Update Script for dynDNS
- Dynamic DNS Update Script for dynDNS behind NAT
- Dynamic DNS Update Script for DNSoMatic.com behind NAT
- Dynamic DNS Update Script for Hurricane Electric DNS
- Email setup/troubleshooting
- Hurricane Electric IPv6 Tunnel - IPv4 Endpoint updater
- Using 'find' command to filter a command output
- GPS text file converter to Google Earth/Maps
- Remove BUSY status DHCP Leases to solve malfunction of DHCP server
- Scheduled disconnect for WAN-Interface e.g. DSL
- Scheduled check for loaded interfaces (auto adding queue to some IP or interface)
- Sending text out over a serial port
- Set global and local variables
- Setting static DNS record for each DHCP lease
- Sending your self an e-mail with DSL interface IP address
- Queue tree and e-mailing stats
- How to control shared users when PPP server is used with Radius
- Script to monitor unexpected script failure
- A Bit of Sounds
- Use host names in firewall rules
- Script to find the day of the week
- Calculate with decimal numbers
- Use Functions in CMD Script
- Script to create directory
- Backup graphing data
- Calea perl trafr
- IP Pool Statistics
- Log Parser - Event Trigger Script
- Super Mario Theme
- Routing via a DHCP allocated gateway (when this address could change and is not a default route)
- Get active VPN connections via e-mail (PPTP and L2TP)
- Get active VPNs, connected wireless stations, active Hotspot sessions and connected administrators via e-mail
- Using scripting to overcome the inability to specify number ranges on the command line
- Useful Bash Scripts
Hotspot
- Reset Hotspot user count
- Enable/Disable new guest user account daily
- PayPal with hotspot and walled garden bypass
Modifying Router Settings 'on the fly'
- Enable and Disable P2P connections
- Generate bogons firewall chain based on routing-marks
- Limiting a user to a given amount of traffic (using firewall)
- Limiting a user to a given amount of traffic II (using queues)
- Limiting a user to a given amount of traffic with user levels (using queues)
- Limit Different Bandwidth In Day and Night
- Enable Disable Firewall Rules
- Blocking Rapidshare.com web page
- Random MAC/Ethernet address generate and apply
- Using Fetch and Scripting to add IP Address Lists
Resilience/Monitoring
- Monitoring Script
- ECMP Failover Script
- Improved Netwatch
- Improved Netwatch II
- Failover con Netwatch III
- Failover via Netwatch III (English)
- Force Disconnect Wireless Stations with Low CCQ
- PPP Keepalive ping
System Maintenance
- BackupROS (Centralized Backups) - by Nahuel Ramos (new!)
- Centralized Automated Backups via Email with Procmail and Perl
- Automatic Backup with Centralized Storage
- Antenna Alignment with RB532 LED
- Audible signal test
- Logging SNR and thruput values
- Logging Average CCQ and Wireless Clients Stats
- Generate routes for stress testing BGP functionality
- Improved Semi-automatic system-update script
- Scheduled sending of an email with system backup attached
- Flash Friendly Backup Script
- Semi-automatic system-update by script
- Use SSH to execute commands (DSA key login)
- Auto upgrade script V3.x
- sending mails when on battery or battery low
- Delete ARP trafic for arp table
- Batch deployment of DSA key (SSH) and schedule backup with export
- Automated Upgrade/Downgrade script V3.9+
- Improved auto upgrade script v3.X
- Remotely change password for managers
- Monitor input voltage on RB333/433AH
- Reboot Boards due to low Memory with notification
- Yet Another Alignment Script With LEDs And Sound
- Alignment Script that "reads back" RSSI with beeps
- Netwatch on web
- Sync Address List with DNS Cache
- SXT 5HnD Alignment Script
See also
- Theory of Scripting
- Scripting Examples