LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2010, 07:57 AM   #1
technocp
LQ Newbie
 
Registered: Oct 2008
Posts: 18

Rep: Reputation: 0
Ubuntu 8.10 Tata Photon USB Mode Driver like Ubuntu 10.04


I have been using Ubuntu since 7.04. It is really an amazing experience. I have some 8.10 machines which I use for my students and i don't want to change it right now to different version. On the other hands I want to install USB Modem (Tata Photon+) on Ubuntu 8.10. I have seen its working fine on Ubuntu 9.04 and even better with Ubuntu 10.04.

Can any one help me for how to install drivers in Ubuntu 8.10 for proper support with Tata Photon. right now my usb modem is detected as usb storage. I have also tried the usb-switchmode stuff following some articles available on net. But with no real success.

I want to know the exact difference in 8.10, 9.04 and 10.04 as far as usb modem driver installation is concerned.

Or can I configure Ubuntu 8.10 in such a way that I can use USB Modem (Tata Photon) like we do in Ubuntu 10.04.

Your help will be heartily appreciated

Thanks & Regards
 
Old 08-25-2010, 02:01 AM   #2
Basse1
LQ Newbie
 
Registered: Jun 2010
Location: India
Posts: 14

Rep: Reputation: 1
Wondering if you had already managed to make it working.

I faced this problem before and I managed to fix this by installing latest version of following packages.
usb-modeswitch-data
usb-modeswitch

usb-modeswitch will let the system detect your tata photon+ as a modem than a usb-storage device.
 
Old 08-25-2010, 04:03 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Now that the thread has been renewed, can you please check with wvdial. It is a dial up internet as far as my knowledge goes and you will need to create a wvdial.conf file to suit your needs. Connecting the USB modem and running wvdial command should give you some information if the modem has been detected.
lsusb should also give you the information you need.
 
Old 08-26-2010, 11:38 AM   #4
Basse1
LQ Newbie
 
Registered: Jun 2010
Location: India
Posts: 14

Rep: Reputation: 1
If you go for wvdial, you can run the command "sudo wvdialconf" to build the configuration file /etc/wvdial.conf

Remember to remove all other USB devices prior to running wvdialconf, or it may not detect your modem.

Last edited by Basse1; 09-02-2011 at 11:52 PM. Reason: referal site no longer available. removing the link.
 
Old 08-26-2010, 11:48 AM   #5
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Hi Technocp,
This is a post just in case anyone has difficulty in configuring the USB modem Huwaei 1260. My service provider is Tataindicom from in India.
I'm using photon plus broadband connection. Here's how I configured it.

Login as root.
Insert the modem in a USB port.
Do a lsusb command.
You will get the vendor id and the product id.
[root@localhost ~]# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 002: ID 15d9:0a37 Unknown Mouse
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 12d1:140b Huawei Technologies Co., Ltd.
Bus 004 Device 001: ID 0000:0000

Here the vendor id is 12d1 and the product id is 140b.
Now you have to do a modprobe.

[root@localhost ~]# modprobe -r usb-storage usbserial
[root@localhost ~]# modprobe usbserial vendor=0x12d1 product=0x140b

Run wvdialconf as below.

[root@localhost ~]# wvdialconf /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.
Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- OK
ttyUSB0<*1>: Max speed is 460800; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
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: 115200 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 4800: AT -- OK
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Speed 19200: AT -- OK
ttyUSB2<*1>: Speed 38400: AT -- OK
ttyUSB2<*1>: Speed 57600: AT -- OK
ttyUSB2<*1>: Speed 115200: AT -- OK
ttyUSB2<*1>: Speed 230400: AT -- OK
ttyUSB2<*1>: Speed 460800: AT -- OK
ttyUSB2<*1>: Max speed is 460800; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB3<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

The modem configuration will be written in /etc/wvdial.conf as below.

[root@localhost ~]# cat /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>

Make changes as below to the /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = internet
Dial Command = ATDT
Password = internet
Baud = 9600

Run wvdial

[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.54.0
--> 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
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Mar 3 11:57:05 2010
--> pid of pppd: 3544
--> Using interface ppp0
--> local IP address 115.117.193.65
--> remote IP address 172.29.243.161
--> primary DNS address 203.200.230.244
--> secondary DNS address 202.54.29.5

Wow You are on to the net.

If your browser gives problems loading the pages add the nameservers in /etc/resolv.conf as below.

[root@localhost ~]# cat /etc/resolv.conf
search localdomain
nameserver 203.200.230.244
nameserver 202.54.29.5

Then run the browser, there should not be any problems.
 
  


Reply

Tags
tata, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Configure TATA Photon Plus jeromemail Linux - Hardware 9 05-08-2012 07:01 AM
tata photon card saran_redhat Linux - Newbie 6 01-09-2012 01:13 PM
Tata photon+ Huawei usb modem(EC1260) not working with Redhat 5 vinay Red Hat 2 03-17-2010 08:08 AM
tata indicom usb modem on ubuntu 7.04 divine18e Linux - Wireless Networking 14 01-07-2008 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration