Archive by Author

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 192.168.1.1 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 192.168.1.1 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.

TP-LINK TD W8151N Firmware upgrade – From Telkom Firmware (@wifi.id) to Official TP-LINK Firmware – bypass UPDATE DUE TO… The uploaded file was not accepted by the router

21 Jun

About 3 years ago i got this kind of Router Modem (TP-LINK TD W8151N) from Telkom. The router has a WIFI ID logo. After take a look at a lot of blogspot , i found this blogspot, http://josh.rootbrain.com/blog/2013/01/16/modem-adsl-wireless-bisa-menjadi-ancaman-keamanan-internetintranet/ , by Mr. Josua M Sinambela (Computer Network & Infosec Consultant, Computer & Digital Forensic Investigator, Professional IT Trainer, System & Network Security and Cybersecurity Lecturer), then i just know(in 2015) that this modem is sharing Wifi SSID that i’m not intent to share, it is the @wifi.id SSID. I find a method to disable this SSID, it is by using the telnet. But when you reset the modem, the settings that was set by telkom will be get back. And the SSID will be reappear again. And you need to re-disable the CWMP to disable the access from Telkom to change your modem settings. Then i try to upgrade the firmware to official TP-Link Firmware. But when i do it from GUI, it said that “UPDATE DUE TO… The uploaded file was not accepted by the router”.

Now, i discover how to update the firmware. But before you doing this, you need to read this:

WARNING!!!

1. Do it on your own risk. I’m not responsible of the damage to the modem.

2. Never cut off the power when you’re upgrading, so it is recommended that you use UPS(Uninterruptable Power Supply). It will brick the modem if it got power loss when upgrading.

3. You are recommended to use Lan cable rather than using wifi connection on this method.

4. Your warranty might void if you do this.

5. After you upgrade the firmware. You might loss the settings of the modem, so you might need to write down the interface menu settings.

Changes:

1. No more Telkom icon.

2. CWMP menu appear.

3. Other SSID can be edited via GUI.

4. No more Telkom settings.

5. You cannot update firmware using wifi connection.

Now, here is a method to upgrade the firmware:

1. First of all you need to do is to download the correct firmware from TP-LINK website. Mine is v3. Make sure you already unzip the file (the firmware name should be ras).

2. Backup or write down your pppoe username and password. RESET the modem by sticking the reset button for about 10 seconds and release it. Wait until it is restarting. (This is to make sure that your modem is using the 192.168.1.1 ip address. You might skip it if you know what you’re doing. I mean the ip address)

3. Connect to the modem using telnet via LAN (you might need to set the ip of your computer LAN to 192.168.1.2, subnet mask: 255.255.255.0 and gateway: 192.168.1.1). In telnet , set the ip to 192.168.1.1(if you already reset the modem).and use admin when you asked about the password.

3. Use this command in telnet to bypass the telkom protected firmware: “sys modelcheck off”, without quotes. Then press enter.

4. Now we will use the GUI to upgrade. Open browser and type 192.168.1.1. Login (default username: admin password: admin) then go to the Management menu then choose Firmware. Click on choose rom file. Select the ras file that we already extract in step 1. Then click update. Wait the process and wait until the modem reboot. Don’t press anything or unplug the power until the reboot done.

5. After reboot done. Try to open 192.168.1.1 with browser again. If it is successfull. It will show the login page. Default username: admin, password: admin (make sure all in lower case).

6. Now you go to Maintenance menu again then firmware then choose reset. Or use telnet then type “sys default” then press enter. This method is to clear the telkom settings.

Thanks for reading my article. Feel free to share it. But if you want to copy the article. Dont forget to link this article url.

Adding google Playstore to Oppo R5

5 Jun

When your Oppo R5 doesn’t has Google playstore, then you might try this steps.

First of all, you need to download this two apk files to your Oppo R5.

http://www.4shared.com/mobile/maHgfzg9ce/PrebuiltGmsCore.html

http://www.4shared.com/mobile/KgNPxkVrba/Google20installerE8B0B7E6AD8CE.html

Then you need to install both of them.

After you install the apk’s, now you run the Google installer and install the Play store. It will say that you need to install the google framework. Then just install all the framework that it needs.

Your Playstore will appear now.

Now try to open the playstore and login.

if it appear no connection. Now try to go to accounts and remove the google accounts that you have, then go to application manager and find the playstore then open it. Clear the data and cache. Now. Reopen the playstore. Login your account and check it out…

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 192.168.1.1 you can try 192.168.0.1 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:

https://downloads.openwrt.org/barrier_breaker/14.07/brcm63xx/generic/openwrt-HW553-squashfs-cfe.bin

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

Continue reading

Sony Xperia C3 – Solution: the software update failed, make sure the phone is connected to the computer and try again

3 Jun

Your Sony Xperia C3 only display “the software update failed, make sure the phone is connected to the computer and try again ” when you turn it on?

Cause:

-Failed Update because the phone out of Battery when updating.

Solution:

1. Go to Sony Service Center.

2. Try My Step.

Which one you will choose. Solution No 1? Are you sure? Do you have a lot of time to wait the queue? Well, if so, than you just do it.

But now i just want to tell you the Solution No 2. Lets start it.

Continue reading

Network Notifier – Android Application

3 Jun

A simple android application that show you Wifi SSID or APN’s mobile network  that you are currently using in your Android device.

There is 3 kind of notification available to set.

1. A Toast message, that will appear in the center bottom of your screen for a couple seconds when the network change. So you will know immediately.

2. An On Screen Display(OSD), that will appear always on top of other display. So you will be quickly know what Network of Internet provider that your using.

3. A Notification panel info, you will see a message on the top of you screen whenever the network change, and you can always look at the network ID whenever you open your notification panel. And you can launch the application settings, when you click the Network Notifier notification. You may set the notification to Vibrate or make a sound when it shows.

Change Log:

1.0:

-OSD added.

-Notification panel (with Sound and Vibrate option) added.

-Toast Message added.

-Font Size customable.

-Position Customable.

Download:

Network Notifier 1.0.apk