No probs, glad that it works for you. Thankfully you didn't have as much probs with the script as I did trying to get a dist to work with my DVB-S card (which required 2.2.X).
----- Original Message ----- From: "Martin West" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 11:55 AM Subject: [speedtouch] Re: Script > > I now have this script working on Mandrake 8.1 download. I had to tweak > 1. uhci -> usb-ohci, > 2. pppoa -> pppoa2 > 3. remount ... I copied the line from the startup script. > and using the peer_ip mod. > Thanks Martin West > > ----- Original Message ----- > From: "Bananaskin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, December 09, 2001 11:17 PM > Subject: [speedtouch] Re: Script > > > > > > To be honest Alex this is someone else's script which was posted into the > > list, I do find that you can't run modem_run twice anyway so therefore the > > logical step is to kill the process. As to the other "Excessive" bits, > well > > it's a case of if it ain't broke don't fix it ;) > > > > ----- Original Message ----- > > From: "alex" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, December 09, 2001 9:23 PM > > Subject: [speedtouch] Re: Script > > > > > > > > > > On Sun, 2001-12-09 at 19:52, Bananaskin wrote: > > > > > > > #!/bin/sh > > > > ifconfig | grep ppp0 >/dev/null 2>&1 && ping -c2 217.32.81.203 2>&1 > > > > >/dev/null > > > > if test $? -eq 1 > > > > then > > > > killall pppd > > > > sleep 1 > > > > killall -9 pppd pppoa3 > > > > > > Seems excesive, if pppd goes down so *should* pppoa > > > > > > > killall modem_run > > > > sleep 1 > > > > killall -9 modem_run pppd pppoa > > > > > > The bit of interest to me. > > > > > > > umount /proc/bus/usb > > > > rmmod uhci > > > > rmmod usbcore > > > > sleep 3 > > > > modprobe uhci > > > > sleep 3 > > > > mount /proc/bus/usb > > > > > > I assume this is because you have problems running modem_run twice > > > (otherwise it doesn't run "cleanly" the second time). What I would like > > > to do is just reset the device from within modem_run. Can't seem to get > > > it to work though. > > > > > > > /usr/local/btinternet/modem_run -v 1 -m -f > /usr/local/btinternet/mgmt.o > > > > ulimit -n 200 > > > > ulimit -u 500 > > > > pppd call adsl > > > > fi > > > > > > Alex > > > > > > > > > > > > > > > Liste de diffusion modem ALCATEL SpeedTouch USB > > > Pour se d�sinscrire : > > mailto:[EMAIL PROTECTED]?subject=unsubscribe > > > > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/2001 > > > > > > > > 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 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.307 / Virus Database: 168 - Release Date: 12/12/2001 Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe
