How to use usb-modeswitch? I am lost.Please help.

Issues related to hardware problems
Post Reply
User avatar
centocub
Posts: 65
Joined: 2015/08/20 08:09:53

How to use usb-modeswitch? I am lost.Please help.

Post by centocub » 2015/10/02 16:01:59

Hi,

newbie: I am using a Huawei surfstick that works easily with Ubuntu. And in Centos 7 I get exactly the same entries when I use

Code: Select all

nm-connection-editor
to set it up. It appears as "AldiTalk/MedionMobile Volume rate/30 Day Flatrate", exactly as in Ubuntu. Unlike with Ubuntu, however, I cannot find it in Centos 7 with the network connection icon in the upper taskbar. I read in
posting.php?mode=quote&f=13&p=222408
TrevorH wrote:If a 3G modem is recognised as a CD device then it needs usb-modeswitch run against it. Most of these devices appear to be CD devices for Windows systems and the CD contains the Windows drivers necessary to use the modem. Windows loads the drivers, reinitialises the hardware and it appears as a modem. You need usb_modeswitch to do a similar job for you.
However I do not know how to use usb_modeswich. If I use the command "usb_modeswitch", options I do not know how to use them are missing. Could you help, please?

Thank you,

centocub

User avatar
centocub
Posts: 65
Joined: 2015/08/20 08:09:53

Re: How to use usb-modeswitch? I am lost.Please help.

Post by centocub » 2015/10/04 15:29:14

From: posting.php?mode=quote&f=50&p=210555
m4hdi wrote:thanks all users for helps me.

my problem solved.
i not used usb_modswitch for change device to network , after i use that problem fixed :)

thanks.
@m4hdi: Could you please tell me how you used this usb_modeswitch? Thank you!

Edit: Contrary to your settings
/etc/NetworkManager/system-connections/rightel, I see
/etc/NetworkManager/system-connections/AldiTalk*MedionMobile Volume rate*30 Day Flatrate 1-64c8fa68-d1f0-4bf8-b530-e6deb7f7d2be
and this is a binary file, unfortunately :(

User avatar
centocub
Posts: 65
Joined: 2015/08/20 08:09:53

Re: How to use usb-modeswitch? I am lost.Please help.

Post by centocub » 2015/10/06 17:01:27

@TrevorH: How do I run usb-modeswitch against my 3G modem, please?

You wrote in posting.php?mode=quote&f=13&p=222408
TrevorH wrote:
If a 3G modem is recognised as a CD device then it needs usb-modeswitch run against it....
I really do not know how to run it against my Huawei modem, despite googling back and fore. This is what I did so far, but no connection yet:

* 1 *

Code: Select all

lsusb
Bus 002 Device 003: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
* 2 *

Code: Select all

$ sudo usb_modeswitch -v 12d1 -p1436 -H

Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 003 on bus 002 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Sending Huawei control message ...
 OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.

$ 
I did lsusb again, but there were no changes, and no connection yet, despite I can see:
/etc/NetworkManager/system-connections/AldiTalk*MedionMobile Volume rate*30 Day Flatrate 1-64c8fa68-d1f0-4bf8-b530-e6deb7f7d2be
I do not know what to do else.

Please help!

Thanks, centocub

User avatar
centocub
Posts: 65
Joined: 2015/08/20 08:09:53

Re: How to use usb-modeswitch? I am lost.Please help.

Post by centocub » 2015/10/13 18:20:14

[SOLVED], but only for the usb_modeswitch thing; it is not a modeswitch but a Centos problem. So, I feel justified to open a different thread.

Post Reply