> Réseau (216)
> Réseau > Ethernet (45)
> Réseau > PowerLAN / dLAN (1)
> Réseau > Clé 3G / 4G (17)
> Réseau > sans fil (151)
Examen de compatibilité avec Linux
The Huawei E1820 is a USB surfstick which supports connections via HSDPA, UMTS, HSUPA+, GSM, GPRS and EDGE. The stick has the USB ID 12d1:1446
Bus 002 Device 029: ID 12d1:1446 Huawei Technologies Co., Ltd.
The surfstick is fully supported by Ubuntu 12.04. After plugging the stick into the USB port the internet connection can be configured in the Ubuntu network menu by the item « New Mobile Broadband Connection ».
If the system is not configured correctly the surfstick is recognized by the Linux kernel as a CD-Rom drive:
usb 2-1.4: new high-speed USB device number 30 using ehci_hcd scsi49 : usb-storage 2-1.4:1.0 scsi50 : usb-storage 2-1.4:1.1 scsi 49:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 scsi 50:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2 sr0: scsi-1 drive sr 49:0:0:0: Attached scsi CD-ROM sr0 sr 49:0:0:0: Attached scsi generic sg1 type 5 sd 50:0:0:0: Attached scsi generic sg2 type 0 sd 50:0:0:0: [sdb] Attached SCSI removable disk
In this case the mode of the surfstick has to be switched by the command usb_modeswitch from the mode of a storage device back to a surfstick. The corresponding software can be installed in Debian-based Linux distributions by the command
apt-get install usb-modeswitch usb-modeswitch-data
Furthermore, the kernel modul usbserial is necessary, which can be loaded by the command:
To switch the surfstick to the correct modus the following command has to be executed:
usb_modeswitch -v 12d1 -p 1446 -W -M 55534243123456780000000000000011060000000000000000000000000000
This command will also change the USB ID of the stick and will switch it into the surfstick mode.
In Ubuntu 12.04 the necessary modules as well as the configuration of the usb-modeswitch are already included in the distribution. Nonetheless, it can be necessary to execute these commands by hand in some scenarios.