Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

default route

0 views
Skip to first unread message

Dave

unread,
Feb 18, 2001, 6:02:53 PM2/18/01
to
Three hours, a couple of dozen man pages, and several HOWTO's later I think
I have figured out what is wrong. I am following the insructions from the
PPP-HOWTO. (This may get a little long,sorry) I am logged in as root. Redhat
5.2. Minicom. Kernel 2.0.36.

Open minicom and establish a connection, login, then quit without resetting
the modem...ok.
At prompt type: pppd -d -detach /dev/cua0 38400 &...ppp connection is
established...ok.
At prompt type: ifconfig...this shows the PPP interface...I wont write all
that it says here, but it looks just like the example with a different ip
address...it also says UP and RUNNING...ok.
At prompt type: route -n...it says I should see at least 3 interfaces here
that look like this:

Destination Gateway Genmask Flags MSS
Window Use Iface
10.144.153.3 * 255.255.255.255 UH 1500
0 1 ppp0
127.0.0.0 * 255.0.0.0 U
3584 0 11 lo
10.0.0.0 * 255.0.0.0 U
1500 0 35 eth0
default 10.144.153.3 * UG
1500 0 5 ppp0

Mine looks like the above (with a different ip address), but I dont have the
default entry or the eth0 entry. Just the first two lines. According to the
HOWTO if you dont have both ppp0 interfaces, then this is a problem.
"In particular if your syslog shows a message telling you your pppd is not
replacing an existing default route, then you have a default route pointing
at your Ethernet interface - which MUST be replaced by a specific network
route: YOU CAN ONLY HAVE ONE DEFAULT ROUTE!!!

You will need to explore your system initialization files to find out where
this default route is being set up (it will use a route add
default...command). Change this command to something like route add net...."
That is an exact quote.

The instructions continue, the way they are set up is: Step 1. Work? Step 2.
Work? Step 3. etc.
So when I reached a point where one step failed I didnt expect the remaining
steps to work, and they didnt. If I understand it correctly I need to fix
this problem before I can continue to the next step. So my question is how
do I set up that default route? I looked for a syslog but cant find that. I
did find /var/log/dmesg and /var/log/messages, but no reference is made to a
default route. In afterstep there is Network Configuration, when that is
opened I find that the routing tab is not filled out. But I dont know if
that is what I am looking for or not.

I think that the Default Route is the root of my problem.

Thanks,
Dave

ps. Lots of people have told me to use ttyS* instead of cua* as cua* is
obsolete. I have tried and it doesnt work on my system. Perhaps it is
obsolete, but keep in mind I am using an older distribution.


Dave

unread,
Feb 18, 2001, 6:18:20 PM2/18/01
to
I see from looking at the post that it did not keep my formatting on that
chart. I hope someone can still figure it out. It is the output from the
route -n command after pppd has been started.
Dave


Ben Thompson

unread,
Feb 18, 2001, 8:34:15 PM2/18/01
to
Dave,
I know this might be too simple of a fix but it worked for me just add
the line defaultroute under lock in the /etc/ppp/options file and save. See
if this works. I was having the same prob with kppp and I think this has
fixed the problem.

Ben Thompson


Dave <dal...@earthlink.net> wrote in message
news:xwYj6.401$HY1....@newsread2.prod.itd.earthlink.net...

Dave

unread,
Feb 18, 2001, 11:28:08 PM2/18/01
to
Thank you so much. That seemed to solve most of the problem. I can now use
netscape to get to most sites. Although I still have a problem getting to
some, the same ones that I am not able to ping.
In my resolv.cong file I had:
domain www.earthlink.net
nameserver 207.217.120.83
nameserver 207.217.77.82
After making the change you suggested, I was able to ping the default
gateway, but nothing else. I removed 'www' from domain, and was able to ping
more sites. I removed the whole 'domain' line, and was able to ping even
more. I have tried to ping yahoo, netscape, excite, earthlink, myakoo. I was
able to do so with yahoo and earthlink. In netscape I was able to pull up
yahoo, earthlink, myakoo, but not the others. Got any ideas about how to fix
that? It is also very slow, about 250 bytes/second.

In minicom the configuration is set to 38400 8N1. I tried to change it to
57600, but was unable to dial out when I did this. Also when I start pppd,
it is with pppd -d -detach /dev/cua0 38400. If I change that call to
pppd...57600 without changing minicom, will it do any good? How do I change
minicom to 57600?

Thanks again,
Dave

0 new messages