Huawei E1550 on Linux

Packages:

  • usb-modeswitch → Switch into Modem mode
  • gammu → Send SMS
  • wvdial → Connect to the Internet

Sources:

Debian Sid should auto switch the device into modem + CD-ROM mode.

Udev Naming

Based on the Arch Linux wiki, this is my (simplified) version:

/etc/udev/rules/z90-e1550.rules:

SUBSYSTEMS=="usb", DRIVERS=="option", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="00", ATTRS{bInterfaceProtocol}=="ff", SYMLINK+="e1550_modem"
SUBSYSTEMS=="usb", DRIVERS=="option", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="01", ATTRS{bInterfaceProtocol}=="ff", SYMLINK+="e1550_diag"
SUBSYSTEMS=="usb", DRIVERS=="option", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="02", ATTRS{bInterfaceProtocol}=="ff", SYMLINK+="e1550_pcui"

Re-create device nodes with # udevadm trigger and the symlinks should be created.

Sending SMS

$ gammu sendsms TEXT +3461234567 -text 'Hello World!'

Internet Access

/etc/wvdial.conf, example for Simyo (Spain):

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/e1550_modem
ISDN = 0
Dial Command = ATDT

[Dialer Simyo]
Modem = /dev/e1550_modem
Init9 = AT+CGDCONT=1,"IP","gprs-service.com"
Phone = *99***1#
Stupid Mode = 1
Ask Password = 0
Idle Seconds = 3000
Auto DNS = 1
Password = 1234
Username = 1234

Replace gprs-service.com with your APN. Set Username and Password if required.

Connect with $ sudo wvdial Simyo

linux/huawei_e1550.txt · Last modified: 2010/07/01 12:03 by Toni Corvera
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki