Ticket #1955 (closed defect: community)

Opened 11 years ago

Last modified 2 years ago

pppd persist and holdoff does not work

Reported by: niccolo Owned by: Nytowl
Priority: normal Milestone: Om2007.2
Component: Distro Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible: always


I configured my /etc/ppp/peers/provider with persist and holdoff 20 options, but it seems that the connection does not restart once failed.

The pppd process is running and idle on a select() call, but it does not execute the connect chatscript again.


pppd.options.gz (240 bytes) - added by niccolo 10 years ago.
pppd_strace.log.gz (870 bytes) - added by niccolo 10 years ago.

Change History

comment:1 Changed 11 years ago by john_lee

  • Owner changed from openmoko-devel to julian_chu
  • HasPatchForReview unset
  • Component changed from unknown to Distro

comment:2 Changed 10 years ago by niccolo

I did forther testing and I strongly believe there is a bug in pppd. So I wrote a mail to Paul Mackerras and James Carlson (contacts in the README). This is the mail, just for the record.

I'm using pppd on the FreeRunner? phone, running the OpenMoko?
distribution. The problem is always reproducible and it is as

  • start pppd with its chat script
  • the chatscript fails for whatever (e.g. no GPRS signal)
  • pppd waits for the "holdoff" time
  • chatscript is NOT fired up again
  • pppd stalls in an endless select()

this happens despite my configuration file which contains:

maxfail 0
holdoff 13

If I SIGHUP pppd, it ends the select() and does a new chat

Because I need an always-on connection on un unattended mobile
phone, you understand that this is very annoying.

Reading the source I suspec that the for() loop in main.c:494
does start chat only in the first run, not in the second.

The phone environment:

  • pppd version 2.4.3-r4
  • OpenMoko? 2008.12 (based on Angstrom armv4t)
  • Linux om-gta02 2.6.24 #1 PREEMPT Wed Dec 17 02:13:29 CST 2008 armv4tl

I attach my configuration file and an strace of the pppd process.
Thank you very much for any hints.

Changed 10 years ago by niccolo

Changed 10 years ago by niccolo

comment:3 Changed 10 years ago by roh

  • Owner changed from julian_chu to Nytowl

maintainer change

comment:4 Changed 10 years ago by Nytowl

  • Status changed from new to closed
  • Resolution set to community

comment:5 Changed 2 years ago by JustDox

Cialis Without A <a href=http://zol1.xyz/online-zoloft.php>Online Zoloft</a> For Sale Generic Pyridium 200mg Internet Achat Cialis Quebec <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> Prescription Viagra Levitra In Canada Discount Code <a href=http://zol1.xyz/order-zoloft-pills.php>Order Zoloft Pills</a> Dilantin Amoxicillin Biotransformation <a href=http://viag1.xyz/cheap-viagra-on-line.php>Cheap Viagra On Line</a> Viagra Impotenza Generic For Zithromax <a href=http://viag1.xyz/generic-viagra-pills.php>Generic Viagra Pills</a> Erection Pills Real Isotretinoin <a href=http://cial1.xyz/get-cheap-cialis-online.php>Get Cheap Cialis Online</a> Cialis 5mg Preise Apotheke Diprosone Sans Ordonnance <a href=http://kama1.xyz/kamagra-gel-online.php>Kamagra Gel Online</a> Canada Viagra No Presciption Baclofene Andorre <a href=http://zol1.xyz/ordina-zoloft-online.php>Ordina Zoloft Online</a> Levitra Que Es Y Para Que Sirve Can Amoxicillin Make You Lightheaded <a href=http://kama1.xyz/cheap-kamagra-uk.php>Cheap Kamagra Uk</a> Alternative Viagra Products Priligy Approuve Par La Fda <a href=http://viag1.xyz/viagra.php>?Viagra</a> Clomid Sans Ordonnance Pas Cher Neurontin Baclofene <a href=http://kama1.xyz/kamagra-jelly-usa.php>Kamagra Jelly Usa</a> Propecia Vescica Propecia England <a href=http://xenical.ccrpdc.com/order-alli-online.php>Order Alli Online</a> Long Lasting Sex Pills Pharmacy Isotretinoin acutane <a href=http://antabuse.ccrpdc.com/cheap-antabuse-fast.php>Cheap Antabuse Fast</a> Kamagra Pharmacie Et Priligy Viagra <a href=http://cialis.ccrpdc.com/buy-cialis-cheap.php>Buy Cialis Cheap</a> Orlistat Essential Motilium Otc <a href=http://kama1.xyz>Buy Kamagra</a> Healthy Men Buying Doxycycline Online Uk Safe <a href=http://cial1.xyz/how-to-buy-cialis.php>How To Buy Cialis</a> Propecia Prix Prix Propecia Pas Cher Cialis Bon Marche <a href=http://strattera.ccrpdc.com/atomoxetine.php>Atomoxetine</a> Zithromax Experiences Cheapeast Stendra On Line <a href=http://kama1.xyz/kamagra-pills.php>Kamagra Pills</a> Can You Snort Cephalexin 500mg Levetra From Canada <a href=http://cial1.xyz/cheap-cialis-40mg.php>Cheap Cialis 40mg</a> Propecia 1.25 Mg Pharmacy By Mail From Canada <a href=http://viag1.xyz/mail-order-viagra.php>Mail Order Viagra</a> Erfahrungsbericht Viagra Rezeptfrei Venta Propecia Finasteride <a href=http://viag1.xyz/viagra-dosage.php>Viagra Dosage</a> Buy Viagra No Consultation Loss Viagra Prescription <a href=http://zol1.xyz/buy-implicane-online.php>Buy Implicane Online</a> Levitra Einnahme Sobredosis De Propecia <a href=http://cial5mg.xyz/cialis-price.php>Cialis Price</a> Buy Sildenafil Tablets Order Synthetic Viagra <a href=http://cial1.xyz/low-cost-cialis-online.php>Low Cost Cialis Online</a> Vendo Kamagra Barcelona Montreal Online Pharmacy <a href=http://cial1.xyz/cheapest-cialis.php>Cheapest Cialis</a> Can I Crush Amoxicillin Cialis 20 Mg Kohlpharma <a href=http://viag1.xyz/viagra-discount-sales.php>Viagra Discount Sales</a> Kamagra Amiens 100mg Propecia Epilobio Precio <a href=http://viag1.xyz/order-cheap-viagra.php>Order Cheap Viagra</a> Cheapest Generic Levitra No Pres

Note: See TracTickets for help on using tickets.