Jump to content

Issues with Huawei E587 modem


evilsocket

Recommended Posts

I guys, I have a Huawei E587 modem which is not supported out of the box (as it seems) by the MKV, I'm following this guide, so my steps were:
- Install cdc_ncm package.
opkg -nodeps install http://galapago.sakura.ne.jp/openwrt/12_09_rc1/kmod-usb-net-cdc-ncm_3.3.8-1_ar71xx.ipk

- Install modeswitch's parameter file for E587

cd /etc/usbmodeswitch.d
wget -O 12d1:1c1b http://galapago.sakura.ne.jp/openwrt/12_09_rc1/12d1_1c1b

Now when I plug the device to the usb port, I see the following dmesg:

[ 1938.820000] usb 1-1.2: new high-speed USB device number 14 using ehci-platform
[ 1938.970000] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 1938.970000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1938.980000] scsi9 : usb-storage 1-1.2:1.1
[ 1939.000000] usb 1-1.2: MAC-Address: 0x0c:0x5b:0x8f:0x27:0x9a:0x64
[ 1939.010000] cdc_ncm 1-1.2:1.2: wwan0: register 'cdc_ncm' at usb-ehci-platform-1.2, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64
[ 1939.980000] scsi 9:0:0:0: CD-ROM            HUAWEI   Mass storage     ffff PQ: 0 ANSI: 2
[ 1939.990000] scsi 9:0:0:0: Attached scsi generic sg0 type 5
[ 1939.990000] scsi 9:0:0:1: Direct-Access     HUAWEI   Mass storage     ffff PQ: 0 ANSI: 2
[ 1940.000000] sd 9:0:0:1: Attached scsi generic sg1 type 0
[ 1940.030000] sd 9:0:0:1: [sda] Attached SCSI removable disk

( The cd-rom stuff it's normal, the device has a built in partition with softwares for windows ).

So far so good, if I execute ifconfig -a I see the interface with the right mac address:

wwan0     Link encap:Ethernet  HWaddr 0C:5B:8F:27:9A:64  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Now, since the protocol ncm is not in the list of the mobile configuration web ui, if I try to put it as a custom protocol nothing happens ( pppd is not launched basically ), if I try other configs such as:
config interface 'wan2'
        option proto '3g'
        option device '/dev/ttyUSB0'
        option service 'umts'
        option apn 'MY_APN'
        option username 'MY_USERNAME'
        option password 'MY_PASSWORD'
        option defaultroute '1'

I get the following (error) logs from pppd:

Jan  1 00:51:24 Pineapple daemon.notice pppd[24955]: pppd 2.4.5 started by root, uid 0
Jan  1 00:51:25 Pineapple local2.info chat[24971]: abort on (BUSY)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: abort on (NO CARRIER)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: abort on (ERROR)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: report (CONNECT)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: timeout set to 10 seconds
Jan  1 00:51:25 Pineapple local2.info chat[24971]: send (AT&F^M)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: expect (OK)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: AT&F^M^M
Jan  1 00:51:25 Pineapple local2.info chat[24971]: OK
Jan  1 00:51:25 Pineapple local2.info chat[24971]:  -- got it
Jan  1 00:51:25 Pineapple local2.info chat[24971]: send (ATE1^M)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: expect (OK)
Jan  1 00:51:25 Pineapple local2.info chat[24971]: ^M
Jan  1 00:51:29 Pineapple local2.info chat[24971]: ATE1^M^M
Jan  1 00:51:29 Pineapple local2.info chat[24971]: ^BOOT:478988,0,0,0,99^M
Jan  1 00:51:30 Pineapple local2.info chat[24971]: ^M
Jan  1 00:51:30 Pineapple local2.info chat[24971]: ^RSSI:10^M
Jan  1 00:51:30 Pineapple local2.info chat[24971]: ^M
Jan  1 00:51:30 Pineapple local2.info chat[24971]: ^CSNR:-93,-7^M
Jan  1 00:51:33 Pineapple local2.info chat[24971]: ^M
Jan  1 00:51:33 Pineapple local2.info chat[24971]: ^RSSI:10^M
Jan  1 00:51:33 Pineapple local2.info chat[24971]: ^M
Jan  1 00:51:33 Pineapple local2.info chat[24971]: ^CSNR:-96,-10^M
Jan  1 00:51:35 Pineapple local2.info chat[24971]: alarm
Jan  1 00:51:35 Pineapple local2.info chat[24971]: Failed
Jan  1 00:51:35 Pineapple daemon.err pppd[24955]: Connect script failed
Jan  1 00:51:36 Pineapple daemon.info pppd[24955]: Exit.
Jan  1 00:51:36 Pineapple daemon.notice netifd: Interface 'wan2' is now down

Can you help me please? Thanks :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...