Re: FW: A ppp configuration question
stan wrote: Sorry to post this again, but I still have seen no sugestiosn as to what I am doing wrong here :-( And I am going out of town soon, and desperatrly need this to work. Please, can some kind soul give me some help here? [ ... ] Aug 29 14:12:43 brown2 ppp[863]: Chat: Expect(480): CONNECT Aug 29 14:13:37 brown2 ppp[863]: Chat: Received: ATDT9w18008X.3610^M^M Aug 29 14:13:37 brown2 ppp[863]: Chat: Received: NO CARRIER^M No carrier means the phone call didn't get through to a modem on the other side. Try calling the number direcly and confirm you get a modem, as well as checking the "9w1800..."-- I'd expect that to be "9,1800..." [ ... ] The modem is a Winmodem using the Winmodem module from ports, if thta matters. Hmm. Well, if you can get it to work against a local #, you should be able to get it to work against a remote #. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FW: A ppp configuration question
Sorry to post this again, but I still have seen no sugestiosn as to what I am doing wrong here :-( And I am going out of town soon, and desperatrly need this to work. Please, can some kind soul give me some help here? I'm trying to set up one of my FreeBSD STABLE machines to dial intot the company ppp server using a 80-0 number. I'v already got a ppp.conf entry that works for the local number, and the 800 number differs only in that it's a diffferent phone number (obviously), and that the answer sequence involves waiting, and then sending an extension number. This makes the connection/dial dialog longer. Here is the entry for the local number: # # # PPP Sample Configuration File # # Written by Toshiharu OHNO # # $Id: ppp.conf.sample,v 1.3.4.3 1996/06/17 09:17:50 jkh Exp $ # # # # Default setup. Executed always when PPP is invoked. # default: set server 6670 ppp_passwd set device /dev/cual0 set speed 38400 allow users * disable lqr deny lqr # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" \\dATZ OK ATX7 OK ATS37=11 OK ATS7=180 OK ATN0 OK ATDT\\T TIMEOUT 180 CONNECT" # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 120 CONNECT" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\dATDT\\T TIMEOUT 120 CONNECT" # set log Phase Chat Connect tun TCP/IP IPCP hdlc set log Phase Chat Connect LCP CCP set redial 1 # # Example with login script # o From PPP prompt, # ppp> dial awod # will automatically dials and perform login procedure. # # ppp> load awod # will also load and execute commands, but don't dial. # # o From shell, invoke as # % ppp awod # will load commands associated with the label. Use, # ppp> dial # to establish the connection. # # awod_new: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \dATDT\\T TIMEOUT 120 CONNECT" set phone 9w3295900 # set phone 3295900 set login "TIMEOUT 5 name>-\\r-name> stanb word> 611_no_more(- tion: 2" deny chap accept pap # enable pap set authname stanb set authkey 611_no_more(- set timeout 600 # set ifaddr 127.1.1.1/0 127.1.1.2/0 # add 0 0 127.1.1.2 allow dns delete default add 0 0 HISADDR # awod: set phone 7692052 set login "TIMEOUT 10 name>-\\r-name> stanb word> 611_no_more(- tion: 2\r"\"" set timeout 600 set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 grizzly: set parity even set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 180 CONNECT" set timeout 180 set phone "9w8864919" # set phone "8864919" set parity even set login "TIMEOUT 80 gin:-\\r-gin: stan word: foo-bar tan spp" set timeout 6000 deny chap deny deflate pred1 disable deflate pred1 enable lqr allow lqr set timeout 6 set ifaddr 127.1.1.1/0 127.1.1.2/0 # add 0 0 127.1.1.2 ppp_grizzly: set parity even set timeout 120 set phone "8864919" set parity even set login "TIMEOUT 10 gin:-\\r-gin: ppp word: ppp_test" set timeout 6000 deny chap deny deflate pred1 disable deflate pred1 enable lqr allow lqr set timeout 6000 delete all set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 black: delete ALL deny chap accept pap set authname stan set authkey foo-bar # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 180 CONNECT" set timeout 180 set phone "8864919" # set phone "9w8864919" deny lqr set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 add 205.159.77.0 255.255.255.0 HISADDR netcom: set openmode active set phone 9W5698740 # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- stanb slirp" # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- nnected \\r word: 611_no_more(- stanb slirp" set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- word: 611_no_more(- stanb slirp" disable pred1 deny pred1 set timeout 180 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 # set ifaddr 127.1.1.1/0 127.1.1.2/0 # set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 0.0.0.0/0 delete default add 0 0 HISADDR # add! default HISADDR # delete default # add 0 0 HISADDR # # Multi-phone example # multiphone: set phone 12345678:12345679:12345670:12345671 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" # # If peer requires to use CHAP, don't forget to supply authname and authkey. # # If you'd like to use CHAP to authentication peer, comment out the line # ``enable chap'' below. You also need to prepare /etc/ppp.secret. # # If remote system sends its system name within CHAP packet and it is # found in /etc/ppp.secret, then secret key is taken from the file and # value of authkey is ignored. # chapsite: set phone 12345678 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" deny pap accept chap # enable chap set authname MySystemName set authkey OurSecretKey # # To spea
A ppp configuration question
I'm trying to set up one of my FreeBSD STABLE machines to dial intot the company ppp server using a 80-0 number. I'v already got a ppp.conf entry that works for the local number, and the 800 number differs only in that it's a diffferent phone number (obviously), and that the answer sequence involves waiting, and then sending an extension number. This makes the connection/dial dialog longer. Here is the entry for the local number: # # # PPP Sample Configuration File # # Written by Toshiharu OHNO # # $Id: ppp.conf.sample,v 1.3.4.3 1996/06/17 09:17:50 jkh Exp $ # # # # Default setup. Executed always when PPP is invoked. # default: set server 6670 ppp_passwd set device /dev/cual0 set speed 38400 allow users * disable lqr deny lqr # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" \\dATZ OK ATX7 OK ATS37=11 OK ATS7=180 OK ATN0 OK ATDT\\T TIMEOUT 180 CONNECT" # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 120 CONNECT" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\dATDT\\T TIMEOUT 120 CONNECT" # set log Phase Chat Connect tun TCP/IP IPCP hdlc set log Phase Chat Connect LCP CCP set redial 1 # # Example with login script # o From PPP prompt, # ppp> dial awod # will automatically dials and perform login procedure. # # ppp> load awod # will also load and execute commands, but don't dial. # # o From shell, invoke as # % ppp awod # will load commands associated with the label. Use, # ppp> dial # to establish the connection. # # awod_new: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \dATDT\\T TIMEOUT 120 CONNECT" set phone 9w3295900 # set phone 3295900 set login "TIMEOUT 5 name>-\\r-name> stanb word> 611_no_more(- tion: 2" deny chap accept pap # enable pap set authname stanb set authkey 611_no_more(- set timeout 600 # set ifaddr 127.1.1.1/0 127.1.1.2/0 # add 0 0 127.1.1.2 allow dns delete default add 0 0 HISADDR # awod: set phone 7692052 set login "TIMEOUT 10 name>-\\r-name> stanb word> 611_no_more(- tion: 2\r"\"" set timeout 600 set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 grizzly: set parity even set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 180 CONNECT" set timeout 180 set phone "9w8864919" # set phone "8864919" set parity even set login "TIMEOUT 80 gin:-\\r-gin: stan word: foo-bar tan spp" set timeout 6000 deny chap deny deflate pred1 disable deflate pred1 enable lqr allow lqr set timeout 6 set ifaddr 127.1.1.1/0 127.1.1.2/0 # add 0 0 127.1.1.2 ppp_grizzly: set parity even set timeout 120 set phone "8864919" set parity even set login "TIMEOUT 10 gin:-\\r-gin: ppp word: ppp_test" set timeout 6000 deny chap deny deflate pred1 disable deflate pred1 enable lqr allow lqr set timeout 6000 delete all set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 black: delete ALL deny chap accept pap set authname stan set authkey foo-bar # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T TIMEOUT 180 CONNECT" set timeout 180 set phone "8864919" # set phone "9w8864919" deny lqr set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 add 205.159.77.0 255.255.255.0 HISADDR netcom: set openmode active set phone 9W5698740 # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- stanb slirp" # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- nnected \\r word: 611_no_more(- stanb slirp" set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- word: 611_no_more(- stanb slirp" disable pred1 deny pred1 set timeout 180 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 # set ifaddr 127.1.1.1/0 127.1.1.2/0 # set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 0.0.0.0/0 delete default add 0 0 HISADDR # add! default HISADDR # delete default # add 0 0 HISADDR # # Multi-phone example # multiphone: set phone 12345678:12345679:12345670:12345671 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" # # If peer requires to use CHAP, don't forget to supply authname and authkey. # # If you'd like to use CHAP to authentication peer, comment out the line # ``enable chap'' below. You also need to prepare /etc/ppp.secret. # # If remote system sends its system name within CHAP packet and it is # found in /etc/ppp.secret, then secret key is taken from the file and # value of authkey is ignored. # chapsite: set phone 12345678 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" deny pap accept chap # enable chap set authname MySystemName set authkey OurSecretKey # # To speak PAP is just similar to CHAP # papsite: set phone 8530856 set login "TIMEOUT 5 login:-\\r-login> ppp word> ppp" deny chap accept pap # enable pap set authname stanb set authkey 611_no_more(- # # On demand dialup ex