Jorge
11-30-2000, 08:44 AM
Hi I wan't learn how to set up ppp in FreeBSD and connect to my isp. Could some one refer me to a tuturial on what I need in the chatscript,options,pap-secrets,up and down files or tell me? Thanks alot!
|
Click to See Complete Forum and Search --> : PPP trouble In FreeBSD Jorge 11-30-2000, 08:44 AM Hi I wan't learn how to set up ppp in FreeBSD and connect to my isp. Could some one refer me to a tuturial on what I need in the chatscript,options,pap-secrets,up and down files or tell me? Thanks alot! dieselboy 11-30-2000, 04:53 PM check out potomacanglers.com/freebsd. they have great message board and ppp tutorials as well lates dieselboy Jorge 12-01-2000, 05:01 AM Hey thanks for the reply. I'll go check that out right now. Jorge 12-01-2000, 06:20 AM I did everything in the tuturial and checked it twice but, I get these errors- # ppp Working in interactive mode Using interface: tun0 Warning: Bad label in /etc/ppp/ppp.conf (line 9) - missing colon Dec 1 05:20:51 ppp[12306]: Warning: Bad label in /etc/ppp/ppp.conf (line 9) - missing colon ppp ON > load /etc/ppp/ppp.conf Warning: Bad label in /etc/ppp/ppp.conf (line 9) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 10) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 11) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 12) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 13) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 14) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 15) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 16) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 17) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 18) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 19) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 20) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 21) - missing colon Warning: /etc/ppp/ppp.conf: Configuration label not found Warning: load: Failed 1 This is what is in my /etc/ppp/ppp.conf file ################################################## ############### # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################## ############### default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0M0 OK \dATDT\T TIMEOUT 40 CONNECT" set redial 3 10 disable pred1 deny pred1 disable lqr deny lqr set authname username set authkey password set phone *70,5555555 set timeout 600 Any suggestions or do I have to keep using kppp(ugh)forever lol. Thanks sapient 12-01-2000, 06:44 AM I've never used ppp without a remote file such as ppp -r you this file is usualy something like /etc/ppp/uucp/Systems.conf or something sorry for inaccurcies but I dont have a copy of ppp on my slack box. missing colon looks like you need to seperate fields like in /etc/passwd (example) certianly you havent had enough fun with this, have you. configure 12-01-2000, 06:53 AM KPPP on KDE2 is nice, infact there are other ppp dialing utility too, but I don't know if they'll work on FreeBSD or not. Check out http://freshmeat.net http://www.linuxnewbie.org/ubb/biggrin.gif ------------------ ..and Bill Gate said, "Just a few billions bugs, aint that nice?" BRT 12-02-2000, 12:46 AM Here is my ppp.conf file *almost* verbatim. I'm using a random number as an isp, but notice how I squeezed the number in where it says "isp's#here". I don't know why, but this is the only way I ever got connected. This also has the required arguments to use IP aliasing. Hope this helps. ################################################## ############### # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################## ############### default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\(b)isp's#here(\b)T TIMEOUT 40 CONNECT" set authname btong@mindspring.com set authkey 59876 set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns alias enable yes papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone set authname BTONG@MINDSPRING.COM set authkey 59876 ~ [This message has been edited by BRT (edited 01 December 2000).] sapient 12-02-2000, 02:54 AM didnt note this before but are those spaces insted of _ in your set_device or add_route Ive done the like where you do just as the book or man page gives examples ,yet it needed to "" or '' your input or something like that. it sounds like a error you get right away without lights flashing on your modem or anything right ? I also noted the line numbers for your errors that referd to lines that exceed the 17 in your ppp.conf... something doesnt seem right there for sure. [This message has been edited by sapient (edited 02 December 2000).] Jorge 12-03-2000, 06:37 AM Thanks for all the replys from everyone =) I was wondering if anyone knows a program for the console in FreeBSD to dialup to my isp? I will be getting cable soon and I know how to set that up so I will only need the program temporary. Thanks justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |