Re: User PPP connection problems

2003-09-09 Thread Heiko Recktenwald
> Try "ATZ" (reset). "AT" to check OK response".
> Then try "ATDT12345678" for dialing (the 12345678 is to be replaced
> with a phone number.)
>
> Once you have the right port and you are talking to your modem, then
> we can look at the ppp.log again.

There once was a sample in /etc/ppp, it has moved, the Gods have decided,
somewhere to /usr/share/examples (IMHO)


H.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: User PPP connection problems

2003-09-09 Thread David Banning
On Tue, Sep 09, 2003 at 04:03:33AM +0100, Tadimeti Keshav 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

I agree with Mark. It looks like your box is not seeing the modem.
You could try "cu -l cuaa0" for com1, cuaa0 for com2.   
Then you can try some hayes command from the prompt.
Try "ATZ" (reset). "AT" to check OK response". 
Then try "ATDT12345678" for dialing (the 12345678 is to be replaced
with a phone number.)

Once you have the right port and you are talking to your modem, then
we can look at the ppp.log again.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: User PPP connection problems

2003-09-08 Thread RexFelis
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 <[EMAIL PROTECTED]>
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
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"