Re: ADSL dialer script

2004-05-15 Thread Eli Marmor
I spent a lot of time with this issue, about one year ago. My main problem was bizar: Although my script killed and/or reset everything it could, before trying to re-connect, the ISP still "thought" that I was connected, and refused to re-connect me, claiming that there is a "CHAP" problem and th

Re: ADSL dialer script

2004-05-15 Thread Aaron
for us not so script savy how would I do that?? Thanks Aaron > Yes. > > When writing the script you should consider the possibility of two such > redials being run simulataniously (e.g: maybe you try running it > manually, and then the one from cron starts running). I use a simple > lock file t

Re: ADSL dialer script

2004-05-15 Thread Tzafrir Cohen
On Sun, May 16, 2004 at 01:20:46AM +0300, Aaron wrote: > neat I was just wondering what to do when my cable connection dies. > > I was hoping for a script that with do an ifconfig and if no ppp0 is > found automatically redial. > > Then I would make it run every x minutes (cron?) > Are the optio

Re: ADSL dialer script

2004-05-15 Thread Aaron
neat I was just wondering what to do when my cable connection dies. I was hoping for a script that with do an ifconfig and if no ppp0 is found automatically redial. Then I would make it run every x minutes (cron?) Are the options essentially the same for cable as for adsl?? Will your fixes help

Re: DVD performance problem kernel 2.6

2004-05-15 Thread Muli Ben-Yehuda
On Sat, May 15, 2004 at 09:16:02PM +0300, Shachar Shemesh wrote: > I managed to make things much much better by adding "elevator=none" to > the kernel boot parameters. The default (elevator=as) was the worst, and > I can't say for sure whether elevator=deadline is better or not than > none. Wit

Re: ADSL dialer script

2004-05-15 Thread Muli Ben-Yehuda
On Sat, May 15, 2004 at 09:14:13PM +0200, Hetz Ben Hamo wrote: > I have a situation which is well known to people - your machine is > connected (PPTP) to the net, but sometimes there's disconnection between > your home and ISP, but the PPP0 interface stays up, which means you'll > need to kill

Re: ADSL dialer script

2004-05-15 Thread Ez-Aton
Add this to your /etc/ppp/options: lcp-echo-interval 20 lcp-echo-failure 3 It means that after 3 (lcp-echo-failures) tries, of 20 seconds interval (aka, 60secs), your ppp interface will go down by itself. lcp-echo failures will occure when there is no actual data transfer on your line. (I th

Re: ADSL dialer script

2004-05-15 Thread Noam Meltzer
Hetz Ben Hamo wrote: Hi, I have a situation which is well known to people - your machine is connected (PPTP) to the net, but sometimes there's disconnection between your home and ISP, but the PPP0 interface stays up, which means you'll need to kill it and redial.. I have a small script which de

DVD performance problem kernel 2.6

2004-05-15 Thread Shachar Shemesh
Hi list, My laptop is running Debian unstable. On 2.4 it used to run DVD full screen pretty much without a hitch. On 2.6, however, things began to go wrong. Frames lost, jittery sound, the works. I've made sure DMA is on for the DVD, that is not the problem. I managed to make things much much b

ADSL dialer script

2004-05-15 Thread Hetz Ben Hamo
Hi, I have a situation which is well known to people - your machine is connected (PPTP) to the net, but sometimes there's disconnection between your home and ISP, but the PPP0 interface stays up, which means you'll need to kill it and redial.. I have a small script which deals with the situatio