[EMAIL PROTECTED] wrote:
> Could you also give the sequence of commands you execute and the error
> messages you get when the system fails?

The kernel does the firmware upload and line grabbing thing with no 
problem, across both modems.

  kernel: ADSL line is up (4800 Kib/s down | 448 Kib/s up)
  kernel: ADSL line is up (3328 Kib/s down | 832 Kib/s up)

Then the scripting goes round and round and out pops:

/usr/sbin/pppd ipparam ppp0 linkname ppp0
    plugin pppoatm.so 0.38
    noipdefault noauth default-asyncmap defaultroute
    hide-password nodetach mtu 1492 mru 1492 noaccomp
    noccp nobsdcomp nodeflate nopcomp novj novjccomp user
    [EMAIL PROTECTED] lcp-echo-interval 10 lcp-echo-failure 2

If this is fired off with only one modem connected (either one) then the 
line comes up and all is well.

If both are connected:

    pppd[14249]: Plugin pppoatm.so loaded.
    pppd[14249]: PPPoATM plugin_init
    pppd[14249]: PPPoATM setdevname_pppoatm - SUCCESS:0.38
    pppd[14249]: pppd 2.4.2 started by root, uid 0
 >> pppd[14249]: connect(0.38): Address already in use
    pppd[14249]: Exit.

This (>>) line seems to come from the connect call in pppoatm.so

         if (connect(fd, (struct sockaddr *) &pvcaddr,
             sizeof(struct sockaddr_atmpvc)))
                 fatal("connect(%s): %m", devnam);

Digging futher into the code there is a third parameter, that is 
currently set to zero, the itf. According to the Linux ATM API Spec "itf 
is the number of the local interface (zero-based)".

As it stands the argument parser rejects arguments with 3 fields (eg 
1.0.38).

I guess I need to cook up a patch to pppoatm that will take an optional 
3rd argument, but first I will do a hardcoded variant that takes a 2 
part field as normal, but sets the itf to 1.

I will post my progress to this list.

Thanks for the pointers everyone.

Andy M


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to