Project

General

Profile

Download (1.75 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
db63c043 08/20/2014 11:14 AM Renato Botelho

Simplify a bit ppp-linkup syntax

fe85513f 08/20/2014 11:00 AM Renato Botelho

Fix awk syntax, it fixes #3813

761dc91c 02/21/2014 01:37 PM Ermal LUÇI

Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 config

7f921690 02/18/2014 09:23 AM Ermal LUÇI

Do not call rc.newwanip when pppoe gets a v6 ip.

c0fc63d1 08/15/2013 11:39 AM Renato Botelho

Improve sh syntax using ${} for all variables

8f563bb4 01/31/2013 10:04 PM Ermal LUÇI

Use the better -Fs modifies to pf to kill the states by interface. Also kill both sides on an interface when -k needs to be used

9eb49a51 01/30/2013 10:26 AM Ermal LUÇI

pfctl -b is gone just use std tools of pfctl

766cd450 09/26/2012 12:48 PM Jim Pingle

Try a little harder to clear the states for the old PPP gateway

6be02801 06/18/2012 04:12 PM Seth Mos

Use awk instead of grep, this works on a v4 PPPoE connection for me. Need to verify that it works for 3G too.
Redmine ticket #2458

703173f2 05/28/2012 12:55 PM Seth Mos

Update the link script to parse the arguments 6 and 7 differently.
Previously mpd supplied the dns1 string as $6 and the IP as $7. It is now a single argument $6.
Apparently this changed somewhere so parse the IP out of there into the correct nameserver file....

1cba5c58 05/20/2012 11:21 AM Seth Mos

Make sure we don't accidentaly clobber the v4 dns servers with empty fields from v6

e32cb5d0 05/14/2012 12:54 PM Seth Mos

Make the ppp-linkup script understand both address families.

9beeae5a 02/20/2012 01:55 PM Warren Baker

Rather use -c to check for line count, we then dont have to deal with extra whitespaces

6390cdac 07/25/2011 07:42 PM Ermal LUÇI

Use the new change to be less distuptive

5b06d9cc 05/06/2011 09:27 PM Ermal LUÇI

Reorder instructions and do not reload dns if its not allowed from the dns allow override setting.

a73a9886 04/29/2011 06:19 PM Ermal LUÇI

Ticket #1408. Honor the allow override settings even for ppp devices.

aa7c49b9 01/03/2011 10:52 PM Ermal LUÇI

Ticket #943. Sleep 1 second to give dns time to reload.

04c528e7 09/15/2010 07:47 PM Ermal LUÇI

Ticket #876. Actually the event to send is interface newip $ip rather interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.

0c452870 09/15/2010 07:24 PM Ermal LUÇI

Reload dns and interface properly on dynamic types.

3d471a14 09/09/2010 05:25 PM Ermal LUÇI

Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

cfdf9444 09/06/2010 03:04 PM Ermal LUÇI

Delete previous route if present.

5ca41f8b 03/28/2010 03:04 PM Marcus Brown

Don't need the rm -f statement when using > redirect to overwrite the
file, and add the "then" to the if statements

29533e50 03/27/2010 08:17 AM Ermal LUÇI

Be safer use the remote-ip address for adding route.

1f0ddd30 03/27/2010 08:09 AM Ermal LUÇI

Explicitly set the exit status of the script to not make mpd fail.

8f4f1e30 03/27/2010 08:02 AM Ermal LUÇI

Use full patch to command and fix route add command parameter is -iface and not -if.

1f559885 03/23/2010 10:40 PM Ermal LUÇI

Actually its dns2 for the second entry.

1033de74 03/23/2010 09:13 PM Ermal LUÇI

Resolve problems with dns server setup when allow override is set. Also add static routes for all nameservers to be friendly with multiwan.

6849a176 12/08/2008 01:52 PM Ermal Luçi

Generate the {interface}up status file.

b87364eb 10/25/2008 02:37 PM Ermal Luçi

Fix issue reported on ticket #1825.

28ec82f1 10/13/2008 10:49 PM Ermal Luçi

Actually apply fixes to the correct files.

a71e520d 11/28/2005 07:47 PM Scott Ullrich

Do not allow mpd to block

7a79c4f0 11/04/2005 10:13 PM Scott Ullrich

Recompile for FreeBSD 6

5e46b37c 10/27/2005 05:32 PM Scott Ullrich

MFC 7196
mpd blocks until ppp-linkup exits, background rc.newwanip as dyndns is tripping this up (it tries to connect out a pppoe connection that's blocking on this script).

Tested-by: DungaBee, Hoba, and a few others.

e1c8cdf5 10/16/2005 05:34 PM Scott Ullrich

MFC 6871
If WAN is pppoe, hold down boot until connection is established This will help anyone with PPPOE on WAN and DHCP on OPTx not get incorrect gateways assigned.

eba1ebc1 10/16/2005 05:32 PM Scott Ullrich

Remove ppp-linkup, readding as non binary file.

5b237745 11/07/2004 03:06 AM Scott Ullrich

Initial revision