[FSO] GPRS

Timo Juhani Lindfors timo.lindfors at iki.fi
Sun Oct 12 10:28:25 CEST 2008


Joel Newkirk <freerunner at newkirk.us> writes:
> Second, where is it performing /etc/resolv.conf replacement, and how do I
> stop it? because the current behavior is very undesirable for me. I've

grep -r resolv.conf .
shows that
./framework/subsystems/ogsmd/modems/abstract/pdp.py
does
 PPP_DAEMON_SETUP["/etc/ppp/ip-up.d/08setupdns"] = """#!/bin/sh -e
cp /var/run/ppp/resolv.conf /etc/resolv.conf
"""
> Third, where is it doing the replacement of the default route? I'm also

grep -r route .
shows that
./framework/subsystems/ogsmd/modems/ti_calypso/modem.py
uses
if category == "ppp":
 return [
 '115200',
 'nodetach',
 'crtscts',
 'defaultroute',
 'debug',
 #'hide-password',
 'holdoff', '3',
 'ipcp-accept-local',
 'ktune',
 'lcp-echo-failure', '8',
 'lcp-echo-interval', '10',
 'ipcp-max-configure', '32',
 'lock',
 'noauth',
 #'demand',
 'noipdefault',
 'novj',
 'novjccomp',
 #'persist',
 'proxyarp',
 'replacedefaultroute',
 'usepeerdns' ]


More information about the community mailing list

AltStyle によって変換されたページ (->オリジナル) /