Archive | OpenWRT RSS feed for this section

StarPrint+OpenWRT+Printer Sharing

22 Jun

Before i start the tutorial, i want to say thanks to Hamam Jafar from OpenWrt Indonesia Facebook group, ┬áto point to this great android application called “Star Print”.

Now lets start.

First of all, i want to tell you the device that i use:

1. Samsung galaxy Note II with DN4 v2.1.

2. Vodafone HG553 with OpenWrt Barrier Breaker version 14.07.

3. CANON Pixma MP237.

Here is the steps:

1.┬áConnect to your modem via ssh or putty. Type in “opkg update” to update the list of packages. Then you need to install the usb driver, i’m using this command “opkg install luci-app-p910nd kmod-usb-printer p910nd”.

2. After the installation complete and there is no error, now connect the printer usb port to the router, turn it on. Back to putty, and type “dmesg”, if you find something similar like this:

printer.c: usblp0: USB Bidirectional printer  2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1094
usb.c: USB disconnect on ice 01:02.0-1 address 2
hub.c: new USB ice 01:02.0-1, assigned address 3
printer.c: usblp1: USB Bidirectional printer  3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1094

then your printer already installed.

3. Now we go to luci interface. For me it is in the browser. Then login, choose the Services -> p910nd – Printer Server. Check the enable checklist then in the interface, choose LAN. Port: 9100. Checklist the bidirectional mode. Then press Save & Apply.

4. Now. Go to system -> Startup. Look at p910nd. To make sure the service is started. Press the start button beside the p910nd.

5. Now. To make sure the printer service is really ready. Go to putty again then type “netstat -an”

If you see

Tcp 0 *.*.*.*:9100

Then the service is running.

6. Open your android device. Install Star Print here:

Star print

Then open it. Slide it to Print Preview. On the printer option, click on “[No printer Selected]”. Press the Shared Printer in the middle bottom side. Type the Printer name to anything you like. Click on the IPP in the type options, Change it to “AppSocket(JetDirect)”. Type the Host to and the port to 9100. Type the Shared name (i type mp237). Next click the select driver in the driver Options. Choose the manufacture of the printer. Then choose the type of printer that you got. After that press Ok.

7. Now connect your android device to the router via Wifi. Then open again the Star Print application. Choose the document you want to print. Then press print.

Gain Access to your OpenWRT Router

3 Jun

The first step after we Upgrade our router to OpenWRT, is to gain access to the it.

In this tutorial, i will teach you how to access it using even with ethernet/LAN Cable or Wifi.

Here is the steps:
1. Download Winscp and Putty. Or JuiceSSH for Android OS.
2. Connect the LAN Cable, from the Router to the PC.
3. Open Browser and type you can try if it is failed. Then login.
4. In the upper click Network -> Wifi.
5. In the second row of Wireless Overview, choose enable (this is to activate the Router’s Wifi).
6. Don’t forget to setup the Wifi Password, so that other people cannot access. You can do this by selecting the Security Tab in the below section. If you already set it up, press “Save & Apply”.
Continue reading

Update Vodafone HG553 Router to OpenWRT – Barrier Breaker 14.07

3 Jun

Upgrade your Vodafone HG553 to OpenWRT – Barrier Breaker 14.07:

Why OpenWrt?

I don’t know. Wkwkwk.. Just kidding. We can do a lot of things with OpenWRT,

Share your Hardisk via wifi, torrent downloader, EasyHotSpot Login, etc…

Here is the Step you need to do:

1. Download the Firmware from this link:

2. Do a Clear Update with 30 second Reset procedure, here is the step:

Continue reading