Well, I did it. I managed to make "eciadsl-start" work the first time, at least 
under Kubuntu Edgy AMD64 (but probably it may work on other versions / 
platforms).
The trick was to change the following line of the script /usr/bin/eciadsl-start 
from:
  nice --20 /usr/sbin/pppd call adsl updetach
to
  nice --6 /usr/sbin/pppd call adsl updetach

With such a change the script doesn't hang any more inside pppd and completes 
succesfully.
My skill on linux kernel things is very low, but I suppose the niceness 
requested to the process pppd was too extreme. After many try-and-reboot I 
found that a value less than 10 is required to work correctly. In fact, pppd 
will spawn pppoeci (see /etc/ppp/peers/adsl) with -10 more niceness (don't ask 
me why).
I hope some skilled guy will find a more scientific diagnosis and remedy, in 
the meantime I'm happy with this.

In short, to make things work try the following:
1. Edit as root the file  /usr/bin/eciadsl-start
2. Find the line with the word "nice"
3. Replace "--20" with "--6" (eventually try another number)
4. Save, close, reboot, run eciadsl-start as usual, pray God, say wow!


** Attachment added: "The modified script"
   http://librarian.launchpad.net/5311393/eciadsl-start-1

-- 
eciadsl works every second time with 2.6.15 kernel, worked with breezy's kernel
https://launchpad.net/bugs/41833

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to