On Tue, Feb 17, 2009 at 8:44 PM, Andy Herkey <a.her...@comcast.net> wrote:
> It is pppd that manages the connection and not the barry code. If there > is a default route already pppd will not replace it. Some distro's > modify pppd and have an added option "replacedefaultroute" to update the > default route. I don't believe fedora is one of them though. :-( > I believe on FC10 netmanger may also get in the way. Fedora doesnt modify pppd, it tweaks the ifup-ppp script to save and remove any existing default route if the defaultroute option is specified in the interfaces config file. On fedora if you dont use their ifup scripts you'll get exactly this situation - in my case, on tmobile with fedora, I copied /etc/ppp/peers/barry-tmobileus to /etc/ppp/peers/tmobile created /etc/sysconfig/network-scripts/ifcfg-tmobile with the following entries.... TYPE=Modem DEMAND=no ONBOOT=no HARDFLOWCTL=no ESCAPECHARS=yes DEFROUTE=yes PEERDNS=yes MTU=1492 DEBUG=yes That (1) tells the fedora network scripts how we expect it to behave so it does replace the default route and (2) makes sure the parameters that the fedora ifup script puts on the pppd command line agree with how its set in the peers file. Adjust the above so it matches the verizon settings in that peers file and you should be ok. then rather than saying pppd call ......... you just say ifup peername If you go directly to pppd then the fedora setup will neither replace a default route nor populate /etc/resolv.conf ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel