Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PLIP under Linux Alpha
@ 1998-04-29 10:10 Markus Dickebohm
  1998-04-29 20:53 ` Henryk Paluch
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Dickebohm @ 1998-04-29 10:10 UTC (permalink / raw)
  To: axp-list

Has anybody gotten "PLIP" to run under Linux Alpha?

I compiled the support (2.0.33) as module (since I need the parallel
port for printing purposes from time to time), and I can insmod it
(although I don't know what the first message means):

Apr 29 08:52:48 franck kernel: <sc 241(5,11fffa418,2000)><sc
     241(3,11fffa418,2000)><sc 241(7,11fffa418,2000)><sc
     241(5,11fffa418,2000)><sc 241(3,11fffa418,2000)><sc
     241(7,11fffa418,2000)>
     NET3 PLIP version 2.2 gniibe@mri.co.jp Apr 29
08:52:48 franck kernel: plip0: Parallel port at 0x3bc, using assigned
     IRQ 5.

I can ifconfig the device:

# ifconfig plip0 192.168.0.1 pointopoint 192.168.0.2 netmask 255.255.0.0 up
# ifconfig
...
plip0     Link encap:Ethernet  HWaddr FC:FC:C0:A8:00:01
          inet addr:192.168.0.1  P-t-P:192.168.0.2  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0
          Interrupt:5 Base address:0x3bc                      

But I can't update the routing table:
# /sbin/route add -net 192.168.0.0 device plip0
SIOCADDRT: Network is unreachable                

Any suggestions?
Markus
-- 
Uni Koeln * Physikalische Chemie II * Luxemburger Str. 116 * D-50939 Koeln
Tel: +49(0)221/470-3087  * Fax: -5144  *   mailto:M.Dickebohm@Uni-Koeln.DE


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PLIP under Linux Alpha
  1998-04-29 10:10 PLIP under Linux Alpha Markus Dickebohm
@ 1998-04-29 20:53 ` Henryk Paluch
  1998-05-05 10:59   ` Markus Dickebohm
  0 siblings, 1 reply; 3+ messages in thread
From: Henryk Paluch @ 1998-04-29 20:53 UTC (permalink / raw)
  To: axp-list

Hi folks,
  I had "pliped" Alpha/Linux on AlphaServer 800 for a few month
w/o major problems. There is only problem with timeouts and spare
PLIP lockups - both can be resolved with 'rmmod plip;insmod plip' 
(for example from cron). I'm using following scripts on Linux/Alpha
(Replace Internet address with yours...)

---- PLIP Alpha client side:
---- plipup
#!/bin/sh
# 147.231.75.76 - Alpha Linux
# 147.231.75.56 - PLIP router connected to ethernet - Linux/i386
rmmod lp
insmod plip io=0x3bc irq=7
ifconfig plip0 147.231.75.76 pointopoint \
147.231.75.56 mtu 570 netmask 255.255.255.0 -arp up
/sbin/route add 147.231.75.56 plip0             #NOTE: don't add whole net
/sbin/route add default gw 147.231.75.56 plip0  # it is contained in 
                                                # default target...
---------------------------------------------
--- plipdown ---
#!/bin/sh
ifconfig plip0 down
---------------------------------------------


PLIP server (router to ethernet) scripts:
----- plipup
#!/bin/sh
rmmod lp
RHOST=147.231.75.76
ifconfig plip1  147.231.75.56 pointopoint $RHOST\
    netmask 255.255.255.0 mtu 570 -arp up
route add -host $RHOST  plip1
arp -s $RHOST 00:A0:24:75:97:6E pub
---- plipdown
#!/bin/sh
ifconfig plip1 down
---------------

Good Luck!

             Henryk Paluch, paluch@terezka.ufa.cas.cz




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PLIP under Linux Alpha
  1998-04-29 20:53 ` Henryk Paluch
@ 1998-05-05 10:59   ` Markus Dickebohm
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Dickebohm @ 1998-05-05 10:59 UTC (permalink / raw)
  To: axp-list

Henryk Paluch <paluch@terezka.ufa.cas.cz> writes:

> I had "pliped" Alpha/Linux on AlphaServer 800 for a few month w/o
> major problems.

This is a AlphaStation 200 4/166 and I still can't get it to work. After
searching the "alpha-osf-managers-archive", I found an answer from "Lukas
Rosenthaler <rosenth@foto.chemie.unibas.ch>" (although is is a Digital
Unix, I suppose that it could be the same problem):

   Hello, thanks to all that answered my question about bidirectional
   use of the integral parallel port of a DEC AXP 400 4/233:

   It is not yet possible to use this port as a bidirectional parallel
   port.  It may be in a future release (after Digital Unix 4.0...).

   Special thanks to Dr. Tom Blinn who could give me the definitive
   answer!!

In the meantime I solved the routing problems, but it seems that the
parallel port is not correctly adressed. After unsuccessful "ping'ing"
for half an hour, I still get

# cat /proc/interrupts
 1:   209760   keyboard
 5:        0   plip0                              

Did you use the internal parallel port?

Markus
-- 
Uni Koeln * Physikalische Chemie II * Luxemburger Str. 116 * D-50939 Koeln
Tel: +49(0)221/470-3087  * Fax: -5144  *   mailto:M.Dickebohm@Uni-Koeln.DE


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-05 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-29 10:10 PLIP under Linux Alpha Markus Dickebohm
1998-04-29 20:53 ` Henryk Paluch
1998-05-05 10:59   ` Markus Dickebohm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox