On Mon, 27 Apr 1998, Juan J Casero wrote:

> I recently installed egcs on my linux box and recompiled some software
> among them ppp.  I am having problems connecting to the internet.  I am
> able to dial my ISP and the system makes a connection but I can't ping
> anyone (not even my nameservers) and I can't telnet anywhere.  Here is a
> sample output from my /var/log/messages file:
> 
....
> Apr 27 21:02:33 elm pppd[1044]: pppd 2.3.3 started by root, uid 0
> Apr 27 21:02:59 elm modprobe: can't locate module net-pf-4
> Apr 27 21:02:59 elm modprobe: can't locate module net-pf-5
> Apr 27 21:02:59 elm pppd[1044]: Serial connection established.
> Apr 27 21:03:00 elm pppd[1044]: Using interface ppp0
> Apr 27 21:03:00 elm pppd[1044]: Connect: ppp0 <--> /dev/modem
....
> Apr 27 21:03:04 elm pppd[1044]: not replacing existing default route to
> eth0 [0.0.0.0]
....
> 
> I just thought of something. I think my box is routing everything to eth0
> which at the moment is not connected to anything. Hmm.  I have to go back
> and fiddle with the network configuration system.  Meanwhile could some of
> you folks help me out with this?  Another thing I want to know is how to
> stop the kernel from looking for those modules net-pf-4[5].

To turn off those net-pf messages, you need to add alias entries to
/etc/conf.modules.  Sample entries below: 

....
alias net-pf-3 off      # no ax25 module
alias net-pf-4 off      # if you don't use the ipx module
alias net-pf-5 off      # if you don't use the appletalk module

alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-1 off        # This is Predictor-1, not yet supported
 
You're on the right track for the connection problem.  If you want ppp to
be your connection to the Internet, you might want to replace the system's
default route in the /etc/ppp/ip-up script.  Or just remove the default
route to eth0 altogether if it's not used, and leave 'defaultroute' in
your pppd options.


DISCLAIMER:  The comments above are my own and may not represent the views
             of my employer.
+-------------------------------+-------------------------------------------+
:     Geoffrey P. Goodrum       :         US Department of Commerce         :
:       +1-301-457-5100         : NOAA/NESDIS National Climatic Data Center :
: [EMAIL PROTECTED]:         Satellite Services Branch         :
+-------------------------------+-------------------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to