If you are using Redhat's netcfg utility to connect to the internet and you are sick of having to open up the GUI, and click on ACTIVATE to connect, and then have to click on DEACTIVATE to disconnect... here is one little thing that you can do to make life easier.
Let's say you have a ppp0 set up with netcfg. Just add this two lines to your /etc/bashrc
alias dial="/etc/sysconfig/network-scripts/ifup-ppp /etc/sysconfig/network-scripts/ifcfg-ppp0"
alias hangup="/etc/sysconfig/network-scripts/ifdown-ppp /etc/sysconfig/network-scripts/ifcfg-ppp0"
Now if you want to connect, all you need to do is to go to your terminal and type dial; if you would like to disconnect just
Saturday, April 26, 2008
Subscribe to:
Post Comments (Atom)
IMPORTANT
All things mentioned here are solely related to Linux and its related things.The author has taken it from various thirdparty sites and creadit should be given accordingly.This has been done in order to simplify your searching task.The tips and tricks section hav various tricks mentioned.Please DO IT ON YOUR OWN RISK.THE AUTHOR DOESNOT TAKE ANY RESPONSIBILITY FOR ANY DAMAGE TO YOUR PROPERTY.
No comments:
Post a Comment