LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   to install driver(datacard) in linux in order to use internet. (http://www.linuxquestions.org/questions/linux-newbie-8/to-install-driver-datacard-in-linux-in-order-to-use-internet-904916/)

parul chauhan 09-25-2011 11:07 AM

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 :)

parul chauhan 09-25-2011 11:09 AM

i actually want the commands to get it working .

TB0ne 09-25-2011 11:26 AM

Quote:

Originally Posted by parul chauhan (Post 4481767)
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.

parul chauhan 09-30-2011 11:33 PM

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.

parul chauhan 09-30-2011 11:35 PM

what to do next sir??

qlue 10-01-2011 01:42 AM

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. :)

parul chauhan 10-01-2011 06:51 AM

kk. i'll try this now. really thank you.

parul chauhan 10-01-2011 10:35 AM

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?

konsolelover 10-01-2011 11:52 AM

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.

qlue 10-01-2011 02:11 PM

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)

parul chauhan 10-02-2011 04:03 AM

yes it is 3g/hspa usb modem!!!

but should i use the commands written above...the one's after making modem file.....

qlue 10-02-2011 06:38 PM

Quote:

Originally Posted by parul chauhan (Post 4487774)
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.)

parul chauhan 10-03-2011 11:22 AM

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:~$

qlue 10-03-2011 03:47 PM

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.


All times are GMT -5. The time now is 11:46 PM.