Re: pppoe, userland ppp

2001-04-05 Thread Nick Sayer

Leif Neland wrote:

 I'd like to try pppoe to connect to poptop (on a linuxbox). The port is forbidden; I 
should use ng_pppoe.

You're mixing apples and oranges. poptop is for pptp, not pppoe.



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



Re: pppoe, userland ppp

2001-04-05 Thread Leif Neland

  I'd like to try pppoe to connect to poptop (on a linuxbox). The port is forbidden; 
I should use 
  ng_pppoe.
 
 You're mixing apples and oranges. poptop is for pptp, not pppoe.
 

Ahh! While mixing apples and oranges can make a nice juice, it doesn't work for vpn.

Using pptpclient instead is better :-)

I had pptp running in a terminal session started in a window from my workstation in 
fbsd-mode.
Now I booted my workstation to try in windows. Apparently pptp didn't get stopped 
properly, because when I now want to run pptp again, I get this error message:

warn[open_unixsock:pptp_callmgr.c:308]: Call manager for 123.123.123.123 is already 
running.
fatal[callmgr_main:pptp_callmgr.c:124]: Could not open Unix socket for 123.123.123
fatal[launch_callmgr:pptp.c:214]: Call manager exited with error 256

But ps is not showing any ppp, pptp or call processes.
Neither is netstat showing anything I can relate to.

I could boot the machine, but then I'd have to walk 20m to power it off and on to 
reset the isdnadapter. Too late for that now.

Leif



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



Re: pppoe, userland ppp

2001-04-04 Thread Alastair D'Silva

Leif,

I have written an article on how to set up PPPOE under FreeBSD using
userland PPP and Netgraph. The url is
http://pandaemonium.newmillennium.net.au.

Hope this helps.

--
Alastair D'Silva (mob: 0413 485 733)
Networking Consultant
New Millennium Networking (web: http://www.newmillennium.net.au)

- Original Message -
From: "Leif Neland" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 6:03 AM
Subject: pppoe, userland ppp


 I'd like to try pppoe to connect to poptop (on a linuxbox). The port is
forbidden; I should use ng_pppoe.

 I haven't done netgraph stuff before; afaiu I should attach ng_pppoe to a
node which is the physical device. But I'm doing userland ppp, and tun0 is
not a node. ngctl list shows this:
 There are 10 total nodes:
   Name: ngctl3349   Type: socket  ID: 000b   Num hooks: 0
   Name: ipr3Type: ether   ID: 0009   Num hooks: 0
   Name: ipr2Type: ether   ID: 0008   Num hooks: 0
   Name: ipr1Type: ether   ID: 0007   Num hooks: 0
   Name: ipr0Type: ether   ID: 0006   Num hooks: 0
   Name: isp3Type: ether   ID: 0005   Num hooks: 0
   Name: isp2Type: ether   ID: 0004   Num hooks: 0
   Name: isp1Type: ether   ID: 0003   Num hooks: 0
   Name: isp0Type: ether   ID: 0002   Num hooks: 0
   Name: ed0 Type: ether   ID: 0001   Num hooks: 0

 If my local network is 192.168.5.0, inside ip 192.168.5.11, outside ip
dynamic, the remote internal network 192.168.0.0, the gateway running poptop
is 192.168.0.1 internal, 194.1.2.3 outside, how do I setup ng_pppoe?

 When my ADSL gets installed, it will be on ed1. Same question as above.

 Leif



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



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



pppoe, userland ppp

2001-04-03 Thread Leif Neland

I'd like to try pppoe to connect to poptop (on a linuxbox). The port is forbidden; I 
should use ng_pppoe.

I haven't done netgraph stuff before; afaiu I should attach ng_pppoe to a node which 
is the physical device. But I'm doing userland ppp, and tun0 is not a node. ngctl list 
shows this:
There are 10 total nodes:
  Name: ngctl3349   Type: socket  ID: 000b   Num hooks: 0
  Name: ipr3Type: ether   ID: 0009   Num hooks: 0
  Name: ipr2Type: ether   ID: 0008   Num hooks: 0
  Name: ipr1Type: ether   ID: 0007   Num hooks: 0
  Name: ipr0Type: ether   ID: 0006   Num hooks: 0
  Name: isp3Type: ether   ID: 0005   Num hooks: 0
  Name: isp2Type: ether   ID: 0004   Num hooks: 0
  Name: isp1Type: ether   ID: 0003   Num hooks: 0
  Name: isp0Type: ether   ID: 0002   Num hooks: 0
  Name: ed0 Type: ether   ID: 0001   Num hooks: 0

If my local network is 192.168.5.0, inside ip 192.168.5.11, outside ip dynamic, the 
remote internal network 192.168.0.0, the gateway running poptop is 192.168.0.1 
internal, 194.1.2.3 outside, how do I setup ng_pppoe?

When my ADSL gets installed, it will be on ed1. Same question as above.

Leif



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