Friday, April 4, 2014

Terminal based drop box installation Procedure

How to install dropbox from terminal in Ubuntu 12/13/14

Dropbox is a cloud which became a handy-tool, especially for researches, to store online their research work. 
The demand was further enriched with the closure of ubuntuOne, which used to be favorite online cloud storage.

Here follows the procedure for the installation of dropbox:

Step 1: For 32 bit machines:

 cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -


For 64 bit machines:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

Step 2: Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
~/.dropbox-dist/dropboxd
 
 
NOte: This procedure was tested on Ubuntu 12.04,Also, this procedure will work on any another Linux.
 

shortcut virus remover for USB (pen) drives

Problem:SHORTCUT VIRUS
If you are facing the problem of all (or partially) files in your portable USB drive becoming shortcuts, then here is a one step solution for any TechLAYMANs.
Note: Don't click the shortcut file directly, before this solution.

solution 1:traditional solution
Step 1: Download this portable shortcut virus remover file.
             This is java file. So, it works on all operating systems
Step 2: Place this downloaded file in the effected USB drive.
Step 3: click on it to run, and then give Enter.



solution 2: Terminal based solution

Step1: press windows key+R, enter cmd, then enter. Then, Command prompt will open.
Step2: Initially find the effected removable drive alphabet (E or F or G,...).
            Then type E: (for Removable drive E),then give enter.....Now, you will go to that drive.
Step 3: type attrib -r -s -h *.* /s /d, followed by enter.
Step 4:  Then type del *.lnk
     
        Now the pen(usb) drive is ready to use.

WOW! the simplest process completely recovers your missing data. Have fun!!!


For any further doubts, mail me.

NS 2 installation in ubuntu 12 or 13 or !4

NS 2 install procedure in ubuntu 12 or 13   each step by step copy and past at terminal  follwing..


1  sudo apt-get update

2  sudo apt-get install build-essential autoconf automake libxmu-dev

3 tar zxvf ns-allinone-2.35.tar.gz    (This is to extract the tar.gz file into a folder)

4 sudo apt-get install gedit 

 5 cd ns-allinone-2.35
                   go to cd /home/ns-allinone-2.35/ns-2.35/linkstate/ls.h
                   then, open ls.h file
edit file go to line 137 relpce this below
""
void eraseAll() { this-> erase(baseMap::begin(), baseMap::en
"" 

6 ./install    
    
7 gedit .bashrc

add path 

export PATH=$PATH:/home/username/ns-allinone-2.35/bin:/home/username/ns-allinone-2.35/tcl8.5.10/unix:/home/username/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=/home/username/ns-allinone-2.35/otcl-

8 source .bashrc

9 ns 
get % it is installed

Note: when add path replace your pc username instead of username

Saturday, March 15, 2014

How to recover deleted data?

Unfortunately, we may delete some of the useful files from our system. In those cases, there is a possibility to retrieve back the lost data. Even in some cases, we may format our hard disk or the USB drive. In all these cases, we can retrieve back the lost files.

1. Recuva -------It is a free software under GPL license.
                          http://www.piriform.com/recuva

2. File Scavenger-------it is offered in two ways: evaluation version and payed version.
                                    But, the evaluation version is more than sufficient. Here, we can get the
                                    opportunity to preview the files being recovered.
                  http://download.cnet.com/File-Scavenger-Data-Recovery-Utility/3000-2094_4-10028488.html

These two are more than sufficient ....

The more timely you use, the more the deleted files that can be extracted with good quality.

All the best! go and Try!!!

Thursday, February 20, 2014

All Secret (USSD) Codes for Samsung Mobile Phones

* Software version: *#9999#
* IMEI number: *#06#
* Serial number: *#0001#
* Battery status- Memory capacity : *#9998*246#
* Debug screen: *#9998*324# – *#8999*324#
* LCD kontrast: *#9998*523#
* Vibration test: *#9998*842# – *#8999*842#
* Alarm beeper – Ringtone test : *#9998*289# – *#8999*289#
* Smiley: *#9125#
* Software version: *#0837#
* Display contrast: *#0523# – *#8999*523#
* Battery info: *#0228# or *#8999*228#
* Display storage capacity: *#8999*636#
* Display SIM card information: *#8999*778#
* Show date and alarm clock: *#8999*782#
* The display during warning: *#8999*786#
* Samsung hardware version: *#8999*837#
* Show network information: *#8999*638#
* Display received channel number and received intensity: *#8999*9266#
* *#1111# S/W Version
* *#1234# Firmware Version
* *#2222# H/W Version
* *#8999*8376263# All Versions Together
* *#8999*8378# Test Menu
* *#4777*8665# GPSR Tool
* *#8999*523# LCD Brightness
* *#8999*377# Error LOG Menu
* *#8999*327# EEP Menu
* *#8999*667# Debug Mode
* *#92782# PhoneModel (Wap)
* #*5737425# JAVA Mode
* *#2255# Call List
* *#232337# Bluetooth MAC Adress
* *#5282837# Java Version
* Type in *#0000# on a Samsung A300 to reset the language
* Master reset(unlock) #*7337# (for the new samsungs E700 x600 but not E710)
* Samsung E700 type *#2255# to show secret call log (not tested)
* Samsung A300, A800 phone unlock enter this *2767*637#
* Samsung V200, S100, S300 phone unlock : *2767*782257378#
* #*4773# Incremental Redundancy
* #*7785# Reset wakeup & RTK timer cariables/variables
* #*7200# Tone Generator Mute
* #*3888# BLUETOOTH Test mode
* #*7828# Task screen
* #*#8377466# S/W Version & H/W Version
* #*2562# Restarts Phone
* #*2565# No Blocking? General Defense.
* #*3353# General Defense, Code Erased.
* #*3837# Phone Hangs on White screen.
* #*3849# Restarts Phone
* #*7337# Restarts Phone (Resets Wap Settings)
* #*2886# AutoAnswer ON/OFF
* #*7288# GPRS Detached/Attached
* #*7287# GPRS Attached
* #*7666# White Screen
* #*7693# Sleep Deactivate/Activate
* #*2286# Databattery
* #*2527# GPRS switching set to (Class 4, 8, 9, 10)
* #*2679# Copycat feature Activa/Deactivate
* #*3940# External looptest 9600 bps
* #*4263# Handsfree mode Activate/Deactivate
* #*2558# Time ON
* #*3941# External looptest 115200 bps
* #*5176# L1 Sleep
* #*7462# SIM Phase
* #*7983# Voltage/Freq
* #*7986# Voltage
* #*8466# Old Time
* #*2255# Call Failed
* #*5376# DELETE ALL SMS!!!!
* #*6837# Official Software Version: (0003000016000702)
* #*2337# Permanent Registration Beep
* #*2474# Charging Duration
* #*2834# Audio Path (Handsfree)
* #*3270# DCS Support Activate/Deactivate
* #*3282# Data Activate/Deactivate
* #*3476# EGSM Activate/Deactivate
* #*3676# FORMAT FLASH VOLUME!!!
* #*4760# GSM Activate/Deactivate
* #*4864# White Screen
* #*7326# Accessory
* #*7683# Sleep variable
* #*3797# Blinks 3D030300 in RED
* #*7372# Resetting the time to DPB variables
* #*3273# EGPRS multislot (Class 4, 8, 9, 10)
* #*7722# RLC bitmap compression Activate/Deactivate
* #*2351# Blinks 1347E201 in RED
* #*2775# Switch to 2 inner speaker
* #*7878# FirstStartup (0=NO, 1=YES)
* #*3838# Blinks 3D030300 in RED
* #*2077# GPRS Switch
* #*2027# GPRS Switch
* #*0227# GPRS Switch
* #*0277# GPRS Switch
* #*22671# AMR REC START
* #*22672# Stop AMR REC (File name: /a/multimedia/sounds/voice list/ENGMODE.amr)
* #*22673# Pause REC
* #*22674# Resume REC
* #*22675# AMR Playback
* #*22676# AMR Stop Play
* #*22677# Pause Play
* #*22678# Resume Play
* #*77261# PCM Rec Req
* #*77262# Stop PCM Rec
* #*77263# PCM Playback
* #*77264# PCM Stop Play
* #*22679# AMR Get Time
* *#8999*364# Watchdog ON/OFF
* *#8999*427# WATCHDOG signal route setup
* *2767*3855# = Full Reset (Caution every stored data will be deleted.)
* *2767*2878# = Custom Reset
* *2767*927# = Wap Reset
* *2767*226372# = Camera Reset (deletes photos)
* *2767*688# Reset Mobile TV
* #7263867# = RAM Dump (On or Off)
* *2767*49927# = Germany WAP Settings
* *2767*44927# = UK WAP Settings
* *2767*31927# = Netherlands WAP Settings
* *2767*420927# = Czech WAP Settings
* *2767*43927# = Austria WAP Settings
* *2767*39927# = Italy WAP Settings
* *2767*33927# = France WAP Settings
* *2767*351927# = Portugal WAP Settings
* *2767*34927# = Spain WAP Settings
* *2767*46927# = Sweden WAP Settings
* *2767*380927# = Ukraine WAP Settings
* *2767*7927# = Russia WAP Settings
* *2767*30927# = GREECE WAP Settings
* *2767*73738927# = WAP Settings Reset
* *2767*49667# = Germany MMS Settings
* *2767*44667# = UK MMS Settings
* *2767*31667# = Netherlands MMS Settings
* *2767*420667# = Czech MMS Settings
* *2767*43667# = Austria MMS Settings
* *2767*39667# = Italy MMS Settings
* *2767*33667# = France MMS Settings
* *2767*351667# = Portugal MMS Settings
* *2767*34667# = Spain MMS Settings
* *2767*46667# = Sweden MMS Settings
* *2767*380667# = Ukraine MMS Settings
* *2767*7667#. = Russia MMS Settings
* *2767*30667# = GREECE MMS Settings
* *#7465625# = Check the phone lock status
* *7465625*638*Code# = Enables Network lock
* #7465625*638*Code# = Disables Network lock
* *7465625*782*Code# = Enables Subset lock
* #7465625*782*Code# = Disables Subset lock
* *7465625*77*Code# = Enables SP lock
* #7465625*77*Code# = Disables SP lock
* *7465625*27*Code# = Enables CP lock
* #7465625*27*Code# = Disables CP lock
* *7465625*746*Code# = Enables SIM lock
* #7465625*746*Code# = Disables SIM lock
* *7465625*228# = Activa lock ON
* #7465625*228# = Activa lock OFF
* *7465625*28638# = Auto Network lock ON
* #7465625*28638# = Auto Network lock OFF
* *7465625*28782# = Auto subset lock ON
* #7465625*28782# = Auto subset lock OFF
* *7465625*2877# = Auto SP lock ON
* #7465625*2877# = Auto SP lock OFF
* *7465625*2827# = Auto CP lock ON
* #7465625*2827# = Auto CP lock OFF
* *7465625*28746# = Auto SIM lock ON
* #7465625*28746# = Auto SIM lock OFF

Saturday, February 15, 2014

Secret (ussd) Codes For Android Mobile Phones


1. Complete Information About your Phone

*#*#4636#*#*
This code can be used to get some interesting information about your phone and battery. 

Usage statistics

2. Factory data reset
*#*#7780#*#*
This code can be used for a factory data reset. It'll remove following things:
Google account settings stored in your phone
System and application data and settings
Downloaded applications
It'll NOT remove:
Current system software and bundled application
SD card files e.g. photos, music files, etc.
Note: Once you give this code, you get a prompt screen asking you to click on "Reset phone" button. So you get a chance to cancel your operation.

3. Format Android Phone

*2767*3855#
Think before you give this code. This code is used for factory format. It'll remove all files and settings including the internal memory storage. It'll also reinstall the phone firmware.
Note: Once you give this code, there is no way to cancel the operation unless you remove the battery from the phone. So think twice before giving this code.

4. Phone Camera Update

*#*#34971539#*#*
This code is used to get information about phone camera. It shows following 4 menus:
Update camera firmware in image (Don't try this option)
Update camera firmware in SD card
Get camera firmware version
Get firmware update count
WARNING: Never use the first option otherwise your phone camera will stop working and you'll need to take your phone to service center to reinstall camera firmware.

5. End Call/Power

*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, AirPlane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.

6. File Copy for Creating Backup

*#*#273283*255*663282*#*#*

This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.

7. Service Mode

*#*#197328640#*#*
This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.

8. WLAN, GPS and Bluetooth Test Codes:

*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use "Menu" button to start various tests)

*#*#232338#*#* - Shows WiFi MAC address

*#*#1472365#*#* - GPS test

*#*#1575#*#* - Another GPS test

*#*#232331#*#* - Bluetooth test

*#*#232337#*# - Shows Bluetooth device address

9. Codes to get Firmware version information:

*#*#4986*2650468#*#* - PDA, Phone, H/W, RFCallDate

*#*#1234#*#* - PDA and Phone

*#*#1111#*#* - FTA SW Version

*#*#2222#*#* - FTA HW Version

*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number

10. Codes to launch various Factory Tests:

*#*#0283#*#* - Packet Loopback

*#*#0*#*#* - LCD test

*#*#0673#*#* OR *#*#0289#*#* - Melody test

*#*#0842#*#* - Device test (Vibration test and BackLight test)

*#*#2663#*#* - Touch screen version

*#*#2664#*#* - Touch screen test

*#*#0588#*#* - Proximity sensor test

*#*#3264#*#* - RAM version

11. Application related codes:

*#*#8255#*#*   Google Talk information 
*#07#          Maximum SAR
*#06#          IMEI Number of the phone


Thursday, February 6, 2014

Wine Installation procedure in ubuntu 12.04 &13.04, Mint 16


How to install Wine in Ubuntu or Mint Linux?

Q:Why Wine?
A:If you want do run windows platform-based applications (i.e., with extension .exe), then we should install WINE in linux.
A: If the apps which are available over windows platform, are the only requirements making you to compromise with windows, then WINE is the solution. It is a free software under GNU License.

Here is the shortcut for the installation of latest stable version of WINE i.e., WINE 1.6

Step 1: Open the terminal, and type the following commands
Step 2: sudo apt-get update
Step 3: sudo add-apt-repository ppa:ubuntu-wine/ppa
Step 4: sudo apt-get update
Step 5: sudo apt-get install wine16


Note: Please restart the system for effective installation.