Add u3g ppp.conf entry. It provides some starting point to making
use of u3g(4) dongles, and in many cases can work out of the box. Reviewed by: hselasky Approved by: re (gjb) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16974
This commit is contained in:
parent
112adef8ca
commit
94df44ee6c
@ -18,7 +18,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd April 26, 2017
|
||||
.Dd September 11, 2018
|
||||
.Dt U3G 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -111,12 +111,18 @@ for callout ports
|
||||
.It Pa /dev/cuaU*.*.lock
|
||||
corresponding callout initial-state and lock-state devices
|
||||
.El
|
||||
.Sh EXAMPLES
|
||||
Connect to the Internet using the default configuration:
|
||||
.Bd -literal -offset indent
|
||||
ppp -background u3g
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr tty 4 ,
|
||||
.Xr ucom 4 ,
|
||||
.Xr usb 4 ,
|
||||
.Xr usb_quirk 4 ,
|
||||
.Xr devd 8 ,
|
||||
.Xr ppp 8 ,
|
||||
.Xr usbconfig 8
|
||||
.Sh HISTORY
|
||||
The
|
||||
|
@ -35,3 +35,10 @@ papchap:
|
||||
|
||||
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
|
||||
add default HISADDR # Add a (sticky) default route
|
||||
|
||||
u3g:
|
||||
set device /dev/cuaU0.0
|
||||
set phone *99\#
|
||||
set timeout 0
|
||||
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
|
||||
add default HISADDR # Add a (sticky) default route
|
||||
|
Loading…
Reference in New Issue
Block a user