Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've tried to install device driver of USB Modem D-Link DWM-156 on Ubuntu 12.04 using Gdebi. It installed. But the system didn't detect the modem. I had previously installed the same driver on Ubuntu 10.04 and 11.10 successfully.

After that I removed the driver. And again installed the same .deb package by using dpkg. It shows the installation is successful. But there is an error in postinst file. I extracted the debian package (.deb file).

The part showing error in the postinst file is:

 if [ ! -f /usr/bin/sendatcommandTodevicesdlink.sh ]; then
    echo there is an erro, please reinstall 

What does it mean? How can I make the usb modem work?

System Specs:

  • HP Compaq Presario PC. Memory : 2GB.
  • Processor: Intel® Pentium(R) Dual CPU E2220 @ 2.40GHz × 2.
  • Graphics: Intel® G33 x86/MMX/SSE2.

lsusb output when USB modem plugged in:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 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 002 Device 002: ID 0e8f:0022 GreenAsia Inc.
Bus 001 Device 004: ID 2001:a80b D-Link Corp.

lsusb output when USB modem unplugged:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 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 002 Device 002: ID 0e8f:0022 GreenAsia Inc.

It detects the D-Link modem. But not on action. Why?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.