Joel Riedesel wrote:
> To follow up on my own question.
> It seems that the route setup by barry when I am connected 
> (barry-verizon) is wrong.  If I change it then I can ping one of the 
> dns servers.
> Furthermore, name resolution isn't working.  If I try to use nslookup 
> I have to do the 'server xxxx' command and then query for a name like 
> www.yahoo.com <http://www.yahoo.com>.  I can then ping that ip address 
> directly.
>
> So it seems that my ppp connection is being setup fine but that the 
> routing table and name resolution are not.
> How are these supposed to be done?  I would presume it's somewhere in 
> the code...
Joel,
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.

pppd option "usepeerdns" should also update the /etc/resolv.conf file 
with the DNS servers that it received from your provider. See "man pppd" 
for details and all the other options.

When connecting you should see the local IP, Remote IP and the DNS IP's 
so you can manually add these entries.

Running /sbin/route will show your current route table.

Here's an example (assuming 192.168.0.1 is your default gateway):

    backup /etc/resolv.conf
    route del default gw 192.168.0.1
    pppd call barry-verizon
    Add the DNS IP's to /etc/resolv.conf
    nameserver xxx.xxx.xxx.xxx
    nameserver xxx.xxx.xxx.xxx
    [surf the net, then Ctrl-C to stop pppd]
    route add default gw 192.168.0.1
    restore /etc/resolv.conf

- Andy


------------------------------------------------------------------------------
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

Reply via email to