On Sun, 1 Dec 2002 [EMAIL PROTECTED] wrote: > 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 >
Do you need the -e 1 on the pppoa3 line in peers/adsl? Someone posted here that it wasn't necessary, only the modem_run one was. If the -e 1 to pppoa3 isn't necessary can you post a copy of /proc/bus/usb/devices both before running modem_run and after running it (or email me direct at [EMAIL PROTECTED]) because I don't understand how this can work <snip> > 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? No, the root password is asked because you are running su. There are two common ways of avoiding this problem. a) use sudo - you will have to look this up, I don't tend to use it although it is probably the more secure way. b) set the ownership of pppd to root with the group to a "modem" group. chmod 4750 pppd (only group "modem" or root can run pppd but it always runs a root. Add yourself to group modem > 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? No it won't cause a problem. The advantage of your way is that if you leave the terminal logged in and walk away then nobody else can run these scripts without being root. The disadvantage is that you have to type in the root password and someone can "shoulder surf" it potentially. Regards, Tim. -- God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t," and there was light. http://tjw.hn.org/ http://www.locofungus.btinternet.co.uk/ Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe