1 .\" Copyright (c) 2008-2009 Fredrik Lindberg
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 .Nd connection utility for Option based devices
50 is a small connection utility for Option N.V. devices that are based on Options
51 packet interface and uses proprietary AT_* calls to establish connections.
52 The utility (tries to) configure both default route and name servers
53 .Po Pa /etc/resolv.conf Pc .
57 detaches from the terminal upon on a successful connection, a few command-line
58 options exists that allows this behavior to be changed.
61 attempts to find a usable controlling serial port based on the provided network
63 If this fails you might specify a serial port manually.
67 Specify APN to connect to.
69 Specify CID (Context ID) to use, by default CID 1 is used.
70 If an APN has been configured once, it's enough to specify the CID used for
82 .Pa /etc/resolv.conf .
85 to disable updating of name servers.
87 Explicitly set the serial port to use as controlling terminal.
88 Might be needed if the automatic detection fails.
90 Fork into background directly, before a connection has been established.
92 Never fork into background, run entirely in foreground.
96 .Dq Li apn.example.com
101 to enable the SIM card.
102 .Dl "uhsoctl -a apn.example.com -p 1234 uhso0"
104 Disconnect from a previously established connection.
105 .Dl "uhsoctl -d uhso0"