DSL Tips and Tricks :: toggle pon/poff internet connection
for those of you who know how to make an icon on the destop, and want to toggle their PPPoe connection, you can point it to this script;
#!/bin/bash
cd /home/dsl
if test -f pon; then
sudo poff -a
echo internet is OFF
mv pon poff
else
sudo pon
echo internet is ON
if test -f poff; then
mv poff pon
else touch pon
fi
fi
original here.