OPENWRTIANS, I am trying to make a printer server with this router but getting this error: any help would be appreciated.
BusyBox v1.23.2 (2016-01-02 18:01:44 CET) built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
While the MR3020 is not supported (or even supportable) in current versions, you don't have to go quite that far back. It had support until at 17.01, at least with pre-built images.
The downloads server is redirecting to archive.openwrt.org, "silently" upgrading the connection to https in the process:
* Connected to downloads.openwrt.org (151.101.2.132) port 80
> GET /chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz HTTP/1.1
(...)
< HTTP/1.1 301 Moved Permanently
< Location: https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz
wget in 15.05 does not seem to support https.
I believe you can edit /etc/opkg/distfeeds.conf, replacing downloads.openwrt.org with archive.openwrt.org in the URIs. The archive server itself does not require SSL.
Failing that you can also download the individual packages, transfer them to the router (into /tmp), and install them, one by one. Yes, that's more tedious, but a viable option for an initial test configuration. With 4 MB of flash memory you're probably looking at a custom-built image rather soon anyway.
Dear @takimata. Thank you so much for your response.
the intent of using the older version was, it might be light weight and can be used effectively for this use case.
Do you advise to upgrade it to 17.1 version to make it work seamlessly? if yes how to go about it, I am afraid I am a newbie if you be kind enough to hold my hand?
where can i find a custom image that can do this job?
Use case : Internet >>>Main Router >>> Openwrt router(client Mode)( Printer attached) Print capability over wifi
The version probably doesn't make a huge difference in your case, your device is outdated anyway and relegated to do uncritical (as far as network security is considered) tasks.
That being said, the jump from 15.05 to 17.01 probably doesn't make a huge difference either, neither in performance nor in space availability.
I’ve done exactly this using the same device and 18.06 (along with the image builder and p910nd and Avahi). If you omit LuCI, there is plenty of room (relatively speaking), with LuCI it just barely fits.
I’ll see if I can find my recipe.
Keep in mind that this should only be used on a trusted network, ideally wired and with WiFi disabled, due to the very serious security concerns with such an old/eol version of OpenWrt.
Apparently, I guess wifi is required else the purpose of wireless printing will be defeated. Pls correct me I am wrong anywhere!
Secondly - The recipe that you've shared, do i have to build a new image all over again or removing those packages other than listed in the recipe would do the job?
I guess, although I cannot guarantee, client mode may be okay.
Yes. Removing packages from a standard image actually consumes space because it has to write files to mark packages as deleted (it cannot actually delete packages stored in ROM). Download the image builder for the ar71xx devices and build the image with the recipe provided.
Pls allow me to ask a favor?
since you've used the same recipe with the same device. Would you be kind enough in sharing that bin file with me that would really make my life easy. I can upgrade my router according ly.
Many thanks.
Thank you for the direction!
The printer is detected in shell but for some reason unable to take a printout. am I doing something wrong?
Printer: Canon LBP2900
Steps tried:
1.enabled & Disabled bidirectional
2.Re-installed the printer and client
3. No firewall rule, tried to create as per the guide but was unable to may be fw is not installed.
4. Router - client Mode ( Wireless enabled) Joined to the main router. Ping working, name resolution working.
You will need to manually add the printer to Windows (or other desktop OS) using the IP and port number on the LAN. It should then be detected and Windows will prompt to install a driver. If the printer is new enough the driver may be auto-selected.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
You dont have much choice, worth checking if other postmarket firmware does printing part (revert to OEM, do their initial installation, if OpenWRT is needed revert again to OEM and install again OpenWRT 17) https://dd-wrt.com/support/router-database/?model=MR3020_1.x