Brian Somers wrote:

| > Dynamic loading of negraph modules is still broken, and probably won't be
| > fixed until 5.0 (at least that's what the comments on the zillion PRs
| > about this problem say.)
| > 
| > Add 'options NETGRAPH_ETHER' and 'options NEGRAPH_SOCKET' to your kernel
| > config file and rebuild your kernel.
| 
| I dynamically load all the modules required for client and server 
| PPPoE on -stable and -current without problems:

Well, I had already compiled all the netgraph stuff into the
kernel before I saw this.  And it did get rid of the netgraph
complaints as part of the next few panics.

| There is a problem where many of the NIC drivers get confused when 
| netgraph gives them packets before they're IFF_UP'd.  ppp now works 
| around the problem by bringing the interface up as required.
| 
| The originator should try building the latest version of ppp on his 
| 4.2 machine and see if that helps.

I took the easy way out here and just ran 

    ifconfig xl0 inet 10.0.0.1

After that, no more panics and the ADSL modem worked first time.

Now, the final question:  I have to implement something similar
on a 4.1-R system several thousand km away.  There's no question
of upgrading it from 4.1 and I can't afford to have it panic.
Is it reasonable to expect that PPPoE will work OK provided I
add the netgraph stuff to the kernel and ensure the NIC is UP
before running ppp?

FYI, I also tried a different box that runs 4.3-R and it did not
experience the panic that was seen on the 4.2-R system.

Thanks a lot for the help with this.

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

Reply via email to