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

Re: sharing printer and internet connection between two Debian Sarge computers



On Sun, May 08, 2005 at 07:42:11AM +0000, Tony Ma wrote:
> I have two desktop computers and both are installed with Debian sarge.  The 
> new computer has two ethernet ports, one of the ethernet port is connected 
> to the ADSL modem and this new computer is also connected to the USB 
> printer.
> 
> The second ethernet port of the new computer is connected to the ethernet 
> port of the old computer.  How can I set both computer up so that the old 
> computer can also have access to the internet, printer and files on the new 
> computer (when the new computer is also turned on)?
> 
> Thanks!
Hi Tony,
if you install ipmasq on the internet connected computer and setup the
ethernet on the other to use dhcp to get a connection to the first, that
should be it. and cups for the printing. set it up to allow remote
printing.

internet===|computer(ipmasq/cups)===computer(dhcp)
printer====/

=kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
      `$'         $'         
       $          $                      _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$$$$$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$     $ $$ggggg$ $     $ $ ,$P""  $ $    $
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $    $
 `Y$$P'$. `Y$$$$P $$$P"' ,$. `Y$$P'$ $.  ,$.

Attachment: signature.asc
Description: Digital signature


Reply to: