Oh, you try to ping. Some ISPs do not allow pings to their network or
through their network.
You should try to bring up a browser:
Either Netscape through X
or lynx from the command line
lynx 203.32.168.244
should bring up Blue Net (My provider's web page)
try after that to check, if name resolution works
lynx www.blue.net.au
which should bring up the same page.
other than that I cannot see much wrong with your route other than, that
you seem to be setting a default route your your own network:
0.0.0.0 10.2.1.254 0.0.0.0 UG 0 4 eth0
All IP gateway Netmask adapter
So you should get rid of this in your network setup, before dialing up,
because otherwise pppd will report:
not replacing existing default route to eth0 [10.2.1.254]
Also you seem to force an IP address on to the ppp connection, which causes
the remote computer not to allocate IPs correctly. Check your dialer
configuration. It should contain local and remote IP addresses like
0.0.0.0. This means pppd will accept the IP's given by your ISP.
Why?
Think of the IPs on your computer not as numbers for the computer, but for
network interfaces.
EVERY INTERFACE HAS A DIFFERNENT IP ADDRESS.
EVERY COMPUTER CAN HAVE MULTIPLE IP ADDRESSES (THEREFORE CAN ALSO HAVE
MULTIPLE INTERFACES)
Summary:
1. Get rid of the default route on your network eth0 adapter
2. Change IP address in your dialer software to 0.0.0.0 for remote & local
address.
3. Try your dialup again.
I have found a great tool, that makes this process quite easy. If you are
running Redhat 5.1 or later you will have linuxconf. You start it with
"linuxconf" from the command line. After that it is menu driven.
The sections you are interested in are
Config / Networking / Routing & gateways / Defaults
(there should be no IP address in here in your situation)
Config / Networking / "PPP/SLIP/PLIP" /
(In here you can create your dial up connection by choosing "Add".
Possible options are PAP, default route or any other option you can
normally pass to pppd. )
Control / Contol Panel / "Control PPP/SLIP/PLIP links"
(This will allow you to activate and deactive your ppp link. It have an
option, that can keep your connection up)
Hope this helps
Regards
Bernhard
Tarsi wrote:
> Hello, oh guru-like ones:
>
> Thank you for the suggestions regarding my PPP problems. I tried
> some, but didn't get them to work. Here is what I found in my
> /var/log/messages and such, perhaps you can give suggestions.
>
> This is before I did anything from your suggestions (normal):
>
> (/var/log/messages):
> Jun 10 08:21:19 aries pppd[1850]: Serial connection established.
> Jun 10 08:21:20 aries pppd[1850]: Using interface ppp0
> Jun 10 08:21:20 aries pppd[1850]: Connect: ppp0 <--> /dev/cua1
> Jun 10 08:21:21 aries pppd[1850]: not replacing existing default
> route to eth0 [10.2.1.254]
> Jun 10 08:21:21 aries pppd[1850]: local IP address 10.2.1.5
> Jun 10 08:21:21 aries pppd[1850]: remote IP address
> 209.130.163.65
>
> (route -n):
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
> 15 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
> 3 lo
> 0.0.0.0 10.2.1.254 0.0.0.0 UG 0 0
> 4 eth0
>
> Then I did these steps: (while the ppp0 link was up)
> - route del default
> - route add 209.130.163.65 ppp0
> - route add default gw 209.130.163.65 ppp0
>
> (route -n):
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
> 16 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
> 3 lo
> 0.0.0.0 209.130.163.65 0.0.0.0 UG 0 0
> 3 ppp0
>
> That didn't work, so I tried doing these steps:
> - route del default
> - route add default ppp0
>
> (route -n):
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use
> Iface
> 209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
> 17 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
> 3 lo
> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0
> 1 ppp0
>
> I still cannot ping anyone but that remote IP address of my ISP.
> Can anyone help?
>
> SYSTEM: RedHat 5.2 Apollo, PPP 2.3.5
>
> Thank you!!!
>
> Nathan
>
> -----------------------------------------------------
> Nathan E. Pralle
> Research and Development
> Creative Solutions Unlimited, Inc.
> 203 Gilman St.
> PO Box 550
> Sheffield, IA 50475-0550
> U.S.A.
> PH: 515.892.4466
> FAX: 515.892.4333
> Email: [EMAIL PROTECTED]
> -----------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]