On Wed, 9 Mar 2005, Andrew Benton wrote:

> Seth Kneller wrote:
>> I'm using Debian. I haven't set up a script to run pppd yet. Where would you
>> put it?
>>
> I'd call it dial, put it in /etc/init.d and make a symbolic link pointing at 
> it from
> /etc/rc2.d because that's the default for Debian. if you're booting to a 
> different run
> level, change the /etc/rc folder to match

Alternatively, you can use hotplug to do this after the module has loaded. 
This has the advantage that it would work even if the modem was plugged in 
after bootup.

It should just be a matter of putting a suitable script at 
/etc/hotplug/usb/speedtch. Mine is as follows:

#!/bin/bash

case $ACTION in
add)
         modprobe pppoatm
         /usr/sbin/pppd call speedtch-knl
        ;;
esac

It therefore also solves the original question of having to manually 
modprobe pppoatm.

Richard


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to