Bug #487
closedPPP does not auto-reconnect
0%
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
Updated by Chris Buechler over 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?
Updated by Chris Buechler over 14 years ago
- Subject changed from "Incorrect context for show iface" errors to PPP does not auto-reconnect
- Priority changed from Normal to High
Updated by Marcus Brown over 14 years ago
Updated by Chris Buechler over 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!
Updated by Marcus Brown over 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.
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved