Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: toggle pon/poff internet connection< Next Oldest | Next Newest >
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Dec. 12 2005,19:08 QUOTE

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
Back to top
Profile PM 
0 replies since Dec. 12 2005,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: toggle pon/poff internet connection

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code