Re: setting up pppoe

2006-05-09 Thread Nikos Vassiliadis
On Tuesday 09 May 2006 04:05, Michael P. Soulier wrote:

 This is also surprising

 [EMAIL PROTECTED] ~]$ man ppp.conf
 No manual entry for ppp.conf

 Seems to be in ppp(8) though.


and here /usr/share/examples/ppp

 I'm just looking to use a PPPoE connection with my ISP.

this or mpd from ports/net/mpd


 Thanks,
 Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setting up pppoe

2006-05-08 Thread Michael P. Soulier
People,

I found this section in the handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

and it mentions a ppp.conf file like so

default:
  set log Phase tun command # you can add more detailed logging if you wish
  set ifaddr 10.0.0.1/0 10.0.0.2/0

name_of_service_provider:
  set device PPPoE:xl1 # replace xl1 with your Ethernet device
  set authname YOURLOGINNAME
  set authkey YOURPASSWORD
  set dial
  set login
  add default HISADDR

I'm confused. Why would I set an ifaddr when it's a PPPoE connection? I don't
know what IP I'm going to be assigned yet. 

What is ifaddr for?

This is also surprising

[EMAIL PROTECTED] ~]$ man ppp.conf
No manual entry for ppp.conf

Seems to be in ppp(8) though. 

I'm just looking to use a PPPoE connection with my ISP. 

Thanks,
Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpseV9debRJy.pgp
Description: PGP signature


Re: setting up pppoe

2006-05-08 Thread Joerg Pernfuss
On Mon, 8 May 2006 21:05:02 -0400
Michael P. Soulier [EMAIL PROTECTED] wrote:

 People,
 
 I found this section in the handbook
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html
 
 and it mentions a ppp.conf file like so
 
 default:
   set log Phase tun command # you can add more detailed logging if
 you wish set ifaddr 10.0.0.1/0 10.0.0.2/0

ppp needs some address to work with right from the beginning, before
you get assigned an IP address from your isp. The original idea was,
from my understanding, that you could specify your network, and would
then only be assigned the host part of the address.

Hence the /0, which specifies that nothing is network-part and you
take whatever IP address you get assigned.

Joerg
-- 
| /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|


signature.asc
Description: PGP signature


Re: setting up pppoe

2006-05-08 Thread Michael P. Soulier
On 09/05/06 Joerg Pernfuss said:

 ppp needs some address to work with right from the beginning, before
 you get assigned an IP address from your isp. The original idea was,
 from my understanding, that you could specify your network, and would
 then only be assigned the host part of the address.
 
 Hence the /0, which specifies that nothing is network-part and you
 take whatever IP address you get assigned.

Well, if it works, it'll be one of the simplest pppoe setups I've seen yet on
a *nix box. Looks pretty simple. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpa8a1rcU0Vc.pgp
Description: PGP signature


Problem setting up PPPoE in Release 6.0

2006-01-13 Thread Barbara La-Scala

I have a Netcomm NB1300 modem and a Realtek 8029 ethernet card and was
successful at configuring PPPoE for this combination under R5.3.  I've
recently upgraded to R6.0 and cannot get things to work any more.

I've played with all the options in the ppp.conf that looked relevant
(and several that didn't) and I've compiled the NETGRAPH stuff into my
kernel but still no go.  I've googled but without success.  I've
tripled checked that I've got my username and password entered
correctly.  I know the modem is OK as I'm using it to post this
(hooked up to a laptop with Windoze).

I'm reluctant to return to R5.3 as I'm enjoying having a working sound
card.  However, I need internet access more.  Any help would be
greatly appreciated as I'm all out of ideas.  

Configuration details are below.

Thanks
Barbara

FreeBSD reports my Ethernet card is

 ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xd000-0xd01f irq 12 at device 
9.0 on pci0
  ed0: type NE2000 (16 bit)

My /etc/rc.conf looks like

  ifconfig_ed0=up
  ppp_enable=YES
  ppp_mode=ddial
  ppp_profile=netspace

My /etc/ppp/ppp.conf  (with password deleted) is

  default:
   set log All
 
  netspace:
   set device PPPoE:ed0
   set authname [EMAIL PROTECTED]
   set authkey 
   set dial
   set login
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR

The ppp.log file reports

 Phase: Using interface: tun0
 Phase: deflink: Created in closed state
 tun0: ID0: 0x282e62c0 = fopen(/etc/ppp/ppp.conf, r)
 tun0: Debug: ReadSystem: Checking netspace (/etc/ppp/ppp.conf).
 tun0: Command: netspace: set device PPPoE:ed0
 tun0: Command: netspace: set authname [EMAIL PROTECTED]
 tun0: Command: netspace: set authkey 
 tun0: Command: netspace: set dial
 tun0: Command: netspace: set login
 tun0: Command: netspace: set ifaddr 10.0.0.1/0 10.0.0.2/0
 255.255.255.0 0.0.0.0
 tun0: Command: netspace: add default HISADDR
 tun0: ID0: 9 = socket(17, 3, 0)
 tun0: ID0: -1 = write(9, data, 140)
 tun0: TCP/IP: rt_Set failure:
 tun0: TCP/IP: rt_Set:  Cmd = Add
 tun0: TCP/IP: rt_Set:  Dst = 0.0.0.0/0
 tun0: TCP/IP: rt_Set:  Gateway = 10.0.0.2
 tun0: Debug: wrote -1: cmd = Add, dst = 0.0.0.0/0, gateway = 10.0.0.2
 tun0: ID0: 0x282e62c0 = fopen(/var/run/tun0.pid, w)
 tun0: Phase: PPP Started (ddial mode).
 tun0: Phase: bundle: Establish
 tun0: Phase: deflink: closed - opening
 tun0: ID0: 0 = NgMkSockNode(, cs, ds)
 tun0: Debug: List of netgraph node ``ed0:'' (id 1) hooks:
 tun0: Debug:   Found orphans - ethernet
 tun0: Debug: Connecting netgraph socket .:tun0 - [3]::tun0
 tun0: ID0: 2 = socket(2, 2, 0)
 tun0: ID0: 0 = ioctl(2, 3223349521, 0xbfbfde10)
 tun0: ID0: 0 = ioctl(2, 2149607696, 0xbfbfde10)
 tun0: Debug: Sending PPPOE_CONNECT to .:tun0
 tun0: Debug: Found the following interfaces:
 tun0: Debug:  Index 1, name ed0
 tun0: Debug:  Index 2, name plip0
 tun0: Debug:  Index 3, name lo0
 tun0: Debug:  Index 4, name tun0
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Phase: deflink: Connected!
 tun0: Phase: deflink: opening - dial
 tun0: Phase: deflink: dial - carrier
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Phase: deflink: Disconnected!
 tun0: Phase: deflink: carrier - hangup
 tun0: Debug: deflink: Close
 tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
 tun0: Phase: 

Re: Problem setting up PPPoE in Release 6.0

2006-01-13 Thread Rowdy

Barbara La-Scala wrote:

I have a Netcomm NB1300 modem and a Realtek 8029 ethernet card and
was successful at configuring PPPoE for this combination under R5.3.
I've recently upgraded to R6.0 and cannot get things to work any
more.

I've played with all the options in the ppp.conf that looked relevant
 (and several that didn't) and I've compiled the NETGRAPH stuff into
my kernel but still no go.  I've googled but without success.  I've 
tripled checked that I've got my username and password entered 
correctly.  I know the modem is OK as I'm using it to post this 
(hooked up to a laptop with Windoze).


I'm reluctant to return to R5.3 as I'm enjoying having a working
sound card.  However, I need internet access more.  Any help would be
 greatly appreciated as I'm all out of ideas.

Configuration details are below.

Thanks Barbara


snip

I have a similar setup: FreeBSD 6, Netcomm NB1300 Plus 4, Netspace.

Occasionally it fails to connect while waiting for carrier, as yours
seems to have done.  If I try to connect again, it usually succeeds.

I would suggest making a second attempt to connect, if that fails,
power cycle the modem and try again.

If it still won't connect, then there might be a bigger problem.

I also have option set cd 10 in my ppp.conf that sets a 10 second
delay waiting for carrier (FreeBSD checks for carrier once per second
until timeout) - I don't know if that makes any difference.

Rowdy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]