Matthew Seaman wrote:

> Hmmm... what does:
> 
>     ifconfig lo0
> 
> return? You should actually see two IPv6 addresses configured, like so:
> 
>     happy-idiot-talk:~:% ifconfig lo0
>     lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>             inet6 ::1 prefixlen 128 
>             inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
>             inet 127.0.0.1 netmask 0xff000000 
> 
> Also your original test was connecting to a SMTP server on the
> loopback.  What does:
> 
>     sockstat | grep :25
> 
> return?  Seeing ::1:25 in the output would be good.  However, it is
> entirely possible that your MTA isn't binding to IPv6 addresses.
> 
> If you're trying to make lpd(8) work, you should be looking for stuff
> listening on port 515.
> 
>       Cheers,
> 
>       Matthew

OK, the ifconfig lo0 looks like this:

~ $ ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000

The sockstat | grep :25

~ $ sockstat | grep :25

root     master     681   11 tcp4   *:25                  *:*
root     ntpd       519   6  udp6   fe80:1::250:baff:fe43:3a7f:123*:*

And finally: sockstat | grep :515

~ $ sockstat | grep :515

daemon   lpd        915   6  tcp4   *:515                 *:*

Finally, this is a quick list of what happens when I issue 'lpr'
commands. You will notice that there is a slight difference in the error
message displayed, but the result is the same. I can, however, print a
test page using apsfilter. I am at my wits end to figure out what is
happening. If I had any hair left, I would be pulling it out by now.

~ $ lpc status all
 Printer           Printing Spooling Jobs  Server Subserver Redirect Status/(Deb
ug)
[EMAIL PROTECTED]          enabled  enabled    0    none    none
~ $
~ $ lpr -Pscorpio /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom.net /etc/printcap
lpr: Connection refused
~ $
~ $ lpr  /etc/printcap
lpr: Error - scheduler not responding!

-- 
Gerard Seibert
[EMAIL PROTECTED]

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to