Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 16:41:07 -0500
From:      David Banning <david@skytracker.ca>
To:        Sukhbinder Singh <sukhbinders@hotmail.com>
Cc:        David Banning <david@skytracker.ca>
Subject:   Re: FreeBSD Port/Distribution Installation
Message-ID:  <20030405164107.A9466@skytrackercanada.com>
In-Reply-To: <BAY2-DAV43pcXYfkHRG000577c8@hotmail.com>; from sukhbinders@hotmail.com on Sat, Apr 05, 2003 at 05:44:20PM %2B0800
References:  <BAY2-DAV68RsnhvDbDz00059004@hotmail.com> <20030403010315.A32901@skytrackercanada.com> <BAY2-DAV35LsxpTljBO00057f69@hotmail.com> <20030403114710.B39962@skytrackercanada.com> <BAY2-DAV73e4zadTMVw00060954@hotmail.com> <20030405012315.A92644@skytrackercanada.com> <BAY2-DAV5SAH2JZZJfw00061226@hotmail.com> <20030405021720.B93482@skytrackercanada.com> <BAY2-DAV43pcXYfkHRG000577c8@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 05, 2003 at 05:44:20PM +0800, Sukhbinder Singh wrote:
> what do I type at the place for "default: 
# or name_of_service_provider" in
These are just names for your ppp to lookup what entries to pay attention
to. If you fire ppp with the simple command "ppp" it will execute
the entries after "default". On the other hand, if you want to
execute another set of settings for ppp, you could put them
after another name that you make up. So I could make active the
settings after pppoe: by executing;

# ppp -ddial -nat pppoe

or  

# ppp -ddial -nat default

would execute the settings after default:

or if no name is given, like;

# ppp -ddial 
 
then it goes to the settings under default:

default: # or name_of_service_provider
      set device PPPoE:rl0 # replace xl1 with your ethernet device
      set mru 1492
      set mtu 1492
      set authname whatever
      set authkey whatever
      set log Phase tun command # you can add more detailed logging if you wish
      set dial
      set login
      set ifaddr 209.188.66.29 206.221.248.4
      add default HISADDR
      nat enable yes # if you want to enable nat for your local net

pppoe:
  set device PPPoE:rl0
  set mru 1492
  set mtu 1492
  set speed sync
  enable lqr
  disable vjcomp
  set lqrperiod 5
  set cd 5
  set dial
  set login
  set timeout 0
  set authname whatever
  set authkey whatever
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR

> my ppp.conf file. and also what do I type for the "set ifaddr" field in the
I would copy the one from my pppoe example above. 

> ppp.conf file. and where do I type the IP address for my ISP provider or the
> DNS for my ISP provider or the telephone number for my ISP. There has to be
For DSL there is no phone number. You just need your login and password.
Providing you do -not- have a IP static address your box will
find out what the IP address is during the negotiation.
The details of your ppp connection are in /var/log/ppp.log
You can monitor the connection with tail -f /var/log/ppp.log

> a place where I need to type all this information or else how is the xDSL
> modem is going to contact or connect with my ISP. Any help will be helpful.
All the information goes in your ppp.conf, that is, your login and
your password.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405164107.A9466>