Dec 24, 2013

1k3m ubuntu


install 1k3 ubuntu 13.10

sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

1. plug in your modem and check it




lsusb 
Bus 002 Device 049: ID 0408:ea26 Quanta Computer, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 023: ID 1a81:1705 Holtek Semiconductor, Inc. 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04f2:b160 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

2. create file :  /etc/usb_modeswitch.d/0408:ea25 the content as below :


DefaultVendor= 0x0408
DefaultProduct= 0xea25
TargetVendor= 0x0408
TargetProduct= 0xea26
MessageContent="5553424312345678000000000000061b004600000000000000000000000000"
CheckSuccess=20

3. add this command to  /lib/udev/rules.d/40-usb_modeswitch.rules

# LTE Modem 1k3m
ATTRS{idVendor}=="0408", ATTRS{idProduct}=="ea25", RUN+="usb_modeswitch '%b/%k'"

4. add this command to   /etc/modprobe.d/mobily-lte.conf 

options usbserial vendor=0x0408 product=0xea26


5. restart the services 

sudo ser­vice udev restart
sudo rmmod option 
sudo rmmod usb_wwan
sudo rmmod usbserial
sudo modprobe usbserial
sudo modprobe usb_wwan
sudo modprobe option 

6. unplug the modem, then plug it again, and check with dmesg, you should see as below :


[59549.312083] usb 2-3: new high-speed USB device number 49 using ehci-pci
[59549.448151] usb 2-3: New USB device found, idVendor=0408, idProduct=ea26
[59549.448159] usb 2-3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[59549.448164] usb 2-3: Product: Qualcomm CDMA Technologies MSM
[59549.448168] usb 2-3: Manufacturer: Qualcomm, Incorporated
[59549.450481] usbserial_generic 2-3:1.0: The "generic" usb-serial driver is only for testing and one-off prototypes.
[59549.450487] usbserial_generic 2-3:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[59549.450491] usbserial_generic 2-3:1.0: generic converter detected
[59549.450593] usb 2-3: generic converter now attached to ttyUSB0
[59549.450987] usbserial_generic 2-3:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
[59549.450992] usbserial_generic 2-3:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[59549.450996] usbserial_generic 2-3:1.1: generic converter detected
[59549.451084] usb 2-3: generic converter now attached to ttyUSB1
[59549.451172] usbserial_generic 2-3:1.2: The "generic" usb-serial driver is only for testing and one-off prototypes.
[59549.451177] usbserial_generic 2-3:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[59549.451181] usbserial_generic 2-3:1.2: generic converter detected
[59549.451269] usb 2-3: generic converter now attached to ttyUSB2
[59549.451417] usbserial_generic 2-3:1.3: The "generic" usb-serial driver is only for testing and one-off prototypes.
[59549.451422] usbserial_generic 2-3:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[59549.451425] usbserial_generic 2-3:1.3: generic converter detected
[59549.452844] usb 2-3: generic converter now attached to ttyUSB3
[59549.452956] usb-storage 2-3:1.4: USB Mass Storage device detected

7. create your dial-up profile on network connection menu, or you can use wvdial


note : 
1. for band selection, you can choose on your profile, you may use LTE only or 3G only, or others as well.

2. light indicator color : 
  • violet : its ready to use, but its not LTE
  • blue : its LTE ready
  • red : your modem in trouble
3. forcing to LTE service with wvdial, according to  http://www.eigenmagic.com/2012/03/14/how-to-get-telstra-4g-mobile-broadband-working-with-linux/
you should use AT+ZSNT=6,0,0 to force on LTE

the speedtest with telkomsel card is :

LTE

Read more ...

Dec 16, 2013

how to hide ip

sometimes, you need to hide your real ip address for some reason. let say :  you want to download some file from korean server, while the server just allow traffic from korean. There are some technique to make it, today we'll learn about how to hide your real ip and location using proxying or serial proxy.

how to hide ip

don't forget that when you enter to specific country, you will identified as their citizen, so if google detect you use unusual traffic (maybe from your cookie, or from your domain) you need to change it first, of clear your cookie first. for more detail you can see on this link(Proxying Cookie) .




here's my suggestion for your safety internet surfing : 
  • 1. use google DNS (well-known dns / public dns)
  • 2. clear you cookie first before re-route your traffic.



Read more ...

Dec 15, 2013

proxy cookie

This is solution for unusual traffic error, before we go through, let we recite this cookie complete chart :

proxy cookie


when you are under proxy, you need to hide some cookie which is not match with yours. especially for your personalization and your cookie tracking. see on this video.


Read more ...

Unusual traffic from your computer network

Proxying your google-search Traffic 

when you tray to re-routing your network over the proxy server, then you use google to search some keywords, google will detect it as un-usual traffic. Google will ask you to enter capcha or you will get
"error page" from google.

Unusual traffic from your computer network
is it real error ?,
Nope, however its just google-ways to ensure that you are not machine, because your routing has been changed.

how google identify that you are not machine 

you can check your on your error web-page, that google send you script below :

On IE :

its use to detect your proxy setting, make sure that your traffic changed because of proxy.

solution Unusual traffic from your computer network

on this page, you can see that, when you click "detect setting", your browser will detect your proxy setting and send it to google.

On Firefox : 
 function doNetDetect() {
  saOC.NETDetectNextNavigate();
  location.reload();

sending automatic queries

Solution

the simplest solution is use other search engine, or always clearing your browser cache and cookie. More advance solution, you can modify your proxy server here. But i suggest to read "how cookie works" first before go there.

Read more ...

how cookie works

cookie mechanism

normally, you surf to internet by sending request to the webserver over internet.
how cookie works
then server will reply your request and sending some data that stored on your browser. it called cookie.

cookie mechanism
sometimes, your browser will send basic information about your localize, language, browser version, location, etc.
cookie tracking

cookie information scope

the most important cookie-value are two, personalization and tracking. But there are some other, such as domain and path, cookie expires and max age, and also browser settings.

Personalization 

its contain user information.
Tracking

your IP will be detected from here, and also referer, where you get this url.

relaying cookie

when you use proxy, your browser informations are not matched with your cookie, so google will detect you as machine. Google will detect from personalization cookie and your tracking cookie. You can make your own script to solve this problem, just like proxy-cookie.
Read more ...