LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2004, 11:07 PM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
respawn pppd on disconnect?


my situation is as follwows

redhat 7.2 linux connected palmpilot via ppp
but currently i have to manually run pppd every time i connect the pilot as pppd dies uppon disconnect, how can i get it to automatically respawn after the piot disconnects so i can connect again without manually starting pppd?
 
Old 01-21-2004, 05:58 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
There is a file called /etc/ppp/peers/provider. It might not be called provider but that's the default. Edit it and add the line "persist" to it. That will make pppd redial whenever it disconnects at the remote end.
 
Old 01-21-2004, 08:06 AM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
oh, sorry, i forgot to mention it was a null modem connection, and the pilot is doing the connecting
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically respawn a process? lucasbl3 Linux - General 2 06-11-2004 03:29 PM
X server dies and kills terminals uppon respawn :( frieza Linux - Software 2 04-16-2004 10:57 AM
pppd doesn't run ip-down on disconnect Ethyriel Slackware 5 03-23-2004 02:37 AM
Monitor & respawn a BG Processes? amaze Linux - General 2 08-12-2003 09:02 PM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration