Huawei 4G USB Modem Setup

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Huawei 4G USB Modem Setup

Postby shiznatix on Sun Apr 14, 2013 5:04 pm

I am trying to connect to the internet via a 4G USB Modem but I have not had any luck so far.

I googled around for quite some time but couldn't find anything that worked. The output of lsusb is:
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. Card reader
Bus 001 Device 004: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
Bus 002 Device 006: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 002 Device 004: ID 04f2:b272 Chicony Electronics Co., Ltd Lenovo EasyCamera


My /etc/usb_modeswitch.conf is:
Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
#
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"


# Disable automatic mode switching globally (e.g. to access the original
# install storage)

DisableSwitching=0


# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" and probably others

EnableLogging=0

########################################################
# Huawei EC156

DefaultVendor= 0x12d1
DefaultProduct=0x1506

#TargetVendor= 0x12d1
#TargetProduct= 0x140b,14ac

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

CheckSuccess=20


When I run sudo usb_modeswitch -c /etc/usb_modeswitch.conf I get this output:
Note: target parameter missing; success check limited
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 006 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("option")
OK, driver "option" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01

Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Original device still present after the timeout

Mode switch most likely failed. Bye.


How can I get this to work properly? What should I be looking into?
shiznatix
Level 1
Level 1
 
Posts: 15
Joined: Mon Oct 15, 2012 5:42 am

Linux Mint is funded by ads and donations.
 

Re: Huawei 4G USB Modem Setup

Postby shiznatix on Wed Apr 17, 2013 5:45 am

*bump* does anyone have any idea?
shiznatix
Level 1
Level 1
 
Posts: 15
Joined: Mon Oct 15, 2012 5:42 am


Return to Wireless

Who is online

Users browsing this forum: Google [Bot] and 3 guests