Setup D-link DWM 156 3g modem

Hi, Friends!
I am trying to setup my d-link 3g modem,But my “Mobile Broadband” tab is disable in Network Manager.Please help me to solve this issue. :slight_smile:
and my other problem is with my modem driver, that’s in .deb format and when i am trying to convert it to rpm file with (ALIEN) i get some error refer to missing some perl library files and etc.So i am attache my deb file please some one convert that to rpm version. thank you for reading this post.

my driver deb file

my regards :x
cheers

  1. Can you tell us which openSUSE version you are using?
  2. With the D-link device plugged, in what chipset is reported via the following command?
lsusb

FWIW, a quick search online shows that the D-link 156 is likely to have the 2001:a80b chipset. If this is the case then usb_modeswitch should handle the device, (ie switch it to modem mode with the 2001:7d00 chipset reported). The ‘option’ driver (included as kernel module) is supposed to provide support for this particular hardware.

thank you for responding.
My device chipset number is something like 2001: a706.
I am searching around usb_modeswitch and install it now.But “Mobile Broadband” tab in NetworkManager still disable!
my question is how can i enabling Mobile Broadband configuration in NetworkManager ?

thanks again :slight_smile:

Okay, you are using a recent variant as described here:

USB_ModeSwitch • View topic - New D-Link DWM-156 variant++

So, you’ll need a recent version (2.0.1) of usb_modeswitch-data and usb_modeswitch from here:

software.opensuse.org:

Select ‘Show other versions’, choose applicable openSUSE version, then ‘Show unstable packages’. Once you have installed the usb_modeswitch-data and the usb_modeswitch packages, your device should be switched correctly. Now, your device should report 2001:7d01

The next challenge may be getting your device recognised and supported by the kernel option driver. You didn’t tell me which kernel (or openSUSE version you have installed) yet.

FWIW, I note that there is a recent commit for this device

commit f4fd63017f8d28fa7719aebf1abca98f31685b2e
Author: Bjørn Mork <bjorn@mork.no>
Date:   Tue Apr 9 11:26:02 2013 +0200

    USB: option: add a D-Link DWM-156 variant
    
    commit a2a2d6c7f93e160b52a4ad0164db1f43f743ae0f upstream.
    
    Adding support for a Mediatek based device labelled as
    D-Link Model: DWM-156, H/W Ver: A7
    
    Also adding two other device IDs found in the Debian(!)
    packages included on the embedded device driver CD.
    
    This is a composite MBIM + serial ports + card reader device:
    
    T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=480  MxCh= 0
    D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=2001 ProdID=7d01 Rev= 3.00
    S:  Manufacturer=D-Link,Inc
    S:  Product=D-Link DWM-156
    C:* #Ifs= 7 Cfg#= 1 Atr=a0 MxPwr=500mA
    A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
    E:  Ad=88(I) Atr=03(Int.) MxPS=  64 Ivl=125us
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
    I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
    E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
    E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=500us
    E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
    E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
    E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
    E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    
    Signed-off-by: Bjørn Mork <bjorn@mork.no>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Don’t worry about that aspect. Even with supported devices present, my NM shows the same. They can all be activated as required.

What you really want to look for is the presence of ttyUSB* nodes, which is what the modem driver will create when the device is detected correctly. (But usb_modeswitch must do its job first.)

ls -l /dev/ttyUSB*

@Dear deano
I am using OPENSUSE 12.3 version.
And output of /dev/ttyUSB* is empty! ,But after installation of usb_modeswitch module , USB DEVICE list my 3g usb dongle as you can see in blow picture :

http://s6.uplod.ir:182/d/2k2tqcgk4hvhuf6t4opnf4tl7ljrnwx4h4jh3buigcji4vegtkxx4xrf/Untitled.png

And unfortunately until now i want reply this post ,The Mobile Broadband tab’s strongly disable in NetworkManager settings!

notice: when i am trying to install (usb_modeswitch-data 2.0.1) i am getting some trouble error message and issues that i can’t solve those Because in middle of installation show error message ask for adding repository to continue installation!

And unfortunately until now i want reply this post ,The Mobile Broadband tab’s strongly disable in NetworkManager settings!

Do not worry about that (as I mentioned previously).

notice: when i am trying to install (usb_modeswitch-data 2.0.1) i am getting some trouble error message and issues that i can’t solve those Because in middle of installation show error message ask for adding repository to continue installation!

Use the ‘1 Click Install’ . Does that simplify things for you? Your other alternative is to download the ‘usb_modeswitch-data’ and ‘usb_modeswitch’ packages from the Akoellh repo, and install manually.

Thank you dear deano_ferrari

I’ve installed both of “usb_modeswitch 2.0.1 and usb_modeswitch-data 2.0.1” but problem still remains.
I did whatever i knew,I waste so much time but broblem was’t solved and i think my brain crashing down! :smiley:

The new usb_modeswitch will take care of the switching required (and your device should now be reporting a different product ID as a result). As I mentioned before, you are likely to need to upgrade your kernel as well so that the option driver recognises your particular chipset. You could try using openSUSE 13.1 when it is released.

There is a way to test with the current kernel option driver if you think you can cope. Assuming your device is reported by ‘lsusb’ as 2001:7d01, you’d try the following as root

modprobe option 
echo "2001 7d01" > / sys/bus/usb-serial/drivers/option1/new_id"

Then see if /dev/ttyUSB0 (or /dev/ttyUSB1) exists. If so, you’d then proceed to configuring via the network manager.

openSUSE 12.3: Chapter 13. Basic Networking

@yunghero: I fail to see how the link you posted is of any assistance to the OP.