[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: newbie plip question



Hello Russell,

You wrote:

> I have been given a 2 cd copy of slink, that I am going to put on my
> main box.  Is there anything special that I should install/be aware of
> in order to run a plip?

plip setup on slink (with kernel 2.0.x) step by step:
I suppose you have the plip module compiled.
1.) you can use modconf to configure and to load it. If you have 2
parallel ports and want to use one for the printer and the other for plip,
you have to assign the irq and io parameters of one physical port to the
lp-module and the parameters of the other port to the plip module.
Syntax (example, change parameters if needed): io=0x278, irq=7
Otherwise the module, which is loaded first will grab all parallel ports,
and you can't load the other one anymore.    
2.) configure the interface:
issue as root (on both machines): 
ifconfig plip0 ip.number.of.localhost pointopoint ip.number.of.remotehost
and
route add ip.number.of.remotehost plip0
now you should be able to ping from one machine to another. If /etc/hosts
is setup correctly, you should be able to use the names of the machines to
ping. If it works, you can put these two commands at the end of your
/etc/init.d/network files, so that it gets executed on startup.
That's it. (should work from Linux to Linux, I have no experience in
setting up plip from Linux to Windoze, don't know if it even works) 
Note that the number of your plip-device can differ from the one given
above. With kernel 2.0.x it depends on the hardware address. With kernel
2.2.x it's somewhat different concerning the configuration of the modules
(because of the new managment of the Parallel ports with the parport
device). If you plan to use this kernel, read the Documentation in the
kernel-source tree in parport.txt. There all the issues are described in
detail.

Regards,
Daniel





Reply to: