Project

General

Profile

Actions

Bug #487

closed

PPP does not auto-reconnect

Added by Chris Buechler about 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
PPP Interfaces
Target version:
Start date:
04/05/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

Renaming to what is the actual issue, the "Incorrect context for show iface" is just a symptom of that as it's trying to get info on a downed interface.

Apr  5 22:49:46 pfSense opt3: CONSOLE: Allocated new console session 0x286f8008 from 127.0.0.1
Apr  5 22:49:46 pfSense opt3: [] CONSOLE: admin: link lnkopt3
Apr  5 22:49:46 pfSense opt3: [lnkopt3] CONSOLE: admin: show iface
Apr  5 22:49:46 pfSense opt3: Incorrect context for: 'show iface'
Apr  5 22:49:46 pfSense opt3: [lnkopt3] CONSOLE: admin: exit
Actions #1

Updated by Chris Buechler about 14 years ago

This appears to happen only when the interface is not connected. For an unknown reason (the logs were overwritten by thousands of the above), the connection was dropped at some point. mpd was still running, and didn't appear to be trying to reconnect. Clicking Connect under Status > Interfaces brought it back up immediately.

This card was connected for weeks straight with no problem on the old PPP. Are we missing something in mpd to automatically reconnect if the connection gets dropped for some reason?

Actions #2

Updated by Chris Buechler about 14 years ago

  • Subject changed from "Incorrect context for show iface" errors to PPP does not auto-reconnect
  • Priority changed from Normal to High
Actions #4

Updated by Chris Buechler about 14 years ago

  • Status changed from New to Feedback

Testing now, will see what happens, though it'll probably take a couple days to know. thanks!

Actions #5

Updated by Marcus Brown about 14 years ago

To test I used the following procedure.
1. start/bring up the connection
2. #telnet localhost 5000 -> This connects to the console of the mpd5 instance running your ppp connection
3. #close -> brings down the connection
4. unplug the modem
5. #open -> brings up the connection
6. plug the modem in
7. Observe mpd connects to remote peer after modem is ready.
8. Observe logs showing mpd trying to bring up the connection every second after you type #open at the console prompt.

Actions #6

Updated by Chris Buechler almost 14 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF