Date: Tue, 14 Nov 95 17:17:42 CST From: Paul Fuqua <pf@islington-terrace.hc.ti.com> To: bugs@freebsd.org Subject: Can (!) Install 2.1.0-951026-SNAP on T4600 Message-ID: <3025379862-11020495@Islington-Terrace>
index | next in thread | raw e-mail
This is mostly a success report, with a couple of minor glitches.
I successfully installed the 951026-SNAP on my Toshiba T4600 laptop,
using a single / partition (ie, no /usr), and NFS over PPP.
Wow, that was smooth. Answer some configuration questions, get the
PPP connection up, go away for a few hours (38400 bps connection), and
return to a fully installed system. Very nice, notably easier than the
950210-SNAP I installed last time.
Two minor glitches: although I went through the network
configuration dialog and entered my laptop's name and address, they were
not communicated to iijppp or /etc/hosts. PPP still thought the local
address was 0.0.0.0, so the remote host had to specify both addresses
when making the connection, and /etc/hosts ended up with no entries but
localhost.
One actual bug: the following patch showed up on
comp.protocols.ppp a while back but apparently never found its way to
the FreeBSD newsgroups. The particular bug causes, for example, ntpdate
to hang if run from /etc/ppp/ip-up (when using kernel PPP and pppd).
The bug is still present in 951026-SNAP, and the source is unpatched in
951104-SNAP. If I apply the patch to the 951104-SNAP source and run it
on my 951026-SNAP installation, ntpdate from /etc/ppp/ip-up works.
Date: Sun, 30 Oct 1994 21:01:34 +0000
From: Bill Hay <wish@dumain.demon.co.uk>
Subject: sleep hangs
The patch below fixes a bug in pppd which prevented a sleep command in the
ip-up script from ever waking up. Hopefully it doesn't introduce too
many new bugs in the process :-)
diff -r -u --new-file ppp-2.1.2b/pppd/main.c ppp-2.1.2b.fixed/pppd/main.c
--- ppp-2.1.2b/pppd/main.c Wed Oct 12 04:14:26 1994
+++ ppp-2.1.2b.fixed/pppd/main.c Sun Oct 30 20:10:02 1994
@@ -1255,6 +1255,7 @@
char **args;
int must_exist;
{
+ sigset_t alarm;
int pid;
pid = fork();
@@ -1263,6 +1264,9 @@
return -1;
}
if (pid == 0) {
+ sigemptyset(&alarm);
+ sigaddset(&alarm,SIGALRM);
+ sigprocmask(SIG_UNBLOCK,&alarm, NULL);
execv(prog, args);
if (must_exist || errno != ENOENT)
syslog(LOG_WARNING, "can't execute %s: %m", prog);
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3025379862-11020495>
