Re: how to start and run a command during boot

2010-06-15 Thread Hugo Vanwoerkom

Liam O'Toole wrote:

On 2010-06-14, Long Wind longwind2...@gmail.com 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!


The quick way is to put the command in /etc/rc.local. The better way is
to configure /etc/network/interfaces for ppp. See the 'interfaces' man
page for the details.



I wouldn't mess with rc.local in this particular case.
'man interfaces' is correct but hard on the eyes, so to say.
Googling 'interfaces linux' I found
http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/
that is a little easier to read.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/hv87bm$k4...@dough.gmane.org



Re: how to start and run a command during boot

2010-06-15 Thread lrhorer
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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ecmdnqec6jywlorrnz2dnuvz_rudn...@giganews.com



Re: how to start and run a command during boot

2010-06-14 Thread Liam O'Toole
On 2010-06-14, Long Wind longwind2...@gmail.com 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!

The quick way is to put the command in /etc/rc.local. The better way is
to configure /etc/network/interfaces for ppp. See the 'interfaces' man
page for the details.

-- 
Liam O'Toole
Cork, Ireland



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrni1d6ta.503.liam.p.oto...@dipsy.selfip.org



Re: how to start and run a command during boot

2010-06-14 Thread H.S.
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.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hv6697$1t...@dough.gmane.org



Re: how to start and run a command during boot

2010-06-14 Thread Greg Madden
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.

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201006141342.13753.gomadtr...@gci.net