[1183] in linux-net channel archive

home help back first fref pref prev next nref lref last post

How do I set up a PLIP connection?

daemon@ATHENA.MIT.EDU (Martin Kraemer)
Mon Oct 9 19:57:07 1995

To: linux-net@vger.rutgers.edu (Linux Network Channel)
Date: Mon, 9 Oct 1995 15:40:19 +0100 (MET)
From: "Martin Kraemer" <Martin.Kraemer@mch.sni.de>

Hello Netters,

I know this sounds kinda stupid. I've set up SLIP, PPP and ETHER connections
before and had little trouble doing so. The only problem for me was to type
"pointopoint" instead of "pointtopoint".

Now for the first time I tried to set up a PLIP connection.
ifconfig isn't very clear about which parameters have to be given with which
type of net device. I therefore tried something like

    % ifconfig plip0
    plip0: unknown interface.

    % ifconfig plip0 -?
    -?: Unknown server error
    Usage: ifconfig [-a] [-i] [-v] interface
		    [inet address]
		    [ax25] [hw] address]
		    [metric NN] [mtu NN]
		    [trailers] [-trailers]
		    [arp] [-arp]
		    [netmask aa.bb.cc.dd]
		    [dstaddr aa.bb.cc.dd]
		    [mem_start NN] [io_addr NN] [irq NN]
		    [[-] broadcast [aa.bb.cc.dd]]
		    [[-]pointopoint [aa.bb.cc.dd]]
		    [up] [down] ...

    % ifconfig plip0 139.25.112.232 netmask 255.255.248.0 \
	       broadcast 139.25.112.0 up
    SIOCSIFADDR: No such device
    SIOCSIFNETMASK: No such device
    SIOCSIFBRDADDR: No such device

    % ifconfig plip0 139.25.112.232 pointopoint 192.168.123.2 up
    SIOCSIFADDR: No such device
    SIOCSIFDSTADDR: No such device

I just re-checked and yes, the PLIP option _is_ set in the kernel's
configuration.

Or does PLIP just not install at boot because a parallel printer is
configured (CONFIG_PRINTER=y)? If this is indeed the case, then *PLEASE*
could someone (who's responsible for plip?) add a note to either the
README{1,2}.PLIP or to the config.in? Or add a printk() to the PLIP probing
code that is executed at boot time?

It sounds sensible, though: if the device `belongs to' the printer driver,
then neither the I/O port not the interrupt are available for PLIP any
longer. Nevertheless: I guess more people than just me would have a hard
time figuring out this device conflict all on their own.

yours,

    Martin
-- 
| S I E M E N S |   Martin.Kraemer@mch.sni.de   |       Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |   Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |    81730 Munich, Germany
~~~~~~~~~~~~~~~~  (My opinions only, of course; pgp key available on request)

home help back first fref pref prev next nref lref last post