Does HP DeskJet 1112 work with lpd on FreeBSD 10.2 amd64 ?

Manish Jain bourne.identity at hotmail.com
Sun Apr 24 19:57:29 UTC 2016


On 04/24/16 23:20, Polytropon wrote:
> On Sun, 24 Apr 2016 11:02:38 +0530, Manish Jain wrote:
>> On Sat, 23 Apr 2016 19:40:28 +0530, Manish Jain wrote:
>>>> My /etc/rc.conf does have :
>>>>
>>>> cupsd_enable="YES"
>>>>
>>>> So I presume cupsd is getting started at boot time.
>>> Don't presume. Verify. :-)
>>>
>>>
>>>
>>>> This is what I have in /usr/local/etc/cups/cupsd.conf :
>>>>
>>>> LogLevel info
>>>>
>>>> # Administrator user group...
>>>> SystemGroup wheel
>>>>
>>>> # Listen for connections on Port 631.
>>>> Port 631
>>>> #Listen localhost:631
>>>> Listen /var/run/cups.sock
>>> Those lines should probably be the following:
>>>
>>> 	Listen localhost:631
>>> 	Listen /var/run/cups.sock
>>>
>>> That's probably the reason why you cannot access the CUPS web interface.
>>> Keep in mind there are also CLI tools: lpadmin, cupsenable, cupsaccept
>>> and so on.
>>>
>>> I got a HP Deskjet F380 all-in-one working with CUPS few years ago, and
>>> all components (even the scanner) work. Make sure CUPS is actually really
>>> running. There's also a /var/log/cups directory with log files where you
>>> can check the events.
>>>
>>>
>>>
>> Hi Polytropon,
>>
>> Thanks for replying.
>>
>> You are right. cupsd is not starting. At boot time, I get a message like :
>>
>> /etc/rc : Failed to start cupsd
>> Warning : failed to read /usr/local/etc/cups/cupsd.conf
> This is to be expected when the configuration file is damaged.
>
>
>
>> I will try and fix this on my own, but may need some more help from you
>> if my efforts alone are not enough.
> You could start by renaming the damaged file and have CUPS generate
> a new one which you then can start editing, or you could check if
> there's a backup file /usr/local/etc/cups/cupsd.conf.0 which you
> can use instead (or for comparison). There should also be a template
> file /usr/local/etc/cups/cupsd.conf.default which can be used.
>
> This is the first step in getting CUPS running. If you have solved
> that problem, accessing the web GUI should work (localhost:631), and
> you can make any new changes from there.
>
> As you already have cups_enable="YES" in /etc/rc.conf, it's easy to
> check if CUPS is happy:
>
> 	# service cupsd start
>
> And then you'll see the start message. As I mentioned, there are also
> log files in /var/log/cups which are valuable sources for further
> debugging.
>
>

I copied cupsd.conf.sample over cupsd.conf, and cups is now staring 
nicely. Big thanks

Manish Jain


More information about the freebsd-questions mailing list