Commit Graph

32 Commits

Author SHA1 Message Date
Scott Ullrich
d052c74ef8 Write out old ip to /tmp/rc.newwanip_oldip 2006-01-08 22:37:12 +00:00
Scott Ullrich
d6ee4ccf44 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. 2005-12-04 07:48:43 +00:00
Scott Ullrich
ddf49291bd Pass rc.newwanip operations off to check_reload_status.c 2005-11-28 19:30:04 +00:00
Scott Ullrich
5a5eae3269 Start rc.newwanip in the background 2005-11-13 22:26:06 +00:00
Scott Ullrich
6ce3b4ec13 Pass interface correctly to rc.newwanip 2005-11-13 22:10:58 +00:00
Scott Ullrich
f2d2b5bbe7 Echo out the ip address of the interface after renewing to /var/db/${interface}_ip 2005-10-30 23:15:28 +00:00
Scott Ullrich
e1c8cdf529 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.
2005-10-16 17:34:42 +00:00
Scott Ullrich
c9f9573b4b Pass the interface in question. We're multi-wan now.
Pointy-hat-to: GeekGod
2005-09-21 20:54:59 +00:00
Scott Ullrich
4a3fd398ce Back out last commit. /etc/rc.newwanip is supposed to trigger the filter reload 2005-09-21 20:46:41 +00:00
Scott Ullrich
897838a8c2 Trigger filter reload after changes 2005-09-21 20:09:39 +00:00
Scott Ullrich
ea0c65226a Use variables 2005-09-11 00:42:19 +00:00
Scott Ullrich
8f687e4c07 Cleanup hacks. Only add default route if its not added already. 2005-09-11 00:36:52 +00:00
Scott Ullrich
3ec710291a Add the interface as the default gateway if all else fails 2005-09-11 00:10:03 +00:00
Scott Ullrich
5b4180d345 Log commands run to bring up default route 2005-09-10 23:31:02 +00:00
Scott Ullrich
cdda736bb3 Uncomment /dev/null. 2005-09-10 23:20:35 +00:00
Scott Ullrich
4671d198db More full paths to files 2005-09-10 22:52:58 +00:00
Scott Ullrich
240030098b use full path to sed, sleep, etc 2005-09-10 22:22:07 +00:00
Scott Ullrich
f968bb86fd use full path to route 2005-09-10 22:19:38 +00:00
Scott Ullrich
21132591a3 Simply call exit_with_hooks. We do not need to pass it a return value. 2005-09-10 21:42:27 +00:00
Scott Ullrich
4507a04440 No need to check for rc.newwanip, the file will exist on pfSense 2005-09-10 21:40:39 +00:00
Scott Ullrich
d2adb1a4da * No need to rely on exit-hooks to spawn rc.newwanip, do it here.
* Exit with 0!
2005-09-10 21:33:03 +00:00
Jeb Campbell
aad37fd214 Dns from dhcp fixes for GG to test. 2005-08-30 19:12:56 +00:00
Scott Ullrich
03af9b1a76 Do not echo nameserver $nameserver, simply echo $nameserver 2005-08-30 18:33:18 +00:00
Scott Ullrich
63aab6a1b3 Do not create /var/etc/resolv.conf in dhclient-script. Depend on system_resolvconf_generate() and /etc/rc.newwanip 2005-08-30 18:21:47 +00:00
Scott Ullrich
b43ba51b63 Bring back in OpenBSD's dhclient-script for doctoring 2005-08-29 21:20:15 +00:00
Scott Ullrich
c5cbdb532f Restore previous dhclient-script. 2005-08-28 02:32:16 +00:00
Scott Ullrich
0d94a9cb8b Use /var/etc/ for temporary staging of resolv.conf 2005-08-03 20:16:33 +00:00
Scott Ullrich
38d6555450 Use /var/etc/ for temporary staging of resolv.conf 2005-08-03 20:06:51 +00:00
Scott Ullrich
ddb8b35726 Bring in m0n0wall specific patches on top of open's dhclient-script 2005-07-10 20:36:18 +00:00
Scott Ullrich
8e4ab9fee0 Move dhclient-script to /sbin/ 2005-07-10 18:45:08 +00:00
Scott Ullrich
f19f4e4a7c Delete files. 2004-11-08 02:52:13 +00:00
Scott Ullrich
f1cd913af5 Go ahead and sync up needed binaries since we have a pfSense_sync script. 2004-11-07 20:22:01 +00:00