On Sunday 15 June 2008, Mark Knecht wrote: > Mick, > Thanks for the great write up. I really appreciate it.
You're welcome. :-) > On Sun, Jun 15, 2008 at 10:02 AM, Mick <[EMAIL PROTECTED]> wrote: > <SNIP> > > > Check first that you allow connections on port 631 at your dad's firewall > > from your mom's IP/MAC address (nmap or nc your dad's address from your > > mom's machine), e.g.: > > > > $ nc -vv -n -z 10.10.10.4 631 > > (UNKNOWN) [10.10.10.4] 631 (ipp) open > > sent 0, rcvd 0 > > I don't have nc and so far cannot find what package might contain it. > Can you check that for me and I'll emerge but nmap seems to say port > 631 on gandlaf (the server) is open: You want netcat (net-analyzer/netcat), or one of the telnet packages, but nmap does the job. As shown below there's no firewall blocking port 631 on your dad's machine. > DesertFlower ~ # nmap gandalf > > Starting Nmap 4.60 ( http://nmap.org ) at 2008-06-15 11:10 PDT > Interesting ports on Gandalf (192.168.1.2): > Not shown: 1713 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 631/tcp open ipp > MAC Address: 00:26:54:11:0F:BC (3Com) > > Nmap done: 1 IP address (1 host up) scanned in 0.389 seconds > DesertFlower ~ # > > >> > What commands can I run from the command line to see whether a > >> >printer is available? My parents are not terribly computer literate > >> >(who is in their 80's) so I need to ensure this is really working > >> >before I tell them to use it. > > > > $ lpstat -a > > > > will show you any printers that have been configured on your mom's > > machine. > > Unfortunately this is where things die: > > DesertFlower ~ # whoami > root > DesertFlower ~ # lpstat -a > lpstat: Forbidden > DesertFlower ~ # > > so solving this issue will likely start to open other things up. > > I've managed to get CUPS configured on their print server and my mom's > machine such that she can see the printer, but when I try to print a > test page I get a 403 Forbidden page which I'm assuming for now is > CUPS version of the lpstat -a error message. > > Can you tell me whether the lpstat:Forbidden is saying the remote > machine (my mom's) cannot use lpstat at all or does this mean the > print server (my dad's machine) isn't allowing connections? Yes, I would look again at the LAN IP addresse(s) that you have allowed connections from in the cupsd.conf file(s). -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

