Project

General

Profile

Actions

Feature #447

closed

patch for PPP links with mpd5

Added by Marcus Brown about 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
PPP Interfaces
Target version:
Start date:
03/24/2010
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

I have PPP with mpd5 working really well now, including setting the APN and APN Number. Your patched mpd5 (for avoiding NGM_TTY_COOKIE check) in recent snapshots works great.
Still no work on multilink PPP with serial port links.

Right now the code creates the mpd.secret file. I tested it using the set auth password <password> syntax and got errors so I kept the mpd.secret file generation.

And PPP for modems does need the mpd.script file. It's the chat script file for the link establishment, so where do you want it? Right now it has to be in /etc/ppp/mpd.script, and it's copied to /var/etc/. when ppp is first configured. I think a symlink might be better. ??

I also took away the "Dialcmd" field in the PPP setup page (and a couple others) because the script is rather comprehensive and is designed to handle any modem. I just added the APN stuff to it.

I implemented interface renaming and that simplified the new code a lot, so that's nice. Now ppp interfaces start with ppp0 and go up as you add more.

Also, the ppp-linkdown script is an open issue. This patch refers to the script that Ermal wrote in the /usr/local/sbin/ directory, but I couldn't test it b/c my mpd5 binary doesn't pass the DNS servers the same way the newly(and previously) patched binary does(did). Everyone can test when the next snapshots are released with the patches.

And the uptime tracking is still an open issue. I've figured out how to do it, but haven't done anything yet. This patch set is getting big and taking time to manage all the parts so I decided to cut it here and do the uptime stuff in the next round.

I'll do the SIM pin thing too in the next set. I just need a break for a day.

I'm already experiencing much smother conditions with mpd5 for PPP on 3G than I was with userland ppp. It's very nice.

I also thought there might be a worthy use case for implementing a check box for "dial-on-demand" and text field for "idle timeout."


Files

pfsense-utils.inc.patch.txt (1.05 KB) pfsense-utils.inc.patch.txt Marcus Brown, 03/24/2010 08:16 AM
status_interfaces.php.patch.txt (1.5 KB) status_interfaces.php.patch.txt Marcus Brown, 03/24/2010 08:16 AM
interfaces_assign.patch.txt (1.51 KB) interfaces_assign.patch.txt Marcus Brown, 03/24/2010 08:16 AM
interfaces_ppp.php.patch.txt (1.58 KB) interfaces_ppp.php.patch.txt Marcus Brown, 03/24/2010 08:16 AM
interfaces_ppp_edit.php.patch.txt (7.13 KB) interfaces_ppp_edit.php.patch.txt Marcus Brown, 03/24/2010 08:16 AM
interfaces.inc.patch.txt (14 KB) interfaces.inc.patch.txt Marcus Brown, 03/24/2010 08:16 AM
mpd.script (39.3 KB) mpd.script Marcus Brown, 03/24/2010 08:16 AM
mpd.script (39.3 KB) mpd.script Marcus Brown, 03/24/2010 08:28 AM
pfsense-utils.inc.patch.2.txt (2.09 KB) pfsense-utils.inc.patch.2.txt Marcus Brown, 03/24/2010 09:19 AM
ppp0.query.txt (36 Bytes) ppp0.query.txt Marcus Brown, 03/24/2010 09:19 AM
Actions

Also available in: Atom PDF