LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-25-2011, 10:07 AM   #1
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
Unhappy to install driver(datacard) in linux in order to use internet.


i have installed ubuntu 11.04 recently. m a total begginer so i need help to start using net on my laptop with linux installed.......all i know is dat a driver is needed to be installed ( driver's format is .sh) is dat the thing i need to get it working nd start using internet. nd if dats d thing then how to install this particular driver. reply soon.
thnx in advance
 
Old 09-25-2011, 10:09 AM   #2
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
i actually want the commands to get it working .
 
Old 09-25-2011, 10:26 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by parul chauhan View Post
i have installed ubuntu 11.04 recently. m a total begginer so i need help to start using net on my laptop with linux installed.......all i know is dat a driver is needed to be installed ( driver's format is .sh) is dat the thing i need to get it working nd start using internet. nd if dats d thing then how to install this particular driver. reply soon.
thnx in advance

i actually want the commands to get it working .
Spell out your words...text-speak isn't nice for anyone to try to read and decipher.

And it would help if you told us what kind of laptop, data card, where you GOT the drivers, etc. Just saying you're using Ubuntu 11.04 tells us very little. Normally, if you've downloaded something, there are instructions that come with it, which would be a very good place to start. A .sh file is usually a shell-script, so you can run it with the "./<file name>" command.
 
Old 09-30-2011, 10:33 PM   #4
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
m using dell vostro 1014
nd the datacard is of MICROMAX...i got the driver from micromax only...actually they geve me some files(when i askd for support):
wvdial_1.60.1+nmu2ubuntu1_i386.deb
libwvstreams4.6-extras_4.6-2_i386.deb
libwvstreams4.6-base_4.6-2_i386.deb
libuniconf4.6_4.6-2_i386.deb
ModemConnect.sh
libaudio.so
libQtCore.so.4
libQtGui.so.4
modem_connect.conf
lsusb
ModemConnect

these were the files they(micromax support) sent.
 
Old 09-30-2011, 10:35 PM   #5
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
what to do next sir??
 
Old 10-01-2011, 12:42 AM   #6
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 620
Blog Entries: 1

Rep: Reputation: 140Reputation: 140
My recommendation:

1. Make a new folder in your home folder (call it 'modem')
2. put all those files in that folder
3. Open a terminal and type:
Code:
cd ~/modem
gksu dpkg -i *.deb
this should install all four .deb files.
4. then type:
Code:
./ModemConnect.sh
After that, let us know what happened and we'll take it from there.

Last edited by qlue; 10-01-2011 at 12:46 AM. Reason: neatness, correcting file name
 
1 members found this post helpful.
Old 10-01-2011, 05:51 AM   #7
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Smile

kk. i'll try this now. really thank you.
 
Old 10-01-2011, 09:35 AM   #8
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
urmm sir i tried the commands written above but this error was there:

parul@Vostro-1014:~$ cd ~/modem
parul@Vostro-1014:~/modem$ gksu dpkg -i *.deb
parul@Vostro-1014:~/modem$ ./ModemConnect.sh
bash: ./ModemConnect.sh: Permission denied
parul@Vostro-1014:~/modem$ . /ModemConnect.sh
bash: /ModemConnect.sh: No such file or directory


then i tried using sudo command this was the result:

parul@Vostro-1014:~$ $sudo ./ModemConnect.sh
bash: ./ModemConnect.sh: No such file or directory
parul@Vostro-1014:~$ cd ~/modem
parul@Vostro-1014:~/modem$ $sudo ./ModemConnect.sh
bash: ./ModemConnect.sh: Permission denied

after that i checkd the wvdial version which said that its not installd yet:
this was the output:

parul@Vostro-1014:~/modem$

E: Package 'wvdial' has no installation candidate
parul@Vostro-1014:~/modem$ wvdial --version
The program 'wvdial' is currently not installed. You can install it by typing:
sudo apt-get install wvdial

what next should i do to get it working?
 
Old 10-01-2011, 10:52 AM   #9
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 68

Rep: Reputation: 2
Make sure that you have chmod the script. You can use
chmod 750 ModemConnect.sh
(better use tab button to get the filename)
And ofcourse install wvdial.
 
Old 10-01-2011, 01:11 PM   #10
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 620
Blog Entries: 1

Rep: Reputation: 140Reputation: 140
Is this a 3G/hspa device? Is it connected via a usb cable?
If it's usb, then before you connect it, type in a terminal;
Code:
lsusb
Then plug it in, wait a few seconds and type again;
Code:
lsusb
post the results here when you've done that (please use the code tags)
 
Old 10-02-2011, 03:03 AM   #11
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
yes it is 3g/hspa usb modem!!!

but should i use the commands written above...the one's after making modem file.....
 
Old 10-02-2011, 05:38 PM   #12
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 620
Blog Entries: 1

Rep: Reputation: 140Reputation: 140
Quote:
Originally Posted by parul chauhan View Post
yes it is 3g/hspa usb modem!!!
Ubuntu has very good support for most 3G/hspa modems, so you shouldn't need any additional software. What we need to determine is whether your modem is been detected at all, and whether it needs to be switched. Start up your Ubuntu, and get the usb information as I suggested. Then connect the modem and see what gets added to the lsusb listing and post that here. The last dmesg info may also be of help.

So, to summarise;

before connecting the modem type;
Code:
lsusb
After connecting the modem type;
[code]lsusb
dmesg | tail
[code]

then post the results here

It should look similar to this example:
Code:
qlue@qlue:~/tmp$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 003: ID 17af:6002  
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 064e:d101 Suyin Corp. Acer CrystalEye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
qlue@qlue:~/tmp$ dmesg | tail
[   64.089560] PPP generic driver version 2.4.2
[   67.292330] PPP BSD Compression module registered
[   67.338075] PPP Deflate Compression module registered
[  659.105110] usb 2-1: USB disconnect, address 2
[  692.576237] usb 2-1: new full speed USB device using uhci_hcd and address 4
[  692.773859] usb 2-1: New USB device found, idVendor=0a12, idProduct=0001
[  692.773877] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  692.774196] usb 2-1: configuration #1 chosen from 1 choice
[  692.881064] Bluetooth: Generic Bluetooth USB driver ver 0.6
[  692.889605] usbcore: registered new interface driver btusb
qlue@qlue:~/tmp$
(except the information will be different on your system.)
 
Old 10-03-2011, 10:22 AM   #13
parul chauhan
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
i initially typed lsusb in terminal without usb modem and got the following result:
parul@Vostro-1014:~$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 5986:01a2 Acer, Inc
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
parul@Vostro-1014:~$ ^C
parul@Vostro-1014:~$

and after connecting modem the output was:
parul@Vostro-1014:~$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 1c9e:f000
Bus 002 Device 003: ID 5986:01a2 Acer, Inc
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
parul@Vostro-1014:~$


it seems that ubuntu is able to detect my usb modem. and after typing the dmesg | tail commands:



parul@Vostro-1014:~$ dmesg | tail
[ 119.593872] composite sync not supported
[ 128.587091] composite sync not supported
[ 128.625178] composite sync not supported
[ 128.664096] composite sync not supported
[ 128.705426] composite sync not supported
[ 129.023997] composite sync not supported
[ 130.641944] composite sync not supported
[ 135.152303] composite sync not supported
[ 178.860100] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 179.050092] scsi8 : usb-storage 2-3:1.0
parul@Vostro-1014:~$
 
Old 10-03-2011, 02:47 PM   #14
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 620
Blog Entries: 1

Rep: Reputation: 140Reputation: 140
Ah! now we're getting somewhere!

I found this thread that refers to a modem with the same product:vendor id
http://ubuntuforums.org/archive/inde...t-1365524.html

And in this thread, the sixth comment down gives a similar explanation.
http://forum.vectorlinux.com/index.php?topic=9443.0

The most important part is the installing of the usbserial driver.
Code:
modprobe usbserial vendor=0x1c9e product=0x9603
Try these steps;

1. With the modem connected to your laptop, turn on and boot into Ubuntu
2. open a terminal and type, lsusb

note the numbers for your modem which should now show as, 1c9e:9603 if it's the same as the one in that thread.

3. type;
Code:
sudo modprobe usbserial vendor=0x1c9e product=0x9603
at this point, your modem should be recognised by nm-applet. It should launch a dialogue asking you to setup a new mobile connection. Just follow the prompts.

If the network wizard doesn't come up automatically, right click on nm-applet (the network icon in your system tray). Select 'edit connections' => 'mobile broadband' => 'add' and follow the prompts.

If this works, come back here and let me know so I can help you make this more permanent.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 can i stop the X Server in order to install a display driver? mib2k Linux - Newbie 4 03-15-2012 10:50 AM
How to control the driver order be loaded by linux skiron.liu Linux - Hardware 5 04-06-2011 08:26 AM
[SOLVED] My datacard goes online but doesn't gives internet access (Fedora 14) one_harsh Linux - Networking 1 12-31-2010 06:37 AM
cant connect to internet via tata indicom datacard akshat.ujjain Linux - Networking 2 10-09-2010 12:33 PM
what linux driver do i need in order to get internet using a WiFi-AP Solo solution spinksc Linux - Newbie 3 05-02-2008 08:03 PM


All times are GMT -5. The time now is 01:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration