Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 40074  / 2 Years ago, sun, march 6, 2022, 12:11:44

No support for this USB broadband modem. Does anyone have a clue on how to enable or install it in Ubuntu 12.04?



The device is listed by lsusb as 2001:a80b but in network manager, there is nothing in there.



Device is detected in /dev/sr1 or sr2 and can be mounted with



#mount /dev/sr1 or sr2 /media/<mkdir your own directory>


It contains various files. A file named "dlinkusbmodem.deb" is present. Double clicking opens it in Software Center but gives error during installation. Figures it is a 32-bit driver for 32-bit OS. Please help.


More From » drivers

 Answers
0

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 ran the command:



usbdeviceswitchdlink


The error was /usr/bin/usbdeviceswitchdlink: command not found.



The work around is simple. At the terminal (Ctrl+Alt+T) type this:



sudo su


And enter your 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.



In the terminal, type usb 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 see it), you need to uninstall usb_modeswitch.



Step 1




  1. Type sudo su, and enter your password.

  2. Then type:



    mkdir /media/cdrom
    mount /dev/srX /media/cdrom


    Press Tab twice.




    Note: the X in /dev/srX must be 1 or 2 - use accordingly.



  3. Once mounted, press Alt+F2, and type nautilus. You will see the cdrom mounted on the left. Click it.


  4. A file dlinkusbmodem.deb should be present. Double click it. Install it.




Step 2



After the installation is complete, type the following in the 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 (in Step 1), there is an alternative:




  1. Connect the device to a Windows PC. (Do not install the Dlink.exe. If already installed, uninstall it.) Then reconnect the device. It will show up as a USB storage device.


  2. Browse it and copy the file dlinkusbmodem.deb (our driver) to any storage device.


  3. Go back to your Ubuntu and paste the file to your Desktop and install it by double clicking it. If it gives you errors, go to the terminal and type the following command:



    cd ~/Desktop && sudo dpkg -i dlinkusbmodem.deb 

  4. The drivers should be installed. Now continue following the instructions in Step 2.







I tied it in crunchbang linux (a debian based Linux OS) but with no luck. I got an error regarding wrong architechture when I force install it! Strange, it works flawlessly on Ubuntu 12.04 64 bit and without the --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 attention:



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 up to 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 up to 3 days. After three, days I called the tech support of my service provider and they confirmed it will take another 2 days for the connection and the rest of the 2GB 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 it's 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 the 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:




  1. From my Lubuntu 12.04 netbook, enable 3G connection using dwm 156 and check internet connection.


  2. Connect my ethernet port of my netbook to wan port of router.


  3. Open network-manager on netbook.


  4. Go to wired connection 1 (eth0) and press the edit button.


  5. Go to IPv4 settings: enable- "shared to other computers".


  6. Save.


  7. Reboot the router and netbook.




Done!



NOW if you get connection-disconnected error do the following:



Open a terminal and type:



sudo su


And enter your 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.


[#36555] Tuesday, March 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
moloy

Total Points: 457
Total Questions: 93
Total Answers: 119

Location: Romania
Member since Wed, Dec 29, 2021
2 Years ago
;