Running pppd after the firmware loads
baldrick at free.fr
Sun May 22 16:03:25 EDT 2005
On Sun, 2005-05-22 at 14:54 +0100, Andrew Benton wrote:
> Hello list
> I see in the system log messages like
> DSL line goes up
> drivers/usb/atm/speedtch.c: Line state 20
> ADSL line is up (576 Kib/s down | 288 Kib/s up)
> Is there a way to use these signals to run pppd? Does a file get altered in /sys, /proc or /dev that could be used to run a script?
You can have a hotplug script run when the device is plugged in.
The USB subsystem takes care of that. Roman has a patch to the
ATM layer that fires hotplug events when the ATM device is created,
which means after the firmware loads if you use the latest drivers.
That's probably the right moment to call pppd.
More information about the Usbatm