misc/102035: plip networking disables parallel port printing
George Mitchell
george at m5p.com
Mon Aug 14 21:21:14 UTC 2006
>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 at 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:
More information about the freebsd-bugs
mailing list