🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.setup
4 messages
4 total messages Started by Jason Ung Wed, 14 Jan 1998 00:00
ppp,redhat4.2...host unreachable
#240
Author: Jason Ung
Date: Wed, 14 Jan 1998 00:00
24 lines
1491 bytes
Hi All,

I would like to ask those who have used Linux Redhat 4.2 before..
I have manage to get my LAN to work.. now I wanna get my ppp as well.


I have try to get my ppp to work .. now I try to manually dial in using 
minicom then exit without reset the modem.. all work fine... get connected
and able to start the ppp connection... after that I start the 
pppd -d -detach /dev/ttyS1 38400 &   

I try to ping my isp host but it say .. host unreachable

also I try $route -n
and somehow there is one entry that point to ppp interface...there should be 2.
the one I got is the destination .. there is no default ... it appear as 0.0.0.0.

I want to know where is the file that I change the default route  ...
because I believe the default route is pointing to my ethernet card.. or local nloopback..

regards,

Jason Ung
Re: ppp,redhat4.2...host unreachable
#241
Author: Matt Payton
Date: Wed, 14 Jan 1998 00:00
32 lines
1711 bytes
On 14 Jan 1998 17:57:43 GMT, ungtu@latcs1.cs.latrobe.edu.au (Jason
Ung) wrote:

>Hi All,
>
>I would like to ask those who have used Linux Redhat 4.2 before..
>I have manage to get my LAN to work.. now I wanna get my ppp as well.
>
>
>I have try to get my ppp to work .. now I try to manually dial in using 
>minicom then exit without reset the modem.. all work fine... get connected
>and able to start the ppp connection... after that I start the 
>pppd -d -detach /dev/ttyS1 38400 &   
>
>I try to ping my isp host but it say .. host unreachable
>
>also I try $route -n
>and somehow there is one entry that point to ppp interface...there should be 2.
>the one I got is the destination .. there is no default ... it appear as 0.0.0.0.
>
>I want to know where is the file that I change the default route  ...
>because I believe the default route is pointing to my ethernet card.. or local nloopback..
>
>regards,
>
>Jason Ung

Try adding defaultroute to the pppd command.  For example :
pppd -d -detach defaultroute /dev/ttyS1 38400 &  .   

Matt Payton
Re: ppp,redhat4.2...host unreachable
#242
Author: Peter Rye
Date: Wed, 14 Jan 1998 00:00
32 lines
1896 bytes
ungtu@latcs1.cs.latrobe.edu.au (Jason Ung) writes:

> 
> Hi All,
> 
> I would like to ask those who have used Linux Redhat 4.2 before..
> I have manage to get my LAN to work.. now I wanna get my ppp as well.
> 
> 
> I have try to get my ppp to work .. now I try to manually dial in using 
> minicom then exit without reset the modem.. all work fine... get connected
> and able to start the ppp connection... after that I start the 
> pppd -d -detach /dev/ttyS1 38400 &   
> 
> I try to ping my isp host but it say .. host unreachable
> 
> also I try $route -n
> and somehow there is one entry that point to ppp interface...there should be 2.
> the one I got is the destination .. there is no default ... it appear as 0.0.0.0.

You should add the default option to pppd.

Something more like this should work:

pppd /dev/cua1 57600 lock -detach crtscts modem asyncmap 0 defaultroute

-- 
Peter Rye  <prye@picu-sgh.demon.co.uk>
Consultant in Paediatric Intensive Care,  St. George's Hospital, London, UK
Ph: +44 (0)181 725 1932                            Fax: +44 (0)181 725 0089
** Smoking areas in restaurants are like peeing areas in swimming pools. **
Re: ppp,redhat4.2...host unreachable
#243
Author: Tony Cooper
Date: Thu, 15 Jan 1998 00:00
38 lines
2081 bytes


Jason Ung wrote:

> Hi All,
>
> I would like to ask those who have used Linux Redhat 4.2 before..
> I have manage to get my LAN to work.. now I wanna get my ppp as well.
>
> I have try to get my ppp to work .. now I try to manually dial in using
> minicom then exit without reset the modem.. all work fine... get connected
> and able to start the ppp connection... after that I start the
> pppd -d -detach /dev/ttyS1 38400 &
>
> I try to ping my isp host but it say .. host unreachable
>
> also I try $route -n
> and somehow there is one entry that point to ppp interface...there should be 2.
> the one I got is the destination .. there is no default ... it appear as 0.0.0.0.
>
> I want to know where is the file that I change the default route  ...
> because I believe the default route is pointing to my ethernet card.. or local nloopback..
>
> regards,
>
> Jason Ung

A lot of the routing stuff is in the /etc/rc.d/rc.inet1 file under slackware neweydunno about
redhat

  u should also be able to add a default route by typing default add defaultroute, etc
all this stuff is in the ppp-howto
u also need a gateway
and make sure ur dns is pointing to ur isp
or it wont be able to resolve names or numbers
hope this helps
but yuh cant beat the howtos :)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads