IETF-Hackathon/mDNSResponder

Unsuccessful install of mDNSResponder

Opened this issue · 0 comments

I'm trying to accomplish something I suspect should be very basic. Currently, printing from a mobile device requires AirDroping, emailing or messaging files to my laptop in order to print them. Given the age of my printer, it doesn't support the protocols required for AirPrint. I am hoping to take my old router and repurpose it as solely an AirPrint impersonator using OpenWrt. So far it has proven to be very difficult.

Here's my network setup:

  • Cable Modem with an IP of 10.0.0.1/24
  • A Linksys E1900 router with 8MB Flash/32MB RAM
  • MacBook Pro with Wireless adapter and USB Ethernet Adapter
  • HP LaserJet 4050N with JetDirect card

I'm near the point of quitting, but I've put way too much time into it without at least giving it one final try. There's a lot of information, but it's terribly confusing with multiple avenues and directions. Originally, I considered following the standard advise of running a CUPS server with Avahi

,
but it seems a bit overkill and heavy, exceeding my router's storage capacity. The HP printer, while 20 years old, supports PostScript and already handles many of the necessary protocols to support AirPrint. It's only missing the ability to broadcast itself. My network topology is simple. The laptop is connected to the E1500 which is connected to the cable modem. The printer is connected to the E1900. So far, I haven't gotten anything working even with the most basic examples.

Previously, I was using the mDNSResponder because it appears to be an official Apple implementation, but I couldn't even get it to publish the SSL. There's hardly any documentation on it. I was hoping to read the source code, but discovered s. I don't quite understand how its related to mDNSResponder, but it appears to be a proxy, which is what I want.

I've managed to install OpenWrt, but encountered a major issue during the package install of DNS-SD on OpenWRT:

root@OpenWrt:~# opkg update
Downloading https://raw.githubusercontent.com/IETF-Hackathon/mDNSResponder/release/OpenWrt/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/dnssd
Downloading https://raw.githubusercontent.com/IETF-Hackathon/mDNSResponder/release/OpenWrt/packages/mips_24kc/base/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/19.07.4/targets/brcm47xx/mips74k/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.4/targets/brcm47xx/mips74k/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/targets/brcm47xx/mips74k/kmods/4.14.195-1-e3e22a8b624e1f4eb442e41374fa72f4/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/19.07.4/targets/brcm47xx/mips74k/kmods/4.14.195-1-e3e22a8b624e1f4eb442e41374fa72f4/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.4/packages/mipsel_74kc/telephony/Packages.sig
Signature check passed.
Collected errors:
 * opkg_download: Failed to download https://raw.githubusercontent.com/IETF-Hackathon/mDNSResponder/release/OpenWrt/packages/mips_24kc/base/Packages.sig, wget returned 8.

There was also a previous issue regarding SSL, but I solved it by installing another library. The SSL should be installed before trying to update the packages. I'm not sure why the wget http, but the package feed url is https. Is what I am trying to do even possible? It's been a year since this project has been updated, has it been superseded by something else? Any help will be greatly appreciated.