Show on-screen ``phase'' logging and try to negotiate

nameserver IPs by default at install time.
Approved by: jkh
This commit is contained in:
Brian Somers 1998-07-12 17:11:53 +00:00
parent 722a066c80
commit 7e22ee1f07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37603
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
* $Id: network.c,v 1.29 1997/02/22 14:12:12 peter Exp $
* $Id: network.c,v 1.30 1998/03/09 08:57:22 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -248,6 +248,8 @@ startPPP(Device *devp)
fprintf(fp, " set device %s\n", devp->devname);
fprintf(fp, " set ifaddr %s %s\n", myaddr, provider);
fprintf(fp, " set timeout 0\n");
fprintf(fp, " enable dns\n");
fprintf(fp, " set log local phase\n");
fclose(fp);
if (!Fake && !file_readable("/dev/tun0") && mknod("/dev/tun0", 0600 | S_IFCHR, makedev(52, 0))) {

View File

@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
* $Id: network.c,v 1.29 1997/02/22 14:12:12 peter Exp $
* $Id: network.c,v 1.30 1998/03/09 08:57:22 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -248,6 +248,8 @@ startPPP(Device *devp)
fprintf(fp, " set device %s\n", devp->devname);
fprintf(fp, " set ifaddr %s %s\n", myaddr, provider);
fprintf(fp, " set timeout 0\n");
fprintf(fp, " enable dns\n");
fprintf(fp, " set log local phase\n");
fclose(fp);
if (!Fake && !file_readable("/dev/tun0") && mknod("/dev/tun0", 0600 | S_IFCHR, makedev(52, 0))) {