Setting up my new 3G usb modem "D-Link DWP 156 in ubuntu 13.10

12,215

Solution 1

Switch to su mode, plug-in your modem

  1. type lsusb in terminal and note down the product id and vendors id mine was Bus 002 Device 012: ID 2001:7d0b D-Link Corp. here product id is 2001 and vendors id is a403.

  2. type /dev/sr press tab twice. The last one is your modem. mine was sr1.

  3. type mkdir /media/cdrom for creating the directory

  4. mount your device as cdrom. type mount /dev/sr1 /media/cdrom

  5. open the user manual for linux

  6. type eject /media/cdrom for ejecting the usb device.

  7. type modprobe usbserial vendor=0x2001 product=0xa403 for switching your device to modem (please pay attention to give your product and vendor id which was noticed by you in step 1)

    Wait for some seconds or disable and enable networking.

You can see your mobile broadband connection enable it and configure it with the help of manual which you opened in step 5

you have to mount the device to cdrom and eject it each time when you plug-in/reboot your system

Thats it..! you can see your d-link dwp modem blinking... but it may shows no range , never mind. you are connected now.!!!

Solution 2

For me this worked in Ubuntu 14.04 and Ubuntu 15.04 (Lubuntu).

  1. run:

    sudo apt-get remove modemmanager
    sudo apt-get install modemmanager modem-manager-gui  
    
  2. run ./install.sh (from LinuxModemShell folder of dlink drive)
  3. run ./bin/RemoveModemManager.sh (from LinuxModemShell folder of dlink drive)
  4. When you open modem-manager-gui app, you should see device detected in modem-manager-gui.

Also you may need to try modprobe usbserial command to detect your modem

Share:
12,215

Related videos on Youtube

user259975
Author by

user259975

Updated on September 18, 2022

Comments

  • user259975
    user259975 almost 2 years

    This USB modem has official support for Linux OS(Ubuntu 10.04 or above). I have tried all the methods shown on various sites but Nothing worked.

    In the terminal I typed isusb and the output is as given below.

    lsusb
    
    Bus 001 Device 010: ID 2001:7d01 D-Link Corp.
    

    I also tried to install the 3g_modem_connect_DTLW2_D300A_amd64.deb file but it doesn't get install via software center.

    • Panther
      Panther about 10 years
      Sounds as if you modem is incompatible with Ubuntu. You have not posted much information, can you identify the hardware (chip set) and specify what you tried?
    • user259975
      user259975 about 10 years
      I have tried this command lsusb and the device is listed as: Bus 001 Device 010: ID 2001:7d01 D-Link Corp.
    • user259975
      user259975 about 10 years
      Please help me setting this modem I don't want to dual boot with windows.
    • user259975
      user259975 about 10 years
      @ bodhi.zazen are you there?
    • Panther
      Panther about 10 years
      I do not know how to get your hardware working, just suggesting you provide as much detail as possible.
    • Elliott Frisch
      Elliott Frisch about 10 years
      Your modem driver is now installed. Does it show up in the network manager?
    • user259975
      user259975 about 10 years
      No, It doesn't show.
    • user259975
      user259975 about 10 years
      I Don't Know What to Do Now.
    • user1796805
      user1796805 over 9 years
      The answer below by Nav askubuntu.com/a/536364/17968 works!