Pfsense broadcom xDSL modem SNR tweak script

As you know, with some Broadcom chipset you can tweak the SNR ratio from your modem side. Here is a script that set SNR to the minimum when your Pfsense boot. You have to place the file on /usr/local/etc/rc.d/ directory and, as usual, you have to change the file permission to be executable.

#!/bin/bash
(
echo open 192.168.0.1
sleep 2
echo "USERNAME"
sleep 1
echo "PASSWORD"
sleep 1
echo "adsl configure --snr 1"
sleep 8
echo "logout"
sleep 1
) | telnet

Reference:
https://doc.pfsense.org/index.php/Executing_commands_at_boot_time

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s