From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 14 21:21:14 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8921F16A4E7 for ; Mon, 14 Aug 2006 21:21:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D45F743D98 for ; Mon, 14 Aug 2006 21:20:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7ELKC7X023595 for ; Mon, 14 Aug 2006 21:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7ELKCsZ023594; Mon, 14 Aug 2006 21:20:12 GMT (envelope-from gnats) Resent-Date: Mon, 14 Aug 2006 21:20:12 GMT Resent-Message-Id: <200608142120.k7ELKCsZ023594@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, George Mitchell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1A2A16A4DF for ; Mon, 14 Aug 2006 21:17:22 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D9D43D45 for ; Mon, 14 Aug 2006 21:17:21 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.13.7/8.13.7) with ESMTP id k7ELHJ37095398 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 14 Aug 2006 14:17:20 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.13.7/8.13.7/Submit) id k7ELHJxd070103; Mon, 14 Aug 2006 14:17:19 -0700 (PDT) Message-Id: <200608142117.k7ELHJxd070103@m5p.com> Date: Mon, 14 Aug 2006 14:17:19 -0700 (PDT) From: George Mitchell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/102035: plip networking disables parallel port printing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George Mitchell List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 21:21:14 -0000 >Number: 102035 >Category: misc >Synopsis: plip networking disables parallel port printing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 14 21:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: George Mitchell >Release: FreeBSD 6.1-RELEASE i386 >Organization: Mitchell Voting Products, Inc. >Environment: System: FreeBSD parkstreet.m5p.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: If a machine has one or more parallel ports, the generic kernel will enable plip networking on them, making it impossible to open the port(s) for printing. >How-To-Repeat: Boot a generic kernel with an unmodified /etc/rc.conf on it on a machine with a parallel port priner on it. It will be impossible to print to the printer because interface plip0 will have grabbed the port. >Fix: This patch disables plip interfaces by default: --- etc/defaults/rc.conf.orig Wed Mar 8 22:52:39 2006 +++ etc/defaults/rc.conf Mon Aug 14 14:11:27 2006 @@ -163,6 +163,11 @@ #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. #ipv4_addrs_fxp0="192.168.0.1/24 192.168.1.1-5/28" # example IPv4 address entry. # +# Bringing plip interfaces up will disable parallel port printing +ifconfig_plip0="down" # most users won't want IP over parallel +ifconfig_plip1="down" +ifconfig_plip2="down" +# # If you have any sppp(4) interfaces above, you might also want to set # the following parameters. Refer to spppcontrol(8) for their meaning. sppp_interfaces="" # List of sppp interfaces. >Release-Note: >Audit-Trail: >Unformatted: