I'm running ubuntu 10.04. I have a newly purchased TATA Photon+ Internet connection which supports Windows and Mac. On the Internet I found a article saying that it could be configured on Linux. I followed the steps to install it on Ubuntu from this link. I am still not able to get online, and need some help.
Also, it is very slow, but I was told that I would see speeds up to 3.1MB.
I dont have wvdial installed and cannot install it from apt as I'm not connected to internet
Booting from windows I dowloaded "wvdial" .deb package and tried to install on ubuntu but it's ended with dependency problem. Automatically, don't know how, I got connected to internet only for once. Immediately I installed wvdial package after this I followed the tutorials(I could not browse and upload the files here) . From then it's showing that the device is connected in the network connections but no internet connection. Once I disable the device, it won't show as connected again and I'll have to restart my system. Sometimes the device itself not detected(wondering if there is any command to re-read the all devices).
output of wvdialconf /etc/wvdial.cof:
#wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB2.
Modem configuration written to /etc/wvdial.conf.
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
output of wvdial:
#wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Oct 16 15:30:47 2010
--> Pid of pppd: 5681
--> Using interface ppp0
--> pppd: (u;[08]@s;[08]`{;[08]
--> pppd: (u;[08]@s;[08]`{;[08]
--> pppd: (u;[08]@s;[08]`{;[08]
--> pppd: (u;[08]@s;[08]`{;[08]
--> pppd: (u;[08]@s;[08]`{;[08]
--> pppd: (u;[08]@s;[08]`{;[08]
--> local IP address 14.96.147.104
--> pppd: (u;[08]@s;[08]`{;[08]
--> remote IP address 172.29.161.223
--> pppd: (u;[08]@s;[08]`{;[08]
--> primary DNS address 121.40.152.90
--> pppd: (u;[08]@s;[08]`{;[08]
--> secondary DNS address 121.40.152.100
--> pppd: (u;[08]@s;[08]`{;[08]
Output of log message /var/log/messages:
Oct 16 15:29:44 avyakta-desktop pppd[5119]: secondary DNS address 121.242.190.180
Oct 16 15:29:58 desktop pppd[5119]: Terminating on signal 15
Oct 16 15:29:58 desktop pppd[5119]: Connect time 0.3 minutes.
Oct 16 15:29:58 desktop pppd[5119]: Sent 0 bytes, received 177 bytes.
Oct 16 15:29:58 desktop pppd[5119]: Connection terminated.
Oct 16 15:30:47 desktop pppd[5681]: pppd 2.4.5 started by root, uid 0
Oct 16 15:30:47 desktop pppd[5681]: Using interface ppp0
Oct 16 15:30:47 desktop pppd[5681]: Connect: ppp0 <--> /dev/ttyUSB2
Oct 16 15:30:47 desktop pppd[5681]: CHAP authentication succeeded
Oct 16 15:30:47 desktop pppd[5681]: CHAP authentication succeeded
Oct 16 15:30:48 desktop pppd[5681]: local IP address 14.96.147.104
Oct 16 15:30:48 desktop pppd[5681]: remote IP address 172.29.161.223
Oct 16 15:30:48 desktop pppd[5681]: primary DNS address 121.40.152.90
Oct 16 15:30:48 desktop pppd[5681]: secondary DNS address 121.40.152.100
EDIT 1 :
I tried the following
sudo stop network-manager
sudo killall modem-manager
sudo /usr/sbin/modem-manager --debug > ~/mm.log 2>&1 &
sudo /usr/sbin/NetworkManager --no-daemon > ~/nm.log 2>&1 &
Output of mm.log:
#vim ~/mm.log:
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Option
** Message: Loaded plugin Huawei
** Message: Loaded plugin Longcheer
** Message: Loaded plugin AnyData
** Message: Loaded plugin ZTE
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin Sierra
** Message: Loaded plugin Generic
** Message: Loaded plugin Gobi
** Message: Loaded plugin Novatel
** Message: Loaded plugin Nokia
** Message: Loaded plugin MotoC
Output of nm.log:
#vim ~/nm.log:
NetworkManager: <info> starting...
NetworkManager: <info> modem-manager is now available
NetworkManager: SCPlugin-Ifupdown: init!
NetworkManager: SCPlugin-Ifupdown: update_system_hostname
NetworkManager: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
NetworkManager: SCPlugin-Ifupdown: update_connection_setting_from_if_block:
name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-678ed5bae28e
NetworkManager: SCPlugin-Ifupdown: addresses count: 1
NetworkManager: SCPlugin-Ifupdown: No dns-nameserver configured in /etc/network/interfaces
NetworkManager: nm-ifupdown-connection.c.119 - invalid connection read from /etc/network/interfaces: (1) addresses
NetworkManager: SCPluginIfupdown: management mode: unmanaged
NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:14.4/0000:02:02.0/net/eth1, iface: eth1)
NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:14.4/0000:02:02.0/net/eth1, iface: eth1): no ifupdown configuration found.
NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
@
In fact, not much has to be done to use this dongle and you don't really need to install anything. You need to edit one file, though.
Press ALT+F2 and enter
gksu gedit /etc/udev/rules.d/15-huawei-e161.rules
to create the file we need. Now paste the content below into the file and save it.Now just plug in your dongle and configure your connection using NetworkManager.
Explanation: The above file makes sure the command modem-modeswitch is run, whenever you plug in your dongle. The command itself just changes the dongle from cdrom-mode to modem-mode.
How did you test the speed if you were still not able to get online?
The steps in that link look correct, usb-modeswitch in Lucid is a little outdated and installing the version 1.1.4-1 from Debian usually fixes the problem. So, how many steps did you successfully go through? If all, you would probably want to open a bug on Launchpad and attach logs from NetworkManager and ModemManager.
As for the logs, there's a wiki page I updated on how to get them: http://wiki.ubuntu.com/DebuggingNetworkManager.
The trick is roughly to (in a terminal):
Then reproduce the issue and attach both nm.log and mm.log from your home directory to the bug.
From How to configure TATA PHOTON+ EC1261 on UBUNTU 10.04 Lucid Lynx by Aamir Aarfi:
Installing required packages
Modifying usb-modeswitch file
Configuring Tata Photon+ as "Mobile Brodband" from Network Manager.
Step1 : GO TO "System" > "Preferences" > "Network Connections".
Step2 : CLICK on "Mobile Broadband" tab.
Step3 : CLICK on "ADD" button.
Step4 : Observe the device name below "Create a connection for this mobile broadband device". "HUAyWEI TECHNOLOGIES HUAWEI Mobile" should already be selected in drop down. If not SELECT it and CLICK on "FORWARD". NOTE:- If this device does not shows here that means your Ubuntu is still not treating this device as USB MODEM.
Step5 : SELECT country (e.g. India) from the list CLICK on "FORWARD".
Step6 : SELECT PROVIDER (e.g. Tata Indicom (Photon+)) from the list CLICK on "FORWARD".
Step7 : You will see "Your Device" and "Your Provider", CLICK "Apply" button.
Step8 : FILL following information under "Mobile Broadband" tab.
Optionally you can CHECK "Connect Automatically" option. CLICK on "Apply" button
Step9 : TYPE first user password and CLICK on "Authenticate". You will see "Tata Indicom (Photon+)" in Mobile Broadband connection list.
PART-III :- Starting "Mobile Broadband" Connection
Step1 : RIGHT CLICK on "Network Manager" icon on top-left corner of the screen.
Step2 : CHECK "Enable Mobile Broadband" option.
Step3 : Now CLICK on the same icon.
Step4 : CLICK on "Tata Indicom (photon+) connection1"
And THATS IT !!!!!!
2.-
another option is upgrade from 10.04 to 10.10 because THE DRIVER FOR TATA PHOTON+ IS PRE INSTALLED, so no need to install .deb file. Plug in your photon device and select the appropriate options from the Ubuntu network manager.
In Ubuntu 12.04.2, I just clicked on the network settings option (shown as one upward arrow and one downward arrow) on the top right corner of the screen and selected "Mobile Broadband". It gave me options to choose my country and select the provider. I chose it, and everything worked fine. If it still doesn't work, try doing the same thing after switching off the wired network in your network settings.