[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: newbie: more startup problems



On Thu, 2003-12-11 at 18:34, Paul Schwartz wrote:
> I have been trying to enable web access to update apt, etc.
> 
> I have tried two ways: wvdial and pon
> 
> Both seem to connect to my ISP and establish ppp, but
> none of the programs I run are able to communicate with the outside.
> 
> I have tried to ping by name [my ISP's domain] and by numerical address 
> [the DNServers]
> No responses.  The only response is for localhost. 

Have you got a default route set up (so that the system knows what to do
with packets meant for the net)?  Do this:

$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
217.41.134.74   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         217.41.134.74   0.0.0.0         UG        0 0          0 ppp0

You ought to see a line beginning 0.0.0.0, which is the default route.

If you don't, you can set a default route up by hand like this:

#  route add default gw 217.41.134.74

substituting the appropriate address for 217.41.134.74.  This is the
address of your ppp0 interface.

If that is your problem, someone else should be able to tell you how to
automate setting it up.  Since my ISP assigns static IP addresses and
yours probably assigns dynamic ones, I can't help there.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "The spirit of the Lord GOD is upon me; because the 
      LORD hath anointed me to preach good tidings unto the 
      meek; he hath sent me to bind up the brokenhearted, to
      proclaim liberty to the captives, and the opening of 
      the prison to them that are bound."                 
                                        Isaiah 61:1 



Reply to: