User PPP connection problems
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-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
User PPP connection problems
Hello, I am also a newbie to FreeBSD, and have also had problems connecting to an ISP. While I can actually make the connection, I cannot yet complete a logon successfully ;(. But I may have some insight as to your problem. Having looked at your ppp.log, it appears that your system is never actually dialing the number to connect. These lines explain it: Sep 8 22:25:12 ppp[221]: tun0: Chat: Phone: 5571090 This line is your ppp being informed of the phone number. 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 This line is the modem being sent an attention signal. Sep 8 22:25:12 ppp[221]: tun0: Chat: Expect(5): OK This line tells that ppp is expecting the modem to responds with an OK - the standard response to an attention signal, and that it expects the response in 5 seconds (this is due to your "set dial" command in /etc/ppp/ppp.conf.) Sep 8 22:25:17 ppp[221]: tun0: Chat: Expect timeout Here, (5 seconds later), the system has not gotten the expected response, so it times out and tries again. 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 The same thing has happened again - and the connection fails. Sep 8 22:25:22 ppp[221]: tun0: Phase: deflink: dial -> hangup Your problems are indicative of a configuration problem or possible a modem hardware problem. Do you ever actually hear the modem pick up the phone (do you get a dial tone)? Can you post a copy of your ppp.conf file? ___ [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
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]"
Re: User PPP connection problems
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
> 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]"
SOLVED: user PPP connection problems.
Thanks to Heiko, Rex, David and Mark, I got my internet connection working. Problem was, I didn't know which port the modem was connected to. I tried /dev/cuaa0 & it worked. Thanks guys Sincerely Keshav 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-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"