Commit Graph

40 Commits

Author SHA1 Message Date
Roy Marples
8273ac5a42 Fix copyright dates 2011-12-15 02:41:10 +00:00
Roy Marples
91cd732493 Add an implementation of an IPv6 Router Solicitor as specified in
RFC6016 with regards to RDNSS and DNSSL.
2011-12-15 02:35:47 +00:00
Roy Marples
499225e43f Change default reboot timeout to 5 seconds.
When rebooting and we haven't daemonised, reduce the discover timeout
to allow for fallback or IPv4LL addresses.
2011-11-22 23:44:32 +00:00
Roy Marples
dc60cba4ed -U, --dumplease now dumps the lease for the specified interface
dhcpcd does not have to be running for this to work
2010-08-24 09:16:07 +00:00
Roy Marples
41c60e02b3 Move -N to a config file only option so it does not conflict with
the option from dhcpcd-4
2010-04-30 15:29:30 +00:00
Roy Marples
793c4286eb Use a more descriptive vendorid, to include OS arch and platform. 2010-02-17 13:26:45 +00:00
Roy Marples
900b3da40e -J, --broadcast now sets the broadcast flag in DHCP messages. 2010-01-28 20:12:54 +00:00
Roy Marples
4242c9b3dd -H, --xidhwaddr will use the last four bytes of the hardware address
as the xid instead of generating a random number.
Thanks to Aurelien.
2010-01-14 02:04:41 +00:00
Roy Marples
e90c590913 Only warn about CSR when binding. 2009-12-23 07:18:22 +00:00
Roy Marples
75e91cd0f7 Fix the -S option, #181. 2009-12-01 00:57:45 +00:00
Roy Marples
68510bef05 If we have to bring an interface up, and we don't have any carriers
then we need to wait for a second to allow an interface to settle.
2009-11-20 15:14:27 +00:00
Roy Marples
2a07a2afd8 Add back -w, --waitip so that user has total control over behaviour. 2009-10-16 19:59:30 +00:00
Roy Marples
355889a91c Remove the -w option and make it the default action if at least one
interface reports a carrier.
2009-10-14 15:16:07 +00:00
Roy Marples
f19df563b0 Add an extra timeout for IPv4LL when in use. 2009-10-08 19:56:52 +00:00
Roy Marples
21090e3d1d -w, --wait forces dhcpcd to wait for an ip address or timeout when
running on more than one interface.
2009-10-07 21:11:14 +00:00
Roy Marples
95d6dcfab1 Allow an un-encapsulated vendor option. 2009-09-01 20:38:01 +00:00
Roy Marples
6bfd88f171 -e, --env var=value
now pushes var=value to the environment when dhcpcd-run-hooks is run.
This allows the possibility to set env vars that hook scripts can work off.
A good example of this is 30-hostname so that force_hostname=YES can set
the hostname regardless of the current hostname.

--reconfigure now takes the short option -g.
2009-07-25 23:22:10 +00:00
Roy Marples
bf80d52682 Add -W, --whitelist addr/cidr
This only allows packets from the addresses listed and overrides
blacklist if set.
2009-07-05 11:33:46 +00:00
Roy Marples
601fb3d500 Add (c) to Copyright 2009-05-01 13:57:45 +00:00
Roy Marples
ff021b0b5d Add an option to fallback to a profile when DHCP fails. 2009-04-18 21:43:23 +00:00
Roy Marples
d3088c7491 We need to move allow/deny back to options 2009-04-17 13:31:08 +00:00
Roy Marples
4ca7460fa3 Some option only make sense in the configuration file, so remove short
options for them for future reuse.
2009-04-15 09:15:53 +00:00
Roy Marples
6f767217f6 Add the ability to arping an address and select a profile based on the
hardware address replied with or the ip address.
2009-03-31 08:35:38 +00:00
Roy Marples
373e6ce084 Add an option to reconfigure dhcpcd without rebinding.
This is primarily for interaction with 3rd party link management, such as PPP.
More work on #159.
2009-03-20 10:21:12 +00:00
Roy Marples
1abffd5ba5 We can now detected primary addresses added or changed in BSD.
As such, we can wait for a 3RDPARTY to configure the interface, such as PPP.
We can then take the destination addess and automatically give it a default
route or any other DHCP option such as DNS servers.
This addresses #159.
2009-03-19 17:52:12 +00:00
Roy Marples
2f7cb97c9b Improve INFORM and STATIC support.
It's now possible to flip between DHCP, INFORM and STATIC on already
running instances.
2009-03-05 16:35:03 +00:00
Roy Marples
acb1cf88cf Fix debug working in dhcpcd.conf 2009-02-23 23:52:21 +00:00
Roy Marples
9d9af32de8 We should only send short hostnames as qualfied ones confuse ISC DHCP server. If a FQDN is required, then use that option instead of the hostname. 2009-01-26 12:00:01 +00:00
Roy Marples
4fb0c27c39 Ensure that we have enough buffer for gethostname and terminate it correctly. 2009-01-26 09:11:38 +00:00
Roy Marples
c53cf4ef4b You can now add a configure block per ssid if the interface is wireless. 2009-01-01 20:51:04 +00:00
Roy Marples
91a44b91b0 Add a static directive that allows the configuration of variables, which
supercedes any DHCP configured variables.
If ip_address is configured then we don't bother with a DHCP 
transaction.
2009-01-01 14:23:36 +00:00
Roy Marples
c5cf49e71a If no lease time is supplied, assume it's infinite. 2008-11-19 14:58:24 +00:00
Roy Marples
2662d5195f Allow the release keyword in dhcpcd.conf to release the lease on shutdown. 2008-09-16 13:17:23 +00:00
Roy Marples
5c957ca3d3 Fix reboot timeout in dhcpcd.conf. 2008-09-15 16:43:27 +00:00
Roy Marples
a2a9a498da Reboot off the last lease and use the last lease if not expired and user has asked for it. Also, add a reboot timeout toggle (default 10 seconds). 2008-09-15 15:23:46 +00:00
Roy Marples
ba97e49417 Add allowinterfaces and denyinterfaces options to dhcpcd.conf for better multiple interface support. 2008-09-11 09:38:02 +00:00
Roy Marples
f25f3fb214 Don't spam on startup about unsupported interfaces if quiet. 2008-09-05 15:46:02 +00:00
Roy Marples
da16617840 Remove some ints and replace with our option mask. 2008-09-05 07:22:03 +00:00
Roy Marples
ccf0a5f559 Fix compile and wireless test on FreeBSD. 2008-09-02 15:25:14 +00:00
Roy Marples
fd05b7dcfc Add an event loop.
Split client.c into smaller files and functions and
recode around the event loop.
Add multiple interface support using the new event loop.
Document changes and outstanding bugs.
2008-09-02 13:28:11 +00:00