View Single Post

  #5 (permalink)  
Old 01-10-2004
Baho Utot
 
Posts: n/a
Default Re: Well I managed to connect to the internet!

Michael Heiming wrote:

> In comp.os.linux.misc Alan Connor <zzzzzz@xxx.yyy> wrote:
>> On Fri, 09 Jan 2004 23:40:42 -0500, Iguanaman <iggyman25@hotmail.com>
>> wrote:
>> >
>> > Many thanks, I managed to connect to the internet using a pppd line
>> > like this:
>> > /usr/sbin/pppd /dev/ttyS1 115200 debug user dwlee connect
>> > "/usr/sbin/chat -v '' ATDT5472107 CONNECT''"
>> >
>> > The only problem is that it does not set the default route
>> > automatically, so I have to enter this line to make the internet
>> > scautly work:
>> >
>> > route add default ppp0

> [..]
>
>> Why don't you just put all that in a script?

>
> While this should of course work, why not just read the fine
> manual 'man pppd' and add 'defaultroute' to your options file?
>


That would clearly be too easy, and besides this gives him an excuse to
write another script :P

Reply With Quote