Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 1999 12:27:17 +0100
From:      Mark Ovens <marko@uk.radan.com>
To:        Ray Lau <gwrx@sinanet.com>
Cc:        FreeBSD-questions@freebsd.org
Subject:   PPP crashes FreeBSD [Was: About Modem.......help]
Message-ID:  <19990328122717.G264@marder-1.localhost>
In-Reply-To: <199903270209.SAA21609@mail.sinanet.com>; from Ray Lau on Fri, Mar 26, 1999 at 06:09:49PM -0800
References:  <199903270209.SAA21609@mail.sinanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 26, 1999 at 06:09:49PM -0800, Ray Lau wrote:
> 
> 
> >> >> hi
> >> >> i use smartlink modem5634ts,FreeBSD3.1
> >> >> when i ppp myisp
> >> >> freebsd will shutdown
> >
> >Exactly what do you mean by "shutdown"? Hangs? crashes? reboots?
> crashes

Ouch! That sounds serious. I can only think that it's a corrupted
ppp binary. What version of FreeBSD are you running? It might be
worth getting the latest ppp code from http://www.awfulhak.org.

BTW, I've changed the Subject: line to better reflect the problem
in the hope that someone else will jump in and help out.

> >
> >
> >> >> this is my ppp.conf
> >> >> default:
> >> >> >  set device /dev/cuaa1
> >> >> >  set speed 115200
> >> >> >  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
> >> >> > \\dATDT\\T TIMEOUT 40 CONNECT"
> >> >> >
> >> >> > hinet:
> >> >> >  set openmode active
> >> >> >  set phone 4125678
> >> >> >  deny chap
> >> >>   disable chap
> >> >> >  accept pap
> >> >> >  set authname xxxx
> >> >> >  set authkey  xxxxxx
> >> >> >  ifaddr 0 0
> >> >
> >> >This line should be:
> >> >
> >> > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
> >> >
> >> >
> >> >> >  dial
> >> >and remove this.
> >> >
> >> >> ========== /etc/ppp/ppp.linkup ======
> >> >> > hinet:
> >> >> >     delete ALL
> >> >> >     add 0 0 HISADDR
> >> >> > ==============================
> >> >> please help me
> >> >> thanx
> >
> >You need to enable logging, ``set log .....'' in ppp.conf, and send
> >the output (/var/log/ppp.log).
> how to send to ppp.log
> make new dir?
>  
> 

Make sure you have

 set log ccp chat command connect debug hdlc ipcp lcp phase tcp/ip tun

in your /etc/ppp/ppp.conf and just include the contents of
/etc/log/ppp.log (only for the last connection attempt) in your
e-mail.

> 
>                 
> ____________________________________________________________
>  Free Email for Global Chinese @ http://www.sinanet.com/ 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com                  http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990328122717.G264>