User PPP connection problems

RexFelis catlord17 at yahoo.com
Mon Sep 8 21:44:14 PDT 2003


Hello,

I am no expert, but I use PPP exclusively to set
up a connection to the net.

One thing I see different in your configuration
than in mine is this:

>set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> 0.0.0.0

If you are using PPP and you are doing dynamic IP
addressing, I succeed with this, instead:

set ifaddr 0 0 255.255.255.0 0.0.0.0

This, of course, would be found in
/etc/ppp/ppp.conf.  I suggest getting your hands
on a copy of The Complete FreeBSD.  That book has
saved my life many times.

Hope this helps a bit.



--- Tadimeti Keshav <keshav_tadimeti at yahoo.co.uk>
wrote:
> Hi all,
> I a newbie here. 
> I compiled the kernel with COM3 and COM4
> enabled.
> 
> I tried connecting to the internet but failed.
> I am pasting the relavant portion of
> /var/ppp/ppp.log.
> Please help!!
> Thanks in advance
> Keshav
>  
> Sep  8 22:25:12  ppp[220]: Phase: Using
> interface:
> tun0
>  
> Sep  8 22:25:12  ppp[220]: Phase: deflink:
> Created in
> closed state
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> default:
> ident user-ppp VERSION (built COMPILATIONDATE)
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> default: set
> device /dev/cuaa1
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> default: set
> speed 57600 
> 
>  Sep  8 22:25:12  ppp[220]: tun0: Command:
> default:
> set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5
>       
>     "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT
> 40
> CONNECT 
> 
>  Sep  8 22:25:12  ppp[220]: tun0: Command:
> default:
> set timeout 180
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> default:
> enable dns
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> papchap: set
> phone 5571090
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> papchap: set
> authname dtitg
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> papchap: set
> authkey ******** 
> 
>  Sep  8 22:25:12  ppp[220]: tun0: Command:
> papchap:
> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> 0.0.0.0
>  
> Sep  8 22:25:12  ppp[220]: tun0: Command:
> papchap: add
> default HISADDR
>  
> Sep  8 22:25:12  ppp[221]: tun0: Phase: PPP
> Started
> (background mode).
>  
> Sep  8 22:25:12  ppp[221]: tun0: Phase: bundle:
> Establish
>  
> Sep  8 22:25:12  ppp[221]: tun0: Phase:
> deflink:
> closed -> opening
>  
> Sep  8 22:25:12  ppp[221]: tun0: Phase:
> deflink:
> Connected!
>  
> Sep  8 22:25:12  ppp[221]: tun0: Phase:
> deflink:
> opening -> dial
>  
> Sep  8 22:25:12  ppp[221]: tun0: Chat: Phone:
> 5571090
>  
> Sep  8 22:25:12  ppp[221]: tun0: Chat: deflink:
> Dial
> attempt 1 of 1
>  
> Sep  8 22:25:12  ppp[221]: tun0: Chat: Send:
> AT^M
>  
> Sep  8 22:25:12  ppp[221]: tun0: Chat:
> Expect(5): OK
>  
> Sep  8 22:25:17  ppp[221]: tun0: Chat: Expect
> timeout
>  
> Sep  8 22:25:17  ppp[221]: tun0: Chat: Send:
> AT^M 
> 
>  Sep  8 22:25:17  ppp[221]: tun0: Chat:
> Expect(5): OK
>  
> Sep  8 22:25:22  ppp[221]: tun0: Chat: Expect
> timeout
>  
> Sep  8 22:25:22  ppp[221]: tun0: Warning: Chat
> script
> failed
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase:
> deflink: dial
> -> hangup
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase:
> deflink:
> Disconnected!
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase:
> deflink:
> Connect time: 10 secs: 0 octets in, 0 octets
> out
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase:
> deflink: : 0
> packets in, 0 packets out
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase:  total
> 0
> bytes/sec, peak 0 bytes/sec on Mon Sep  8
> 22:25:22
> 2003 
> 
>  Sep  8 22:25:22  ppp[221]: tun0: Phase:
> deflink:
> hangup -> closed
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase: bundle:
> Dead
>  
> Sep  8 22:25:22  ppp[221]: tun0: Phase: PPP
> Terminated
> (normal).
>  
> Sep  8 22:25:22  ppp[221]: tun0: Chat: Parent
> notified
> of failure
>  
> Sep  8 22:25:22  ppp[220]: tun0: Phase: Parent:
> Child
> failed (errdead)
> 
>
________________________________________________________________________
> Want to chat instantly with your online
> friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the freebsd-questions mailing list