How to OpenBSD with Huawei E1750 UMTS
Getting my OpenBSD (4.8) box to talk an Huawei E1750 USB UMTS Stick as a backup solution turned out to be not very straight forward, so in case you are in a similar situation…
Have a look at man umsm to see which devices are supported by OpenBSD.
The UMTS (USB)-Sticks are registered as /dev/cuaUX
, where X is the number of your device… You’ll need userland pppd to connect. Place your peer configuration in /etc/ppp/peers/o2
for example:
|
|
You’ll also need Chat scripts to connect and disconnect the connection. Note that you’ll need to at least adjust /etc/ppp/connect.o2
to suit your provider:
|
|
And /etc/ppp/disconnect.o2
looks like:
|
|
Now make sure ppp0 is initialized on startup…
|
|
… and to connect simply run pppd call o2
and pkill pppd
to disconnect. Run ifconfig ppp0
to see if your connection is up and running:
|
|
Next post will be about auto fail-over between this and my regular DSL connection.