summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Revert "comment out line that's hanging dhclient for now"Ermal2010-09-221-1/+1
| | | | This reverts commit 53a37b66d343682700ff49d595b3ea1310ec320f.
* comment out line that's hanging dhclient for nowChris Buechler2010-09-221-1/+1
|
* Add as a search domain the domains suggested by dhcp.Ermal2010-09-161-1/+1
|
* Fix typo.Ermal2010-09-161-1/+1
|
* Ticket #876. Actually the event to send is interface newip $ip rather ↵Ermal2010-09-151-10/+4
| | | | interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
* Reload dns and interface properly on dynamic types.Ermal2010-09-151-9/+9
|
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-5/+2
|
* Do not use netstat to fetch default gateway interface but other faster ↵Ermal2010-06-011-3/+2
| | | | commands to avoid problems on large interface setups.
* Fixes #622. Add a new file status for signaling default gateway under /tmp. ↵Ermal2010-05-311-17/+9
| | | | dhclient script will check for this file to define if the interface needs a default gateway or not from its given routes.
* Use full path and use variables to be consistent.Ermal2010-05-311-4/+4
|
* Fix static route for DNS from DHCP servers.jim-p2010-05-131-1/+1
|
* Resolve problems with dns server setup when allow override is set. Also add ↵Ermal2010-03-231-2/+0
| | | | static routes for all nameservers to be friendly with multiwan.
* When removing a package delete its underlying FreeBSD pacakges.Ermal Luçi2010-02-031-0/+2
| | | | | | | | Correct checks for avioding as much as possible errors. Simplify logic in some cases. Remove package include files when uninstalling packages. NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.
* Simplify recording of gateway coming form ppp configuration.Ermal Luçi2010-01-281-2/+2
|
* Do not break rc.newwanip by putting more information than requested in the file.Ermal Luçi2009-12-211-4/+4
|
* use correct gateway IP for PPPChris Buechler2009-12-211-1/+1
|
* Handle secondary DNS correctly for 3GScott Ullrich2009-10-261-2/+2
|
* Switch over to handling DNS from ppp.linkup allowing mulitple 3G cards to ↵Scott Ullrich2009-10-261-0/+16
| | | | coexist on the same box
* Add ppp endpoints IP as gatewayScott Ullrich2009-10-261-1/+1
|
* Add and use ppp-scriptScott Ullrich2009-10-261-0/+3
|
* Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel ↵Ermal Luçi2009-03-161-3/+0
| | | | now.(yay!)
* Correctly set old wan ipScott Ullrich2008-11-091-3/+4
|
* Set /tmp/rc.newwanip_oldipScott Ullrich2008-11-091-0/+1
|
* Remove bogus commands that adds a route to the new address pointing to dhcp.Ermal Luçi2008-08-121-1/+1
| | | | | | It seems uncertain either to be a typo of $new_ip_address and $old_ip_address my test show that either cases it does more harm than good. For now remove it altogether since it causes strange issues and makes ipsec tunnels not work on the interface with the new address.
* DHCP Renew does "too much" Ticket #1260Scott Ullrich2007-02-231-20/+27
|
* Nuke old and unused code which was commented out.Scott Ullrich2007-02-201-8/+0
|
* Bring back hostname option since it is not leading to the short write errorsScott Ullrich2007-02-201-9/+9
|
* Sprinkle debugging statements throughout to try and obtain a read of where ↵Scott Ullrich2007-02-201-6/+23
| | | | the dhclient process is going south.
* Somehow the HOSTNAME code will lead to short write errors under unusual ↵Scott Ullrich2007-02-191-9/+9
| | | | renew load. Comment out this code until we can figure out why this is happening. Found-by: GAndreone@imapro.com
* Do not set an exit status in dhclient-script.Scott Ullrich2006-11-301-2/+0
| | | | | | | | | 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 values is entirely bogus.
* back out recent change.Scott Ullrich2006-10-281-5/+6
|
* Woops, log an error to system logs when we restart check_reload_status from ↵Scott Ullrich2006-10-231-1/+1
| | | | dhclient-script instead of simply echoing out where someone may not even see it.
* If for any reason check_reload_status is not started when dhclient fires of ↵Scott Ullrich2006-10-231-5/+12
| | | | dhclient-script, restart it.
* Write out old ip to /tmp/rc.newwanip_oldipScott Ullrich2006-01-081-0/+1
|
* When adding nameservers to the system, add a route to the ip through the ↵Scott Ullrich2005-12-041-2/+18
| | | | 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.
* Pass rc.newwanip operations off to check_reload_status.cScott Ullrich2005-11-281-1/+1
|
* Remove the space from #! lineScott Ullrich2005-11-161-1/+1
|
* Start rc.newwanip in the backgroundScott Ullrich2005-11-131-1/+1
|
* Pass interface correctly to rc.newwanipScott Ullrich2005-11-131-1/+1
|
* Echo out the ip address of the interface after renewing to ↵Scott Ullrich2005-10-301-0/+1
| | | | /var/db/${interface}_ip
* MFC 6871Scott Ullrich2005-10-161-22/+31
| | | | 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.
* Pass the interface in question. We're multi-wan now.Scott Ullrich2005-09-211-1/+1
| | | | Pointy-hat-to: GeekGod
* Back out last commit. /etc/rc.newwanip is supposed to trigger the filter ↵Scott Ullrich2005-09-211-5/+0
| | | | reload
* Trigger filter reload after changesScott Ullrich2005-09-211-1/+5
|
* Use variablesScott Ullrich2005-09-111-1/+2
|
* Cleanup hacks. Only add default route if its not added already.Scott Ullrich2005-09-111-1/+4
|
* Add the interface as the default gateway if all else failsScott Ullrich2005-09-111-0/+4
|
* Log commands run to bring up default routeScott Ullrich2005-09-101-0/+2
|
* Uncomment /dev/null.Scott Ullrich2005-09-101-2/+5
|
* More full paths to filesScott Ullrich2005-09-101-14/+15
|
OpenPOWER on IntegriCloud