This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why does PPP failed at adding default route every other time?


Does anybody know why PPP failed to add default route every other time?

The failure is at file net/ppp/current/src/sys-ecos.c, function
dodefaultroute(). It failed at write().

When PPP is successfully established at the first time, the default
route can be successfully added. Then I disconnected the PPP, and
established the PPP again at the second time, then the default route
adding failed. If I re-established the PPP at the third time, the
default route adding is success. The default route adding failed at
every other time.

I noticed that when I disconnected PPP, the default route got correctly
deleted.

Thank you very much for your help.

Weili Yao


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]