12.04
Before proceeding ahead i would say that i used ultimate edition linux 3.4 64 bit-- this distro has all the library and dependencies for installing drivers(ia32-libs, usb_modeswitch).
The driver supplied with the dongle is a 32 bit driver. This successfully gets installed on a 64 bit ubuntu if and only if you have-- ia32-libs installed................
I used this driver with lubuntu 64 bit and got an error message when i run the command :
usbdeviceswitchdlink
---> /usr/bin/usbdeviceswitchdlink: command not found
The work around is simple...at the terminal type this:
sudo su ---- ENTER password
Then type...
apt-get -y install ia32-libs
The above command will add 32 bit compatibility on 64 bit ubuntu successfully.
if you get an error message ...run the command again.
Once successfully installed proceed ahead and you shouldn't get any error messages once you have installed the 32 bit driver on your 64 bit ubuntu...................
Open terminal press ctrl+alt+t
type usb without quotes then press tab twice
if you don't see usb_modeswitch it means it is not installed - good you don't need it.
if yes you need to uninstall usb_modeswitch.
Step 1
Now the command is
sudo su
enter pass
mkdir /media/cdrom
mount /dev/srx /media/cdrom
press tab twice
N.B. x must be 1 or 2 - use accordingly
Once mounted
Press alt+f2
type
nautilus
You will see cdrom mouted on the left
click it
a file dlinkusbmodem .deb present
Double click it
Install it
Step 2
After install type at terminal
usbdeviceswitchdlink
It will show command executed successfully.
Done!!
I'm using this dongle with reliance netconnect 3g.
And here's the video.
Note
In case you are not able to mount the device ie step 1,there is alternative:
1.Connect device to windows PC .
(do not install the Dlink.exe. if already installed uninstall it)
Then reconnect device It will show as usb storage device.
2.Browse it and copy file dlinkusbmodem.deb (our driver) to any sotage device
3.log in ubuntu and paste file to any directory and install it der by double clicking
(if it gives error go for terminal command)
or
type following comand at terminal
sudo dpkg install dlinkusbmodem .deb
4.Drivers shoud be installed
now follow instruction as per Step 2
Tried it in crunchbang linux --a debian based OS --- but with no luck..........get an error regarding wrong architechture when i force install it!! Strange it works flawlessly on ubuntu 12.04 64 bit and withouth --force-architecture parameter.
WARNING!!: Modem connection and disconnection regression- typical of usb 3g modems will occur if you run
sudo apt-get update
be WARY when you run the above command, as your modem might start getting disconnected when you enable the network!
If it occurs, reinstall the drivers after purging them fully. This effectually will solve the problem. Follow the above steps to install.
ALERT!:
*Just want to bring to your notice...
If you insert your 3g sim card in the dongle you might get instant connection..
After a certain period of time and usage the dongle will get disconnected!!
I had taken a 3GB FRC pack for first usage.
I spent a few days with this problem until I went to the showroom of my service provider where he stated...
The data used upto 1GB is at the customers discretion. Once that data is used your connection cuts because your IMEI no. of the dongle goes in for verification( to check whether the device has a valid and not stolen IMEI).
This procedure can take upto 3 days...........
After three days i call the tech support of my service provider and they confirmed it will take another 2 days for the connection and the rest of the 2 GB usage back.
I CONTINUOUSLY GOT " MODEM DISCONNECTED" ERROR WHILE USING THE 3G SIM CARD WITH THIS DONGLE. THIS IS A TYPICAL PROBLEM MOST USB MODEMS HAVE AND I THOUGHT ITS THE SAME THING...UNTIL I INSERTED MY 2G SIM CARD AND GOT THE CONNECTION INSTANTANEOUSLY!!
i HAD A 2G CONNECTION IN MY PHONE'S SIM AND I GOT A 18KB/S SUSTAINED DOWNLOAD SPEED WITH THIS DONGLE.
ALL PROBLEMS SOLVED.*
*NOW for the fun part:--->
Using 3g connection using this dongle on my lubuntu 12.04 netbook and connecting to my wireless TP-LINK N 300 router to get internet connection to all the computers on the network.
3G dwm 156 DONGLE-->>LUBUNTU NETBOOK-->>ETHERNET PORT OUT-->>CAT5/CAT6 CABLE-->>WAN PORT OF TP-LINK WIRELESS N ROUTER-->>GETTING INTERNET CONNECTION ON 4 ROUTER PORTS AND WIFI-->getting connection on my desktop computer using D-link wifi dongle DWA 131.
Here is the procedure:--
from my lubuntu 12.04 netbook ...enable 3g connection using dwm 156 and check internet connection
connect my ethernet port of my netbook to wan port of router
open network-manager on netbook
goto wired connection 1 (eth0)
press edit button
goto IPv4 settings
enable- shared to other computers
save.
reboot router and netbook.
DONE!
NOW if you get connection-disconnected error do the following:-->
open terminal
type
sudo su --enter password
then type
killall dnsmasq
DONE!
If need be check your router's wan IP settings *
Now i'm sharing internet connection using D-link DWM 156 with 7 computers.