![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PPPoE + mpd = MSN messenger not works | sniper007 | BSD | 4 | 12-30-2007 06:32 AM |
| pppoe | nEuRoMaNcEr | SCO | 1 | 11-20-2003 08:32 PM |
| Four PCs Sharing ADSL | HOUSCOUS | UNIX for Dummies Questions & Answers | 1 | 11-13-2002 12:17 PM |
| ADSL with Darwin 1.41 | Syphor | UNIX for Dummies Questions & Answers | 3 | 03-14-2002 04:35 PM |
| dns/pppoe Problems | Recon | UNIX for Dummies Questions & Answers | 3 | 10-21-2001 08:02 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
PPPoE + ADSL on FreeBSD 4.4
Hi everyone,
This is basically my problem. I setup freebsd, and wanted to get my adsl connection up which uses pppoe to connect. I followed the steps in this (http://free.mine.nu/~squirrel/PPPoE/...oE%20Howto.htm) manual and configured everything successfully. The problem begins when i run the command "ppp -bacgkround pppoe" I get the following error: Warning: Bad label in /etc/ppp/ppp.conf (line 5) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 6) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 7) - missing colon Warning: Bad label in /etc/ppp/ppp.conf (line 8) - missing colon From looking at the Handbook, and the manu above, I did not notice anywhere that says i should put a colon. For the heck of it I did putit in and the same problem appear. I've tried to get my connect up for a month now with no luck. PLEAse someone help. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You may try to find your answer in here
http://logicsquad.net/freebsd/PPPoE-how-to.html It described and teaches the adsl connection step by step. Perhaps this URL works. |
|
#3
|
|||
|
|||
|
Thanks for the link, but i still keep getting the colon missing error.
|
|
#4
|
||||
|
||||
|
as a root have you tried adsl -start, The adsl need to be started frst before you run the pppd. if you did state what is your pppd version pppd --version
Another URL that might get handy on this situation http://mirror.kr.freebsd.org/handbook/pppoe.html |
|
#5
|
|||
|
|||
|
I decided to use the freebsd default file, just change few lines such as:
set device PPPoE:dc0 And in /etc/rc.conf i set the mode to background. So now when i run ppp -background papchap I get this error now tun3: Error: chat_write: Network unreachable tun3: Warning: Caht script failed Also what is this "add default HISADDR" is HISADDR should be some kind of IP? |
|
#6
|
||||
|
||||
|
modify four lines in the file /etc/ppp/ppp.conf.
You will find the following lines at the end of /etc/ppp/ppp.conf: papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP: # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD Assuming your ISP name is MYISP, your phone # is 123-1212, your username is USER and your password is PASS, you would do the following: MYISP: set phone 555-1212 set authname USER set authkey PASS Save your changes and from the command line do this: # ppp -auto MYISP Now ping an IP or access your network. Your modem should dial your ISP and connect. That's all there is to it. Note that this assumes your modem is on com1. If not, tweak the beginning of your ppp.conf file under the default: section. |
|
#7
|
||||
|
||||
|
killerserv, please reread the thread. The user is connecting via ADSL, not dialup.
|
||||
| Google The UNIX and Linux Forums |