12.09.2018 0:05, Edward Tomasz Napierala wrote: > Modified: head/usr.sbin/ppp/ppp.conf > ============================================================================== > --- head/usr.sbin/ppp/ppp.conf Tue Sep 11 16:46:28 2018 > (r338589) > +++ head/usr.sbin/ppp/ppp.conf Tue Sep 11 17:05:26 2018 > (r338590) > @@ -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
Some u3g devices require "set cd off" command or else ppp(8) drops connection complaining about missing Carrier Detect signal. I see no reason to not use this always for u3g. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
