solved : Re: newbie questions about pppoe and netgraph

2003-01-15 Thread Stephen D. Kingrea
2 problems

1  cable modem needed 10baset connection. changed rc.conf=
ifconfig_dc0=inet xxx.xxx.xxx.xxx mask 255.255.255.0 media 10baseT/UTP
fixed that problem

2  didn't need pppoe after all! after changing media, was able to ping
external router

btw, this is charter pipeline (vermont) service (768) using 3com 3cr29223
home connect external usb/ether (NOT adsl dual connect). tech support was
friendly but basically clueless (i don't know anything about
free-bee-ess-dee ppp over ethernet? what's that?).

anyway, thanks for all of your helpi learned more about pppoe than i
ever wanted. all you guys are terrific!

stephen

On Sat, 11 Jan 2003, Stephen D. Kingrea wrote:

this is the latest, unchanged from this am. i should say that using
different parameters from the several different tutorial sources has
resulted in pretty much the same result: flaking out at lpc (if that is
what is really happening)

additionally, the set ifaddr line seems superfluous, since i have an
assigned ip address and established route

default:
 set device PPPoE:fxp0
 set speed mru 1492
 set speed mtu 1492
 set ctsrts off
 enable lqr
 set lqrperiod 5
 set cd 5
 set log All
 set log local phase chat lcp ccp tun command
 add default HISADDR
 enable dns
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255 0.0.0.0
 set authname *
 set authkey *
 set login
 set dial
 set timeout 0
 open


stephen

On Sat, 11 Jan 2003, Matthew Emmerton wrote:

 What does your ppp.conf look like?  For PPPoE, it you should have a line
 like this:

[ dang email client ]

set device PPPoE:ed1

where ed1 is the network card that is hooked up to your DSL modem.


 --
 Matt

 
  www# /usr/sbin/ppp
  Working in interactive mode
  Using interface: tun0
  tun0: Command: default: add default HISADDR
  tun0: Command: default: enable DNS
  tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255
  0.0.0.0
  tun0: Command: default: set authname **
  tun0: Command: default: set authkey **
  tun0: Command: default: set login
  tun0: Command: default: set dial
  tun0: Command: default: set timeout 0
  tun0: Command: default: open
  tun0: Phase: bundle: Establish
  tun0: Phase: closed - opening
  tun0: Phase: PPP started (interactive)
  tun0: Phase: deflink: Connected!
  tun0: Phase: deflink: opening - dial
  tun0: Chat: deflink: Dial attempt 1 of 1
  tun0: Phase: deflink: dial - carrier
  ppp ON www tun0: Phase: deflink: Disconnected!
  tun0: Phase: deflink: carrier - hangup
  tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
  tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11
  tun0: Phase: deflink hangup - closed
  tun0: Phase: bundle: Dead
 
  i imagine that some of this is unnecessary, but it appears that i am not
  even getting to authentication before disconnecting.
 
  thank you
 
  stephen
 
  On Sat, 11 Jan 2003, Matthew Emmerton wrote:
 
   attempting to run pppoe on freebsd 4.7 over cable/dsl connection.
  
   manual says kernel recompilation unnecessary for this release in
   order to run pppoe. however, netgraph does not seem to be loading at
 boot
   time. additionally, pppoe seems unable to get past lcp when
connecting.
  
   how can i tell if netgraph is active after boot? if not, can netgraph
   modules be loaded at boot by adding necessary lines into loader.conf?
 or
   is recompiling kernel a preferred method?
  
  If netgraph and pppoe support are not present in your kernel (or not
 loaded
  from modules automatically), the ppp program will complain loudly.
  
  Can you post part of your ppp log file so that we can determine if the
 lack
  of pppoe is your problem or if it's something else?
  
  --
  Matt Emmerton
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



newbie questions about pppoe and netgraph

2003-01-11 Thread Stephen D. Kingrea
attempting to run pppoe on freebsd 4.7 over cable/dsl connection.

manual says kernel recompilation unnecessary for this release in
order to run pppoe. however, netgraph does not seem to be loading at boot
time. additionally, pppoe seems unable to get past lcp when connecting.

how can i tell if netgraph is active after boot? if not, can netgraph
modules be loaded at boot by adding necessary lines into loader.conf? or
is recompiling kernel a preferred method?

stephen



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: newbie questions about pppoe and netgraph

2003-01-11 Thread Stephen D. Kingrea
ok here is what i get

www# /usr/sbin/ppp
Working in interactive mode
Using interface: tun0
tun0: Command: default: add default HISADDR
tun0: Command: default: enable DNS
tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255
0.0.0.0
tun0: Command: default: set authname **
tun0: Command: default: set authkey **
tun0: Command: default: set login
tun0: Command: default: set dial
tun0: Command: default: set timeout 0
tun0: Command: default: open
tun0: Phase: bundle: Establish
tun0: Phase: closed - opening
tun0: Phase: PPP started (interactive)
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening - dial
tun0: Chat: deflink: Dial attempt 1 of 1
tun0: Phase: deflink: dial - carrier
ppp ON www tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: carrier - hangup
tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11
tun0: Phase: deflink hangup - closed
tun0: Phase: bundle: Dead

i imagine that some of this is unnecessary, but it appears that i am not
even getting to authentication before disconnecting.

thank you

stephen

On Sat, 11 Jan 2003, Matthew Emmerton wrote:

 attempting to run pppoe on freebsd 4.7 over cable/dsl connection.

 manual says kernel recompilation unnecessary for this release in
 order to run pppoe. however, netgraph does not seem to be loading at boot
 time. additionally, pppoe seems unable to get past lcp when connecting.

 how can i tell if netgraph is active after boot? if not, can netgraph
 modules be loaded at boot by adding necessary lines into loader.conf? or
 is recompiling kernel a preferred method?

If netgraph and pppoe support are not present in your kernel (or not loaded
from modules automatically), the ppp program will complain loudly.

Can you post part of your ppp log file so that we can determine if the lack
of pppoe is your problem or if it's something else?

--
Matt Emmerton



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: newbie questions about pppoe and netgraph

2003-01-11 Thread Matthew Emmerton
 attempting to run pppoe on freebsd 4.7 over cable/dsl connection.

 manual says kernel recompilation unnecessary for this release in
 order to run pppoe. however, netgraph does not seem to be loading at boot
 time. additionally, pppoe seems unable to get past lcp when connecting.

 how can i tell if netgraph is active after boot? if not, can netgraph
 modules be loaded at boot by adding necessary lines into loader.conf? or
 is recompiling kernel a preferred method?

If netgraph and pppoe support are not present in your kernel (or not loaded
from modules automatically), the ppp program will complain loudly.

Can you post part of your ppp log file so that we can determine if the lack
of pppoe is your problem or if it's something else?

--
Matt Emmerton



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: newbie questions about pppoe and netgraph

2003-01-11 Thread Matthew Emmerton
 What does your ppp.conf look like?  For PPPoE, it you should have a line
 like this:

[ dang email client ]

set device PPPoE:ed1

where ed1 is the network card that is hooked up to your DSL modem.


 --
 Matt

 
  www# /usr/sbin/ppp
  Working in interactive mode
  Using interface: tun0
  tun0: Command: default: add default HISADDR
  tun0: Command: default: enable DNS
  tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255
  0.0.0.0
  tun0: Command: default: set authname **
  tun0: Command: default: set authkey **
  tun0: Command: default: set login
  tun0: Command: default: set dial
  tun0: Command: default: set timeout 0
  tun0: Command: default: open
  tun0: Phase: bundle: Establish
  tun0: Phase: closed - opening
  tun0: Phase: PPP started (interactive)
  tun0: Phase: deflink: Connected!
  tun0: Phase: deflink: opening - dial
  tun0: Chat: deflink: Dial attempt 1 of 1
  tun0: Phase: deflink: dial - carrier
  ppp ON www tun0: Phase: deflink: Disconnected!
  tun0: Phase: deflink: carrier - hangup
  tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
  tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11
  tun0: Phase: deflink hangup - closed
  tun0: Phase: bundle: Dead
 
  i imagine that some of this is unnecessary, but it appears that i am not
  even getting to authentication before disconnecting.
 
  thank you
 
  stephen
 
  On Sat, 11 Jan 2003, Matthew Emmerton wrote:
 
   attempting to run pppoe on freebsd 4.7 over cable/dsl connection.
  
   manual says kernel recompilation unnecessary for this release in
   order to run pppoe. however, netgraph does not seem to be loading at
 boot
   time. additionally, pppoe seems unable to get past lcp when
connecting.
  
   how can i tell if netgraph is active after boot? if not, can netgraph
   modules be loaded at boot by adding necessary lines into loader.conf?
 or
   is recompiling kernel a preferred method?
  
  If netgraph and pppoe support are not present in your kernel (or not
 loaded
  from modules automatically), the ppp program will complain loudly.
  
  Can you post part of your ppp log file so that we can determine if the
 lack
  of pppoe is your problem or if it's something else?
  
  --
  Matt Emmerton
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message