[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: yet another ppp problem



> OK.  Now that I know that this is the Debian way, I am happy to do it this way. 
> I tried this, and it was a beautiful thing to hear the modem connecting...but
> it didn't work.  I'm going to include my /etc/ppp.options_out,
> /etc/ppp.chatscript, and the final "plog".
> 
> /etc/ppp.options_out
> -------------------------------------
> defaultroute /dev/ttyS1 57600 persist
> user Larry.Gariepy
> -------------------------------------

Hi.

I would recommend putting all options of the above file in one line.
(If you examine pon script you will see why. It is not strictly necessary
though.)

> 
> /etc/ppp.chatscript
> -------------------------------------
> ABORT        BUSY
> ABORT        "NO CARRIER"
> ABORT        VOICE
> ABORT	     "NO DIALTONE"
> ""           ATDT16036430102
> name         Larry.Gariepy
> word         \qboffo17\q
> ready        ppp
> -------------------------------------
> 
> "plog" output:
> -------------------------------------
> Nov 26 03:03:54 gariepy pppd[440]: Serial connection established.
> Nov 26 03:03:55 gariepy pppd[440]: Using interface ppp0
> Nov 26 03:03:55 gariepy pppd[440]: Connect: ppp0 <--> /dev/modem
> Nov 26 03:04:01 gariepy pppd[440]: local  IP address 129.170.40.79
> Nov 26 03:04:01 gariepy pppd[440]: remote IP address 129.170.40.12
> Nov 26 03:04:01 gariepy pppd[440]: ppp not replacing existing default route to
> eth0[129.170.28.254]
> Nov 26 03:04:01 gariepy pppd[440]: Cannot determine ethernet address for proxy
> ARP
> 
> -------------------------------------
> So when I start ppp with pon, it gets this far, and doesn't do anything. 
> "ifconfig" seems to think that my connection is working.  What is curious is
> that the last two lines of the "plog" output never make it to
> /var/log/messages.

Great! You *did* get ppp connection! Your problem is that you have to set up
your routing table properly in /etc/ppp/ip-up (on connection) and
/etc/ppp/ip-down (on disconnect) using "route". And remove defaultroute option 
from /etc/ppp.options_out - you already have defaultroute to your eth0
interface.

Alex Y.

-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: