2002-03-14  Chris Hanson <cph@debian.org>

	* arp-discovery.c[1.7]:
	Fix typo in STORE_IP macro.

	* scripts/shared.sh.in[1.32]:
	Change reference from CONFIG_FILE to SCHEME_CONFIG_FILE.

	* ifd.c[1.19]:
	Change code to try old SIOCGMIIPHY/SIOCGMIIREG ioctls if the new ones
	don't work.

2002-02-25  Chris Hanson <cph@debian.org>

	* Makefile.in[1.17], get-addr.c[1.4]:
	Change get-addr to use new if-params code.

	* Makefile.in[1.16], get-ip-addresses.c[1.1]:
	Implement simple program to read current IP addresses and write them
	out as shell environment-variable bindings.

	* if-params.c[1.2]:
	In read_interface_configuration, if EADDRNOTAVAIL is returned while
	reading an address, don't return, just mark the field as invalid.

	* Makefile.in[1.15], arp-discovery.c[1.6], if-params.c[1.1],
	  if-params.h[1.1], version[1.8]:
	Split IP parameter read/write interface into a separate file.

2002-02-24  Chris Hanson <cph@debian.org>

	* doc/laptop-net.texinfo.in[1.14]:
	Add documentation for ARP discovery feature.

	* scripts/shared.sh.in[1.31]:
	Track source that selected current scheme.  Use the source to decide
	whether to change to "default" scheme when ARP discovery fails.

2002-02-23  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.30]:
	Allow MODULE_NAME to be "none".

	* arp-discovery.c[1.5], scripts/shared.sh.in[1.29]:
	Add special output texts to distinguish case where there are no
	choices in the IP map file to case where there is a choice but not
	responses.  In the former case, we don't want to change the current
	scheme, while in the latter case we do.

	* arp-discovery.c[1.4], scripts/shared.sh.in[1.28]:
	Add code to bring the interface up with a fake IP address if
	necessary, and to turn it off again afterwards.

2002-02-22  Chris Hanson <cph@debian.org>

	* ifd.c[1.18]:
	Remove unused #include statements.

	* ifd.c[1.17]:
	Fix typo.

2002-02-21  Chris Hanson <cph@debian.org>

	* Makefile.in[1.14], scripts/ip-map.conf[1.1],
	  scripts/laptop-net.conf[1.8], scripts/schemes.conf[1.1],
	  scripts/shared.sh.in[1.27]:
	Update program to use new ARP discovery feature.

	* arp-discovery.c[1.3], parse-ipmap.c[1.2], parse-ipmap.h[1.2]:
	Tweak control structure of IP-map parser.  Generate error messages
	where needed.  Change calling interface to take filename rather than
	FILE * structure.  Extend keyword character set to allow DNS names or
	IP addresses as keywords.  Fix some parser bugs.  If IP map doesn't
	exist, treat it as existing but empty.

2002-02-20  Chris Hanson <cph@debian.org>

	* Makefile.in[1.13], arp-discovery.c[1.2], parse-ipmap.c[1.1],
	  parse-ipmap.h[1.1]:
	Modify arp-discovery to use a map file that associates keywords with
	sets of IP addresses, and to print the keyword of the first IP address
	that is located.  This will simplify the process of identifying the
	"scheme" name.

2002-02-19  Chris Hanson <cph@debian.org>

	* Makefile.in[1.12], arp-discovery.c[1.1], configure.in[1.6],
	  version[1.7]:
	Implement ARP discovery program.  This is a rewrite and simplification
	of the ARP-discovery code in "intuitively".

2002-02-08  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.26], version[1.6]:
	Fix two bugs: (1) kernel_at_least_2_4_p was defined after its first
	use; (2) shut_down_nfs wasn't excluding loopback mounts.

2002-01-09  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.25]:
	Fix typo.

	* scripts/shared.sh.in[1.24]:
	Implement automatic defaulting of MII_SUPPORTED based on lists of
	drivers known to support it.

2002-01-02  Chris Hanson <cph@debian.org>

	* scripts/link-change.in[1.5]:
	Don't bother loading "shared.in" if we're just going to exit.

	* doc/laptop-net.texinfo.in[1.13], scripts/laptop-net.conf[1.7],
	  scripts/shared.sh.in[1.23], scripts/shared.sh.in[1.22],
	  scripts/shared.sh.in[1.21], scripts/shared.sh.in[1.20]:
	Provide user-configured flag MII_SUPPORTED to allow disabling of link
	beat on drivers that don't support MII.

2001-12-13  Chris Hanson <cph@debian.org>

	* config.guess[1.2], config.sub[1.2]:
	Update config.* files to recent versions.

	* scripts/shared.sh.in[1.19], version[1.5]:
	Add changes suggested by Bas Zoetekouw <bas@a-es2.uu.nl>:
	
	1. Update resolv.conf _after_ interface is up, in order to interact
	   correctly with a DHCP server.
	
	2. Comment out "search", "domain", and "nameserver" entries found in
	   the resolv.conf file, if these are overridden in the laptop-net
	   configuration.

2001-11-13  Chris Hanson <cph@debian.org>

	* version[1.4]:
	Update version for initial submission to Debian.

2001-10-09  Chris Hanson <cph@debian.org>

	* version[1.3]:
	Fix problem: pcmcia-cs network script calls stop_fn before the
	interface is disabled, which means that profile_change doesn't do
	anything when the card is removed.  Workaround is to allow
	profile_change to take an argument forcing the change.

	* doc/laptop-net.texinfo.in[1.12], scripts/profile-change.in[1.12]:
	Allow caller to pass in IP address (or "down") on the command line.
	Needed for proper operation with PCMCIA scripts.

2001-06-13  Chris Hanson <cph@debian.org>

	* version[1.2]:
	Fix various bugs that crept in.

	* get-addr.c[1.3]:
	Always return an exit code of 0.

	* scripts/shared.sh.in[1.18], scripts/shared.sh.in[1.17]:
	Put PROFILE_FILE definition back -- it's needed by the init.d script.

	* doc/laptop-net.texinfo.in[1.11]:
	Update edition number and modification date.

	* doc/laptop-net.texinfo.in[1.10]:
	Add credits.  Break up chapters into logical sections.  Add new
	section describing how to hook the profile mechanism into pcmcia-cs.

2001-06-12  Chris Hanson <cph@debian.org>

	* scripts/profile-change.in[1.11], scripts/shared.sh.in[1.16]:
	Forgot to move definition of GET_ADDR.

	* scripts/profile-change.in[1.10]:
	Use "cp -a" rather than "cp -pr".

	* scripts/profile-change.in[1.9], scripts/shared.sh.in[1.15]:
	Move all of the profile-selection mechanism into a single file.  This
	is intended to simplify the use of this code from pcmcia-cs.

2001-06-11  Chris Hanson <cph@debian.org>

	* Makefile.in[1.11]:
	Don't install configuration file in "install" rule.

	* scripts/shared.sh.in[1.14]:
	If there are no profiles, ls will generate error; ignore it.

	* scripts/laptop-net.conf[1.6]:
	Eliminate start/stop commands, which are now superseded by profiles.

	* scripts/profile-change.in[1.8]:
	Don't stop profile selection if one of the component scripts gets an error.

	* doc/laptop-net.texinfo.in[1.9]:
	Add example of use of the profiles mechanism.

	* doc/laptop-net.texinfo.in[1.8]:
	Fix some typos.

	* doc/Makefile.in[1.3]:
	Add new "fi" index suffix.

	* doc/laptop-net.texinfo.in[1.7]:
	Finish writing profiles chapter.

	* doc/laptop-net.texinfo.in[1.6]:
	Change copyright holder to HP.  Add section about link-beat detection.
	Add URLs in a few places.  Add index entries for some key concepts.

	* doc/Attic/gfdl.texinfo[1.2], doc/Makefile.in[1.2],
	  doc/laptop-net.texinfo.in[1.5]:
	Use simpler license for this small document.

	* AUTHORS[1.1], COPYING[1.1]:
	Initial revision.

2001-06-10  Chris Hanson <cph@debian.org>

	* Makefile.in[1.10], configure.in[1.5], doc/Makefile.in[1.1]:
	Split makefile so that doc subdirectory has its own.

	* doc/laptop-net.texinfo.in[1.4]:
	Do another editing pass on the Schemes chapter.

2001-06-09  Chris Hanson <cph@debian.org>

	* doc/laptop-net.texinfo.in[1.3]:
	Use newer markup commands that I didn't learn way back when.

	* doc/laptop-net.texinfo.in[1.2]:
	Fix some problems with Info generation.

	* scripts/shared.sh.in[1.13]:
	Also allow profile names to begin with a digit.

	* doc/laptop-net.texinfo.in[1.1]:
	Initial draft.

	* Makefile.in[1.9]:
	Add rules to build and clean documentation directory.

	* doc/Attic/gfdl.texinfo[1.1]:
	Initial revision.

2001-06-08  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.12], scripts/shared.sh.in[1.11]:
	Profile names now must begin with a lower-case letter.

	* version[1.1]:
	Add version file to hold upstream version number.

	* scripts/profile-change.in[1.7], scripts/shared.sh.in[1.10]:
	Change name structure of profiles directory, so that we don't have to
	use clumsy .foo names.  Add rc.d directory to each profile, so that
	init.d scripts can be directly handled.

	* scripts/profile-change.in[1.6]:
	Don't use logger PID in syslog messages.

	* scripts/profile-change.in[1.5]:
	Add quotes to network-profile name.

	* scripts/profile-change.in[1.4]:
	Fix some more bugs.

	* Makefile.in[1.8]:
	Fix another dumb oversight.

	* Makefile.in[1.7]:
	Fix stupid thinko in previous change.

	* scripts/shared.sh.in[1.9]:
	Change pattern matching to have one pattern per line.  Fix typo.

	* scripts/profile-change.in[1.3]:
	Use "logger" program to write syslog entries, rather than echoing
	status to stdout.

	* Makefile.in[1.6]:
	Add line to sed script to insert variable CONFIG_DIR.

	* Makefile.in[1.5]:
	Fix typo: profile-change not added to list of scripts to generate.

	* get-addr.c[1.2]:
	Change to always print a token on standard output.  Change return
	value from -1 to 2.

	* scripts/profile-change.in[1.2], scripts/shared.sh.in[1.8]:
	Re-do handling of profiles.  Keep track of the existing profile name
	in a file.  Pass the old and new names to the profile-change script.
	Eliminate "quiet" arguments that aren't used any more.  Move profile
	selection here, and use the profile-change script just to effect the
	change itself.

2001-06-07  Chris Hanson <cph@debian.org>

	* configure.in[1.4], configure.in[1.3]:
	Add CONFIG_DIR variable.

	* Makefile.in[1.4], scripts/profile-change.in[1.1],
	  scripts/shared.sh.in[1.7]:
	Add profile-change script to be invoked when the interface is brought
	up or down.

	* scripts/link-change.in[1.4]:
	Eliminate unused variable reference in case statement.

2001-06-05  Chris Hanson <cph@debian.org>

	* Makefile.in[1.3], get-addr.c[1.1]:
	Add program get-addr to print the IP address associated with a network
	interface.

	* scripts/shared.sh.in[1.6]:
	Don't attempt to unmount NFS file systems unless the network interface
	is known to be up.

	* scripts/link-change.in[1.3], scripts/shared.sh.in[1.5]:
	Don't try to unmount NFS mounts at suspend time.  This is doomed to
	fail on 2.4 kernels because the network device has already been turned
	off by the time we get control.  We could do this for 2.2 kernels, but
	it's probably better that the behavior be uniform.

2001-04-18  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.4]:
	Eliminate kludgey time delays when loading or unloading module.  This
	should no longer be needed.

2001-04-16  Chris Hanson <cph@debian.org>

	* scripts/link-change.in[1.2]:
	When the interface goes from "unknown" to "down,*,connected", bring it
	up.  This will no longer be done in the init.d script, as it can cause
	a race condition.

	* scripts/shared.sh.in[1.3]:
	Fix typo from a previous change.

2001-04-13  Chris Hanson <cph@debian.org>

	* scripts/shared.sh.in[1.2]:
	Change name of temporary file used to edit "/etc/resolv.conf"; old
	name was the same as that used by pcmcia-cs, which sometimes caused
	conflict.

2001-04-09  Chris Hanson <cph@debian.org>

	* ifd.c[1.16]:
	Rewrite parsing of /proc/net/dev interface names.  Add --debug option
	to simplify debugging.

	* ifd.c[1.15]:
	Add code to read interface list from /proc/net/dev, if possible.  This
	will allow ifd to see interfaces that are down.

2001-04-06  Chris Hanson <cph@debian.org>

	* ifd.c[1.14]:
	The interfaces to be watched must be explicitly listed.  Previously we
	allowed no interfaces to be listed, meaning to watch all of them.  In
	light of the previous change, this is a bad idea.

	* ifd.c[1.13]:
	Don't probe MII registers for unwatched interfaces.  The ioctl's that
	do this aren't unique to these devices and can cause problems when
	used on other devices.

2001-04-05  Chris Hanson <cph@debian.org>

	* configure.in[1.2]:
	Add argument to override the configuration-file location.

	* Makefile.in[1.2]:
	Fix a handful of bugs.

	* Attic/Makefile[1.19], Makefile.in[1.1], config.guess[1.1],
	  config.sub[1.1], configure.in[1.1], install-sh[1.1],
	  mkinstalldirs[1.1], scripts/Attic/link-change[1.8],
	  scripts/Attic/shared.sh[1.13], scripts/link-change.in[1.1],
	  scripts/shared.sh.in[1.1]:
	Convert to autoconf; automatically customize scripts.

2001-03-12  Chris Hanson <cph@debian.org>

	* scripts/Attic/shared.sh[1.12]:
	For now, don't take advantage of 2.4.x suspend support.

	* scripts/Attic/link-change[1.7], scripts/Attic/shared.sh[1.11],
	  scripts/laptop-net.conf[1.5]:
	Simplify handling of configuration file, and associated logic.  Move
	module manipulation into shared script.

	* ifd.c[1.12]:
	Simplify debugging error messages for case where interface is disabled.

	* linkup.c[1.3]:
	Change verbose mode to print out "triple" string just like that passed
	as argument to link-change script by ifd.

	* scripts/Attic/link-change[1.6], scripts/Attic/shared.sh[1.10]:
	Quote arguments inside $( ... ).

2001-03-11  Chris Hanson <cph@debian.org>

	* update-log.scm[1.4]:
	Don't use working directory; use current-load-pathname.

	* Attic/Makefile[1.18]:
	Add DESTDIR prefix to install targets.

	* Attic/Makefile[1.17]:
	The config file must go in "/etc" since the scripts need to find it there.

	* Attic/Makefile[1.16]:
	Also install the scripts.  Add install-target definitions to allow the
	Debian package to override this.

	* scripts/Attic/default-scheme[1.5]:
	Rename default-scheme to laptop-net.conf.

	* Attic/Makefile[1.15], scripts/Attic/link-change[1.5],
	  scripts/Attic/shared.sh[1.9]:
	Change package name from "ob6000-net" to "laptop-net".

	* scripts/Attic/default-scheme[1.4], scripts/Attic/shared.sh[1.8],
	  scripts/laptop-net.conf[1.4]:
	Completely rework the scripts again, in order to take advantage of the
	suspend support in Linux 2.4.x.  Work around the DHCP problem by
	adding code to restart the DHCP client on resume.

	* Attic/Makefile[1.14], ifd.c[1.11], linkup.c[1.2], mktone.c[1.2],
	  scripts/Attic/default-scheme[1.3], scripts/Attic/link-change[1.4],
	  scripts/Attic/shared.sh[1.7], scripts/laptop-net.conf[1.3],
	  server.c[1.3], server.h[1.2], update-log.scm[1.3]:
	Update FSF address in copyright statement.

2001-01-13  Chris Hanson <cph@debian.org>

	* scripts/Attic/link-change[1.3], scripts/Attic/shared.sh[1.6]:
	Make another attempt to fix problems with Linux 2.4.0.  Previous
	solution works in limited situations but not in all.  In particular,
	the suspend support for the network driver doesn't interact well with
	DHCP.  This version uses the same strategy for both 2.2.x and 2.4.x,
	unloading and reloading the module around the suspend.  This also
	works around a bug in the 2.4.0 kernel that causes multiple resume
	events to be sent to apmd.

	* Attic/Makefile[1.13], Attic/Makefile[1.12]:
	Eliminate ChangeLog from output.  This can't be generated without
	MIT Scheme.

2001-01-10  Chris Hanson <cph@debian.org>

	* scripts/Attic/shared.sh[1.5]:
	Fix problems with Linux 2.4.0, which now supports suspend/resume for
	the network driver.  This new behavior caused an unexpected sequence
	of events to occur, resulting in the network getting wedged.  Now, for
	2.4.0 or later, no special action is taken at suspend.

2000-12-22  Chris Hanson <cph@debian.org>

	* ifd.c[1.10]:
	If errors occur while probing an interface, just skip the interface
	and move on.  Killing the daemon is always the wrong action.

2000-11-05  Chris Hanson <cph@debian.org>

	* update-log.scm[1.2]:
	This file is loaded by redirection to standard input, so we can't use
	the load pathname.

	* Attic/Makefile[1.11], Attic/Makefile[1.10]:
	Add rules to generate ChangeLog.

	* scripts/Attic/shared.sh[1.4]:
	Change names of mktone argument variables.

	* Attic/Makefile[1.9]:
	Modifications needed to move the networking stuff to a separate
	directory and to Debianize it.

	* scripts/Attic/shared.sh[1.3]:
	Delete initial blank line.

	* scripts/Attic/default-scheme[1.2], scripts/laptop-net.conf[1.2]:
	Add copyright.

	* scripts/Attic/link-change[1.2], scripts/Attic/shared.sh[1.2]:
	Add $Id$ markers.

	* scripts/Attic/default-scheme[1.1], scripts/Attic/link-change[1.1],
	  scripts/Attic/shared.sh[1.1], scripts/laptop-net.conf[1.1],
	  update-log.scm[1.1]:
	Initial revision.

2000-11-03  Chris Hanson <cph@debian.org>

	* ifd.c[1.9]:
	Invoke the transition program even when building the initial set of
	records.

	* ifd.c[1.8]:
	Add PID file.

	* Attic/Makefile[1.8]:
	Fix bug in previous change.

	* Attic/Makefile[1.7]:
	Add mktone.  Make installation more flexible.

	* ifd.c[1.7]:
	Move beep out to a separate program so that it can be called from the
	transition script.

	* mktone.c[1.1]:
	Initial revision.

2000-11-02  Chris Hanson <cph@debian.org>

	* ifd.c[1.6]:
	Change command-line arguments to specify a set of interfaces that are
	to be watched.  Transitions on other interfaces are ignored.

	* ifd.c[1.5]:
	Action when transitions occur is to run program supplied on command line.

	* Attic/Makefile[1.6]:
	Change server to not depend on glib.  Change ifd to use server.o.

	* server.c[1.2]:
	Don't print errors; use syslog instead.

	* ifd.c[1.4]:
	Add code for running as a background server.

	* server.h[1.1]:
	Same as revision 1.4 from qfinger, except dependency on glib
	eliminated.

	* server.c[1.1]:
	Same as revision 1.6 from qfinger, except dependency on glib
	eliminated.

	* ifd.c[1.3]:
	Change status to separately record the status of the link and the
	status of the interface.

	* ifd.c[1.2]:
	Fix a bunch of bugs.  This one works.

	* ifd.c[1.1]:
	Initial revision.

	* Attic/Makefile[1.5]:
	Add new commands to examine network interfaces.

2000-10-28  Chris Hanson <cph@debian.org>

	* Attic/Makefile[1.4]:
	Fix compilation errors.

	* Attic/Makefile[1.3]:
	Add psctrld.

2000-10-27  Chris Hanson <cph@debian.org>

	* Attic/Makefile[1.2]:
	Add psctrl.o kernel module.

2000-10-24  Chris Hanson <cph@debian.org>

	* Attic/Makefile[1.1], linkup.c[1.1]:
	Initial revision.
