Index: share/man/man4/u3g.4 =================================================================== --- share/man/man4/u3g.4 +++ share/man/man4/u3g.4 @@ -111,12 +111,18 @@ .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 Index: usr.sbin/ppp/ppp.conf =================================================================== --- usr.sbin/ppp/ppp.conf +++ usr.sbin/ppp/ppp.conf @@ -35,3 +35,10 @@ 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