Subject: port-macppc/15073: incorrect date prevents network from working
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Wolfson <mw@costello.cnf.cornell.edu>
List: netbsd-bugs
Date: 12/28/2001 02:54:12
>Number:         15073
>Category:       port-macppc
>Synopsis:       incorrect date prevents network from working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 23:55:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        NetBSD-1.5.2
>Organization:
	
>Environment:
PowerMacintosh 7300, NetBSD 1.5.2 release
	
System: NetBSD costello 1.5.2 NetBSD 1.5.2 (COSTELLO) #1: Sat Dec 15 20:00:44 EST 2001 mw@costello:/usr/nosrc/sys/arch/hp300/compile/COSTELLO hp300


>Description:
If date is set too old, then network doesn't work.  No errors, it just 
doesn't transmit or receive packets.  
% ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1): 56 data bytes
^C
----10.0.1.2 PING Statistics----
0 packets transmitted, 0 packets received,

Several users have reported this on different platforms (PowerBook G3, 
PowerMacintosh 7300).

This situation might arise if a user "zaps PRAM" on their mac, which will 
clear out the current date/time.  Also, when motherboard batteries die, 
the date is reset to either 1901 or 1956 (depending on model).

>How-To-Repeat:
date 190101010101
ping 10.0.1.1

>Fix:
Prevent bogus dates?
>Release-Note:
>Audit-Trail:
>Unformatted: