Sriram Ganapathy <[EMAIL PROTECTED]> wrote: > I have recently gone for SIFY broadband. I have a PCQLInux > 2004 machine having both broadband(UTP Cable with Ethernet card) and > Dial-up with External modem. > Now I am able to access the internet through broadband. My > Problem is that in the Network configuration there is a default gateway > setting on my broadband ethernet interface. After logging off from my > broadband connection and when I try my dial-up connection, the
How do you log off? Some script right? If its not there, then create one. Looks like the logoff script your're ISP has given you doesn't take care of removal of gateway. It should shouldn't it? Use the route command like this, # route del default Note the hash. You do this as root. > connection to ISP and logging in happens but because of the default > gateway on the eth0(broadband) interface none of the packets get routed > over my dialup connection.I am not able to browse or send email over my > dialup connection. > How do I switch my default gateway setting often to suit my > requirements. I have heard of "/sbin/route" but more help from the list > would be appreciated. > Get to learn the route command. $ man route After you're dial-up connection has connected using wvdial or whatever, use ifconfig to get the remote address, and use that as your default gateway. # ruote add default gw $ppp_remote_addr --- arc_of_descent ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
