Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google site



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-07-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.

Sponsored Links
  #2 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 09:32 AM
pppoe nEuRoMaNcEr SCO 1 11-20-2003 11:32 PM
Four PCs Sharing ADSL HOUSCOUS UNIX for Dummies Questions & Answers 1 11-13-2002 03:17 PM
ADSL with Darwin 1.41 Syphor UNIX for Dummies Questions & Answers 3 03-14-2002 07:35 PM
dns/pppoe Problems Recon UNIX for Dummies Questions & Answers 3 10-21-2001 12:02 PM



All times are GMT -4. The time now is 03:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0