Monday, April 2, 2012


Tata Photon Plus – Huawei EC156 Modem in Ubuntu, Fedora



I came across a problem when to connect a Tata photon plus (Huawei EC156) Modem in Ubuntu. You can use the same method in fedora. By default it is not  recognizing in ubuntu. When I plugged in the blue light starts blinking but not taken by the default network manager . On ubuntu forum I found a solution. It works great.
First make sure the following packages are installed in your Ubuntu. In most cases it is default.
* usb-modeswitch-data
* usb-modeswitch
Unplug all other USB devices from the system. Connect the tata photon plus (Huawei EC156) and see whether it is detected automatically in the network manager. In most cases it is not.Open the terminal and just fire an lsusb. You will get a HuaweiEC 156 connected to your usb.
sudo gedit /etc/usb_modeswitch.d/12d1:1505
copy and paste the following code in that.
Code:
DefaultVendor= 0x12d1
DefaultProduct=0x1505 

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Save and close the gedit. Then type
cd /etc/usb_modeswitch.d
sudo usb_modeswitch -I -W -c 12d1:1505
You will get the output as
Reading config file: 12d1:1505USB description data (for identification)
————————-
Manufacturer: HUA?WEI TECHNOLOGIES
Product: HUAWEI Mobile
Serial No.: ???????????????????
————————-
Now your Modem detected by the system. Type in the terminal
nm-connection-editor
Create a new mobile broadband connection . Select Tata Photon Plus.
Connection NO : #777
Username : internet
password: internet
Create connection and save.
Select the connection from Network Manager dropdown.
It will be connected automatically.
In My case the range of the device is not showing. Except that everything working perfect
STEPS
Script to run the modeswitch command in boot
steps
1.Open the gedit
2.Type the two commands which you want to run in two separate lines.
3.save the file with the extension .sh on the disk where ever you want and make this file as executable in the properties
4.Then right click on the desktop
5 Create launcher
6.Set type as Run in terminal
7.Give your desired name
8.Give the path of file with the extension .sh in the command box
9.Hit ok
Open the launcher…..
enter the password if required
You can change your icon in the properties of the new launcher file
Connect your device when ever required and click the new icon on the desktop
Hit the password…..
enjoy…

Related Keys:


No comments:

Post a Comment