3G D-Link DWM-157 Modem Install on Ubuntu 12.04

15,721

I am running the 157 on Mint 16 now, working fine, but the install not smooth: installed the .deb no problem, nothing happened though- no detection by network manager. Had to unplug eth0 and reboot- then Network manager detected it.

The documentaion for this device is close to non-existant, playing around I discovered a more elegant solution (but still not perfect):

The software installs a script: 3g_connect.sh

Run 3g_connect.sh form the terminal:

3g_connect.sh 003:010

ie the arguement to 3g_connect.sh is the BUS:DEVICE pair from you post:

my USB-device is found ("Bus 003 Device 010: ID 2001:a707 D-Link Corp.")

Note: The 3g_connect.sh script should be run as root for it to work, but running it as a normal user did force Network manager to detect the dongle- and I could then use Network manager to manage it- which I prefer).

Hope this helps.

Share:
15,721

Related videos on Youtube

190190pasha
Author by

190190pasha

Updated on September 18, 2022

Comments

  • 190190pasha
    190190pasha almost 2 years

    How can I install my 3G Modem (D-Link DWM-157)? Some steps I've already tried:

    • Plug in the modem (green light is fired);
    • Run sudo su command;
    • lsusb (command line) - my USB-device is found ("Bus 003 Device 010: ID 2001:a707 D-Link Corp.");
    • Mounted it (ran mount /dev/sr, then press Tab some times - "sr0" and "sr1" are displayed in terminal line; Unplug the USB-device and repeated previous operations: only "sr0" was shown in the terminal window);
    • /media/cdrom now has "3g_modem_connect_D310A_amd64.deb" and -//-//-_i386.deb files (my OS type is 64-bit, but I tried both versions); I've been trying to install it as from Ubuntu Software Center, using dpkg -i command with both versions of files - "Install finished." was displayed.

    After all this, in "Network Manager" my USB-device is not shown... (after unplugging the device and plugging it in again, only a red light is on).

    • user3620828
      user3620828 almost 8 years
      Isn't there a install.sh script on the modem
    • Severus Tux
      Severus Tux almost 8 years
      I use the same Device (D-Link) but on Arch Linux, It works fine after installing packages given here (Under Network manager). And one more thing, When I connect this Dongle, I get also get a medium with 2 debain packages and 2 rpm packages (for i386 & amd64), do you get them too?? have you tried installing it ?
  • user171357
    user171357 over 10 years
    There is a simpler solution (again not perfect- as I figure out more I will post): kill modem-manager, restarts and detects the dongle)