My /etc/rc.d/rc.local contains:

modprobe ppp_generic
modprobe ppp_synctty
modprobe n_hdlc
modem_run -e 1 -m -f /windows/D/Linux/adsl/alcaudsl.sys
pppd call adsl

It opens the connection.

I also have made the script /usr/bin/adslstart containing the following:

/usr/sbin/pppd call adsl
/sbin/ifconfig

and in the script /usr/bin/adslstop I put:

/usr/bin/killall pppoa3 pppd

To make them work from the non-root terminal window I must however issue
them like this:

su -c "/usr/bin/adslstart"  and
su -c "/usr/bin/adslstop"

In both cases, my root password is asked because I am dealing with pppd?
Is it a good idea to exit the terminal window after giving the command to
start? Although it is a terminal window in which I am a normal user, it
might still cause a danger problem?

Ed

By the way: I have informed my provider (XS4ALL in the Netherlands) that
the patch for modem_run and pppoa3 is there. It may interest them since
they have a Linux support page.
>
>
>> ----------
>> From:        christine noot-huyghe[SMTP:[EMAIL PROTECTED]]
>> Sent:        Sunday, December 01, 2002 18:45:17
>> To:  [EMAIL PROTECTED]
>> Subject:     [speedtouch] Re: st330 + T. Woodall's patch works. Here is
>> thepatch
>> Auto forwarded by a Rule
>>
> On Sat, 30 Nov 2002 23:13:34 +0100 (CET)
> [EMAIL PROTECTED] wrote:
>
>> Well, with the patch for modem_run I finally got a working connection
>> under Mandrake 9.0! Tremendous speed using the microcode alcaudsl.sys!
>>
>> I downloaded SpeedTouch CVS from 19-11-2002. It seems no patch was
>> necessary for pppoa3, only for modem_run.
>>
>> Anyway, I am left with a few questions.
>>
>> So far I can only make connection being logged in as root.
>
> This is normal I think and you should start the connection at boot
> by adding some line in /etc/rc.local
>
>  I tried
>>
>> su -c "/usr/sbin/pppd call adsl"
>>
>> as non-root, but that opens no connection. And even then the connection
>> seems to be usable only once. When ending it with:
>>
>> killall -9 ppp0a3
>> killall pppd
>>
>> the connection is gone and giving the command:
>>
>> pppd call adsl
>>
>> does not establish it again.
>>
>> Anyone knows how to solve this?
>>
>> Ed Vaessen
>> >
>>
> For me the following works:
> "killall pppd"
> "/usr/sbin/pppd call adsl" restart the connection
>
> But: I use mgmt.o instead of alcaudsl.sys and a patched version of
> pppoa3.
> I am currently using LM8.2
>
> C. Noot.
>
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se d�sinscrire :
> mailto:[EMAIL PROTECTED]?subject=unsubscribe
>
>
>
>


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

        

Reply via email to