Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
b67a9fa2 11/09/2008 05:38 AM Scott Ullrich

Correctly set old wan ip

52ea74f3 11/09/2008 05:07 AM Scott Ullrich

Set /tmp/rc.newwanip_oldip

699cc24b 07/02/2007 09:38 PM Scott Ullrich

Correct location to "true".

Noticed-by: dsh

9f241a6d 04/27/2007 07:44 PM Scott Ullrich

Quiet down the dhclient log files in preperation for 1.-2-BETA-1 release.

d0d7f09a 02/23/2007 06:35 PM Scott Ullrich

DHCP Renew does "too much"

Ticket #1260

e89124ac 02/20/2007 05:29 AM Scott Ullrich

Nuke old and unused code which was commented out.

a63ce784 02/20/2007 05:28 AM Scott Ullrich

Bring back hostname option since it is not leading to the short write errors

b4a69e17 02/20/2007 12:00 AM Scott Ullrich

Sprinkle debugging statements throughout to try and obtain a read of where the dhclient process is going south.

c3873def 02/19/2007 03:59 AM Scott Ullrich

Somehow the HOSTNAME code will lead to short write errors under unusual renew load. Comment out this code until we can figure out why this is happening.

Found-by:

15b63fa8 11/30/2006 07:34 PM Scott Ullrich

Do not set an exit status in dhclient-script.

From a post that I dug up from Brooks:

Why on earth are you exiting with $1 as the status? This is almost
certainly the problem. You should not exit from dhclient-exit-hooks
at all since it occurs in the context of dhclient-script and this exit...

a85d0fa0 10/28/2006 02:08 AM Scott Ullrich

back out recent change.

8ab76dbc 10/23/2006 12:16 AM Scott Ullrich

Woops, log an error to system logs when we restart check_reload_status from dhclient-script instead of simply echoing out where someone may not even see it.

fe5869e4 10/23/2006 12:14 AM Scott Ullrich

If for any reason check_reload_status is not started when dhclient fires of dhclient-script, restart it.

d052c74e 01/08/2006 10:37 PM Scott Ullrich

Write out old ip to /tmp/rc.newwanip_oldip

d6ee4ccf 12/04/2005 07:48 AM Scott Ullrich

When adding nameservers to the system, add a route to the ip through the interface in question. This ensures that domain name server lookups to the nameserver goes out the correct wan address. Also before adding new entries route delete the old nameserver routes that are on file to ensure that a long uptime doesn't result in stale routes.

ddf49291 11/28/2005 07:30 PM Scott Ullrich

Pass rc.newwanip operations off to check_reload_status.c

d2e83802 11/16/2005 05:12 AM Scott Ullrich

Remove the space from #! line

5a5eae32 11/13/2005 10:26 PM Scott Ullrich

Start rc.newwanip in the background

6ce3b4ec 11/13/2005 10:10 PM Scott Ullrich

Pass interface correctly to rc.newwanip

f2d2b5bb 10/30/2005 11:15 PM Scott Ullrich

Echo out the ip address of the interface after renewing to /var/db/${interface}_ip

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.

c9f9573b 09/21/2005 08:54 PM Scott Ullrich

Pass the interface in question. We're multi-wan now.

Pointy-hat-to: GeekGod

4a3fd398 09/21/2005 08:46 PM Scott Ullrich

Back out last commit. /etc/rc.newwanip is supposed to trigger the filter reload

897838a8 09/21/2005 08:09 PM Scott Ullrich

Trigger filter reload after changes

ea0c6522 09/11/2005 12:42 AM Scott Ullrich

Use variables

8f687e4c 09/11/2005 12:36 AM Scott Ullrich

Cleanup hacks. Only add default route if its not added already.

3ec71029 09/11/2005 12:10 AM Scott Ullrich

Add the interface as the default gateway if all else fails

5b4180d3 09/10/2005 11:31 PM Scott Ullrich

Log commands run to bring up default route

cdda736b 09/10/2005 11:20 PM Scott Ullrich

Uncomment /dev/null.

4671d198 09/10/2005 10:52 PM Scott Ullrich

More full paths to files

24003009 09/10/2005 10:22 PM Scott Ullrich

use full path to sed, sleep, etc

f968bb86 09/10/2005 10:19 PM Scott Ullrich

use full path to route

21132591 09/10/2005 09:42 PM Scott Ullrich

Simply call exit_with_hooks. We do not need to pass it a return value.

4507a044 09/10/2005 09:40 PM Scott Ullrich

No need to check for rc.newwanip, the file will exist on pfSense

d2adb1a4 09/10/2005 09:33 PM Scott Ullrich
  • No need to rely on exit-hooks to spawn rc.newwanip, do it here.
  • Exit with 0!
a60a5619 08/30/2005 10:05 PM Scott Ullrich

Add athctrl.sh which helps in setting distance

aad37fd2 08/30/2005 07:12 PM Jeb Campbell

Dns from dhcp fixes for GG to test.

03af9b1a 08/30/2005 06:33 PM Scott Ullrich

Do not echo nameserver $nameserver, simply echo $nameserver

63aab6a1 08/30/2005 06:21 PM Scott Ullrich

Do not create /var/etc/resolv.conf in dhclient-script. Depend on system_resolvconf_generate() and /etc/rc.newwanip

b43ba51b 08/29/2005 09:20 PM Scott Ullrich

Bring back in OpenBSD's dhclient-script for doctoring

c5cbdb53 08/28/2005 02:32 AM Scott Ullrich

Restore previous dhclient-script.

0d94a9cb 08/03/2005 08:16 PM Scott Ullrich

Use /var/etc/ for temporary staging of resolv.conf

38d65554 08/03/2005 08:06 PM Scott Ullrich

Use /var/etc/ for temporary staging of resolv.conf

ddb8b357 07/10/2005 08:36 PM Scott Ullrich

Bring in m0n0wall specific patches on top of open's dhclient-script

8e4ab9fe 07/10/2005 06:45 PM Scott Ullrich

Move dhclient-script to /sbin/

f19f4e4a 11/08/2004 02:52 AM Scott Ullrich

Delete files.

f1cd913a 11/07/2004 08:22 PM Scott Ullrich

Go ahead and sync up needed binaries since we have a pfSense_sync script.