The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-06-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
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  
Old 03-07-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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  
Old 03-07-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
Thanks for the link, but i still keep getting the colon missing error.
  #4  
Old 03-07-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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  
Old 03-07-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
I decided to use the freebsd default file, just change few lines such as:

set device PPPoE:dc0apchap

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  
Old 03-08-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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  
Old 03-08-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
killerserv, please reread the thread. The user is connecting via ADSL, not dialup.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0