Date: Fri, 16 Apr 1999 01:44:41 -0400 (EDT) From: Colin Beck <beck@7thdesign.com> To: freebsd-questions@freebsd.org Subject: ppp troubles Message-ID: <Pine.BSF.4.05.9904160140520.22060-200000@raven.korax.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hello- I have been messing around with ppp for about a week now, and while I can get it to connect manually, I cannot get it to make a connection automatically by using the /etc/ppp.conf file. When I connect manually, this is what my ppp session looks like: myname# Working in interactive mode Using interface: tun0 ppp ON myname> term Working in interactive mode Entering terminal mode. Type `~?' for help. AT OK ATE1Q0 OK ATDT4401595 CARRIER 26400 PROTOCOL: ALT CONNECT 115200 login: beck Password: ppp ON myname> Packet mode. PPP ON myname> add 0 0 HISADDR PPP ON myname> When I try to connect using 'roseneta' in /etc/ppp.conf, this is what my ppp session looks like: myname# ppp Working in interactive mode Using interface: tun0 ppp ON myname> dial roseneta Warning: Add route failed: 0.0.0.0: errno: Network is unreachable Dial attempt 1 of 1 Phone: 4401595 dial OK! login OK! ppp ON myname> Packet mode. ppp ON myname> ppp ON myname> The modem never goes into packet mode, and hangs (or is hung up on) just before the last 'ppp ON myname' promt is displayed. When using the rosenetb entry (ppp ON myname> dial rosenetb), the ppp session looks identical to the one above, except the modem does not hang up for some time. It still will not go into packet mode when using rosenetb, though. I have attached my /etc/ppp/ppp.conf file, where you will find the default options as well as the roseneta and rosenetb entries. I would be extremely greatful if you could offer my any insight as to what the problem is. Colin Beck [-- Attachment #2 --] default: set log Phase Chat Connect LCP tun command set device /dev/modem set speed 115200 set ctsrts off deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 60 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 60 CONNECT" roseneta: set phone 4401595 set login "TIMEOUT 10 ogin:--ogin: beck word: imapony!" # set authname beck # set authkey imapony! set timeout 0 set ifaddr 206.64.3.244 206.64.3.10 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR rosenetb: set phone 4401595 set login set authname beck set authkey imapony! set timeout 0 set ifaddr 206.64.3.244 206.64.3.10 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904160140520.22060-200000>
