[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to start and run a command during boot



Greg Madden wrote:

> On Monday 14 June 2010 01:17:27 pm H.S. wrote:
>> On 14/06/10 04:38 PM, Long Wind wrote:
>> > I have etch and a ppp connection
>> > I want to make ppp connection every time Debian boot
>> > That is, run "pon" during boot
>> > What is the proper way to do that?
>> > Thanks!
>>
>> When you do pppoeconf to configure the ppp connection, one of the
>> last questions should be if you want to start the connection at boot
>> time. Answering "yes" to that should accomplish what you want.
> 
> for a ppp conection 'wvdial' does this.

        Not very well, it doesn't.  I suggest creating a simple init script
in /etc/init.d that calls pppd, and then set up a chat script.


Reply to: