Huawei E367 is not recognized [3G Internet]

Hi,

I just got my new 3G modem Huawei E367. Unfortunately openSUSE (11.4) won’t consider it as a Mobile Broadband, thus Network Manager won’t give me the option to set up a new “Mobile Broadband”-profile. I can’t connect to anything due to openSUSE not finding it as a 3G-modem, the question is; how do I get it connectable?

I’ve installed “Mobile Partner” from Huawei. During the installation I get an error “The current system can not support ndis feature”, and when I later run the program it says that the “device has been disconnected” (my guess is that it’s simply not found and/or recognized as what it is).

For you guys who’d like to see, here’s the output from lsusb:

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 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 002 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd.

On my openSUSE-11.3 I connected to the Internet with a 3G modem Huawei K3520. I wrote about it here: Looking for mobile router (or mobile 3G compatible) router … - Blogs - openSUSE Forums in my 15-Oct-2011 20:13 blog post and in my subsequent 28-Oct-2011 21:00 blog post.

Do NOT forget to install huawei_umtsmodem packaged rpm with modem NOT plugged, then reboot with modem NOT plugged in, and then after rebooting plug in modem. I described where to find that application … etc … in my blog article.

On 30.10.2011 21:06, Klaph wrote:
>
> Hi,
>
> I just got my new 3G modem Huawei E367. Unfortunately openSUSE (11.4)
> won’t consider it as a Mobile Broadband, thus Network Manager won’t give
> me the option to set up a new “Mobile Broadband”-profile.

I have Huawei E169 and E160E working fine, so it’s quite possible that
yours will work, too.

You’re not saying what your desktop is.
In case it’s KDE (or in any case) ditch first knetwork manager if you
have it installed…

Install NetworkManager-gnome instead.
Install also usb_modeswitch

Then, type in konsole:

‘sudo tail -f /var/log/messages’

and plug in the USB thing. You should see there what is going on.

Wait for it to settle.
Then try again in Network-Applet (the name of the network manager
thingy) It should appear right where you had the KDE thing.

Configure your connection there.

I can’t
> connect to anything due to openSUSE not finding it as a 3G-modem, the
> question is; how do I get it connectable?
>
> I’ve installed “Mobile Partner” from Huawei.

Get rid of it.

> For you guys who’d like to see, here’s the output from -lsusb-:
>
> Code:
> --------------------
> 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

It’s not recognized as a modem. You need usb_modeswitch

Try the above things first.

Another option might be the following:
Back when there were more problems with these USB modems I used a couple
of other things, one called Vodafone Mobile Connect and another called
Umtsmon.

By then I wrote some notes about them:
http://waxborg.servepics.com/opensuse/opensuse-huawei-sms

But those have become unnecessary in 11.4, at least I’ve managed without
them.

If you can’t, try Umtsmon.

I’ll be back tomorrow morning, hope this helps :slight_smile:

Vahis

http://waxborg.servepics.com
openSUSE 11.4 (x86_64) 2.6.37.6-0.7-default main host
openSUSE 12.1 RC 1 (x86_64) 3.1.0-rc9-1-desktop in VirtualBox
openSUSE 11.4 (i586) 3.0.7-45-desktop “Tumbleweed” in EeePC 900

my take on these devices is that they are initially seen as virtual CD_ROM devices;

their ID needs to be “flipped” so that they can be unmasked as modems;

the programme par excellence to do this is usb_modeswitch;

Draisberghof - Software - USB_ModeSwitch

latest in the opensuse repositories would be seem to be 1.1.6

…the latest is 1.2 from the source; (I see Fedora have a 1.2rpm)

this E367 modem IS recognised by usb_modeswitch and was integrated into its data set in May 2011

USB_ModeSwitch ~ View topic - Huawei E367

one can install the latest 1.2 version from Draisberghof - Software - USB_ModeSwitch by following the instructions there;

utsmon etc are all a bit dated; and I understood were not being supported

…so my take would be: install usb_modeswitch;

On 31.10.2011 08:46, pdc 2 wrote:
>
> my take on these devices is that they are initially seen as virtual
> CD_ROM devices;
>
> their ID needs to be “flipped” so that they can be unmasked as modems;
>
> the programme -par excellence- to do this is usb_modeswitch;
>

It works just fine. Setting up Huawei is trivial nowadays.
Just seems that knetwork manager is still somehow problematic but
luckily the gnome one works fine.
>
> utsmon etc are all a bit dated; and I understood were not being
> supported

I use it sometimes because SMS can be easily sent with it.
>
> …so my take would be: install usb_modeswitch;

Definitely

Vahis

http://waxborg.servepics.com
openSUSE 11.4 (x86_64) 2.6.37.6-0.7-default main host
openSUSE 12.1 RC 1 (x86_64) 3.1.0-rc9-1-desktop in VirtualBox
openSUSE 11.4 (i586) 3.0.7-45-desktop “Tumbleweed” in EeePC 900

The output I got from the command was:


Oct 31 13:19:06 Think usb_modeswitch: switched to 12d1:1506 (Huawei Technologies: HUAWEI Mobile)
Oct 31 13:19:07 Think kernel:  1096.783604] scsi 14:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Oct 31 13:19:07 Think kernel:  1096.784430] scsi 15:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
Oct 31 13:19:07 Think kernel:  1096.784685] sd 15:0:0:0: Attached scsi generic sg1 type 0
Oct 31 13:19:07 Think kernel:  1096.788031] sd 15:0:0:0: [sdb] Attached SCSI removable disk
Oct 31 13:19:07 Think kernel:  1096.789628] sr0: scsi-1 drive
Oct 31 13:19:07 Think kernel:  1096.789789] sr 14:0:0:0: Attached scsi CD-ROM sr0
Oct 31 13:19:07 Think kernel:  1096.789894] sr 14:0:0:0: Attached scsi generic sg2 type 5
Oct 31 13:19:43 Think kernel:  1132.609285] usb 1-1: USB disconnect, address 8         
Oct 31 13:19:46 Think su: (to root) Klaph on /dev/pts/1                                 
Oct 31 13:19:53 Think kernel:  1142.968157] usb 1-1: new high speed USB device using ehci_hcd and address 9                                                                    
Oct 31 13:19:53 Think kernel:  1143.085821] usb 1-1: New USB device found, idVendor=12d1, idProduct=1446                                                                       
Oct 31 13:19:53 Think kernel:  1143.085827] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0                                                                  
Oct 31 13:19:53 Think kernel:  1143.085831] usb 1-1: Product: HUAWEI Mobile            
Oct 31 13:19:53 Think kernel:  1143.085835] usb 1-1: Manufacturer: Huawei Technologies
Oct 31 13:19:53 Think mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1"
Oct 31 13:19:53 Think kernel:  1143.132641] scsi16 : usb-storage 1-1:1.0
Oct 31 13:19:53 Think kernel:  1143.132934] scsi17 : usb-storage 1-1:1.1
Oct 31 13:19:53 Think mtp-probe: bus: 1, device: 9 was not an MTP device
Oct 31 13:19:53 Think udevd-work[6247]: kernel-provided name 'bus/usb/001/009' and NAME= 'vboxusb/1/9' disagree, please use SYMLINK+= or change the kernel to provide the proper name
Oct 31 13:19:54 Think usb_modeswitch: switching 12d1:1446 (Huawei Technologies: HUAWEI Mobile)
Oct 31 13:19:54 Think kernel:  1143.858976] usb 1-1: USB disconnect, address 9
Oct 31 13:19:58 Think kernel:  1147.733137] usb 1-1: new high speed USB device using ehci_hcd and address 10
Oct 31 13:19:58 Think kernel:  1147.852088] usb 1-1: New USB device found, idVendor=12d1, idProduct=1506
Oct 31 13:19:58 Think kernel:  1147.852095] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0
Oct 31 13:19:58 Think kernel:  1147.852099] usb 1-1: Product: HUAWEI Mobile
Oct 31 13:19:58 Think kernel:  1147.852103] usb 1-1: Manufacturer: Huawei Technologies
Oct 31 13:19:58 Think kernel:  1147.900606] scsi18 : usb-storage 1-1:1.5
Oct 31 13:19:58 Think kernel:  1147.900906] scsi19 : usb-storage 1-1:1.6
Oct 31 13:19:58 Think udevd-work[6247]: kernel-provided name 'bus/usb/001/010' and NAME= 'vboxusb/1/10' disagree, please use SYMLINK+= or change the kernel to provide the proper name
Oct 31 13:19:58 Think usb_modeswitch: switched to 12d1:1506 (Huawei Technologies: HUAWEI Mobile)
Oct 31 13:19:59 Think kernel:  1148.901877] scsi 18:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Oct 31 13:19:59 Think kernel:  1148.902726] scsi 19:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
Oct 31 13:19:59 Think kernel:  1148.902962] sd 19:0:0:0: Attached scsi generic sg1 type 0
Oct 31 13:19:59 Think kernel:  1148.905595] sd 19:0:0:0: [sdb] Attached SCSI removable disk
Oct 31 13:19:59 Think kernel:  1148.908326] sr0: scsi-1 drive
Oct 31 13:19:59 Think kernel:  1148.908478] sr 18:0:0:0: Attached scsi CD-ROM sr0
Oct 31 13:19:59 Think kernel:  1148.908582] sr 18:0:0:0: Attached scsi generic sg2 type 5

I uninstalled usb_modeswitch and usb_modeswitch-data through YaST and installed it manually by the packages retrieved from the website, then uninstalled KNetworkManager and installed the gnome version instead. Now I can create a new profile in “Mobile Broadband”, I still though can’t seem to connect to internet. It is not visible as a connectable connection.

I have now successfully connected to the 3G Modem. After I reinstalled usb_modeswitch, usb_modeswitch-data and installed Gnome-NetworkManager I had to write this into the terminal to get it working:

su -c 'modprobe usbserial vendor=0x12d1 product=0x1506'

The only problem now is that I can’t access websites/retrieve email, even though Skype works like a charm. Anyone got a solution to this one?

I have now successfully connected to the 3G Modem. After I reinstalled usb_modeswitch, usb_modeswitch-data and installed Gnome-NetworkManager I had to write this into the terminal to get it working:

su -c 'modprobe usbserial vendor=0x12d1 product=0x1506'

The only problem now is that I can’t access websites/retrieve email, even though Skype works like a charm. Anyone got a solution to this one?

It’s likely, that the name servers are missing. With the 3G device active, what is the output of

cat /etc/resolv.conf|grep name

If nothing is returned, that is your issue. You can add a DNS manually (via the network manager) if you need to. a public DNS server IP address (eg openDNS 208.67.222.222) can be used if you don’t know your provider’s name server address(es).

As a temporary measure, you can open a terminal, become root with ‘su -’ command, then

echo "nameserver 208.67.222.222" > /etc/resolv.conf

Now, it should be possible to browse…

I uninstalled usb_modeswitch and usb_modeswitch-data through YaST and installed it manually by the packages retrieved from the website, then uninstalled KNetworkManager and installed the gnome version instead. Now I can create a new profile in “Mobile Broadband”,

well done Klaph; great work

hopefully now with deano’s advice and knowledge you can get it all going;

the older Huawei modems that vadis mentioned (E169 and E160) are fine; it is the newer modems; like yours; that need usb_modeswitch; (the latest version); sadly the opensuse rpm lags behind

Indeed, and I also mentioned an older Huawei 3G modem. My wife’s 3G Huawei K3520 where I noted above that I only needed to install the package huawei_umtsmodem was in fact an E620 (E169G) is evidenced by the lsusb:


Bus 006 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

ie - ours is an old device.

Hence pdc_2, I completely support/agree with your assessment … it would be helpful if someone could package an rpm with dependencies setup to simplify/ease the install/setup of 3G modems such as the Huawei E367.

Thank you, it works great! :slight_smile: