Huawei E169 on OpenBSD

http://www.crowsons.com/puters -> E169.php

HUAWEI E169 Modem

I decided to get a Huawei E169 with a 3 contract to allow me to have mobile broadband.

The scripts that I use with

/usr/sbin/pppd
are shown in [1] and are available as text files txt/three and txt/three.chat.

Here are some notes to getting it working with OpenBSD.

Nameservers: 4.2.2.4 and 4.2.2.3

To send text messages directly using AT commands:

Connect with cu:

cu -l /dev/cuaU0 -s 115200

Need to get text mode

AT+CMGF=1
then to send SMS

AT+CMGS="+44xxxMobilexxx"
> Type your message!!
Ctrl-Z

The > will come up automatically.

Some Useful AT Commands

CommandDescription
AT&VStatus
ATIStatus (Manufacturer, Model, Revision, IMEI, capabilities)
AT+COPS=?List available network
AT+CSCA?List SMS gateway number
AT+CLACList AT commands that are supported

On Connection


Apr 10 10:08:37 port /bsd: umsm0 at uhub7
Apr 10 10:08:37 port /bsd:  port 4 configuration 1 interface 0 "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? HUAWEI Mobile" rev 1.10/0.00 addr 9
Apr 10 10:08:37 port /bsd: umsm0: umass only mode. need to reattach
Apr 10 10:08:37 port /bsd: umsm0 detached
Apr 10 10:08:37 port /bsd: umsm0 at uhub7
Apr 10 10:08:37 port /bsd:  port 4 configuration 1 interface 0 "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? HUAWEI Mobile" rev 1.10/0.00 addr 9
Apr 10 10:08:37 port /bsd: ucom0 at umsm0
Apr 10 10:08:37 port /bsd: umsm1 at uhub7 port 4 configuration 1 interface 1 "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? HUAWEI Mobile" rev 1.10/0.00 addr 9
Apr 10 10:08:37 port /bsd: ucom1 at umsm1
Apr 10 10:08:37 port /bsd: umsm2 at uhub7 port 4 configuration 1 interface 2 "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? HUAWEI Mobile" rev 1.10/0.00 addr 9
Apr 10 10:08:37 port /bsd: ucom2 at umsm2
Apr 10 10:08:37 port /bsd: umsm3 at uhub7 port 4 configuration 1 interface 3 "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? HUAWEI Mobile" rev 1.10/0.00 addr 9

The first device is for UMTS, the second for GSM, and the third for SMS.

[1]thread on marc

[3]http://lars-bamberger.gmxhome.de/linux/E169.html

[4]SMS on a Huawei