Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
- Hw emerge nfs - ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Branta
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2004
Posts: 75

PostPosted: Fri Feb 27, 2004 6:23 pm    Post subject: - Hw emerge nfs - ? Reply with quote

How do I network my wife's computer to mine so she can print etc?

Both computers ping each other. cups & foomatic are merged of course.

I tried emerge nfs with no joy.


---
Bob--
_________________
Bob
Back to top
View user's profile Send private message
maloo38
n00b
n00b


Joined: 13 Feb 2004
Posts: 32
Location: Australia

PostPosted: Sat Feb 28, 2004 3:34 am    Post subject: Reply with quote

Branta,

To share your printer you don't need nfs just cups.

This is what I did,

1. install cups on both machines
2. Run the command on both machines
# rc-update add cupsd default
3. On the machine which has the printer attached. I did
A. Run the command
# /etc/init.d/cupsd start
B. Add a printer to cups then
Create a class for the printer being shared via webbrowser
with the url:
http://localhost:631
(KDE seems to only be able to access remote classes).
C. Edit /etc/cups/cupsd.conf Changing

#</Location>

<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>

TO

#</Location>

<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.200.*
</Location>

and you would replace 192.168.200.* with your network

D. Run the command
# /etc/init.d/cupsd restart


4. On the remote machine add a printer to cups by
A. Run the command
# /etc/init.d/cupsd start
B. Add the printer using webbrowser with following url
http://localhost:631
A. Select Manage Printers
B. Select Add printer
C. Enter a name
D. For Device select
Internet Printing Method (http)
E. For Device URI enter
http://192.168.200.2:631/classes/XXXX
Changing 192.168.200.2 to the ip address of the machine the
printer is attached to and XXXX is the class you had created

Hope this helps
_________________
Cheers

maloo38

Two pints of lager and a packet of crisps please
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Sat Feb 28, 2004 11:35 am    Post subject: Reply with quote

You don't really need the cups daemon to be running on the client machine. Just edit /etc/cups/client.conf and add the server name to it and you'll be able to see everything that's on the server. I think that's better since you're not really managing any printers locally, only fwding requests to the cups server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum