Grant Parnell said:

> I've often been frustrated when dealing with multiple ppp interfaces
> knowing which is which and have decided to investigate. The following
> applies to RedHat systems but probably can be adapted to others easily
> enough.
>
> The DEVNAME in the /etc/sysconfig/network-scripts/ifcfg-ppp0 file is the
> key.
>
> ...snip...
>
> Of course if somebody could explain to me why you can't specify the actual
> interface name such that you can arbitrarily bring up a single interface
> 'ppp9' for example with /sbin/ifup ppp9 I'd love to know.

A solution I found the other day for a similar problem (trying to get ifup
to work for different ISP accounts but all using
the same modem), was to copy ifcfg-ppp0 to ifcfg-ppp1 and change the
reference in the file from ppp0 to ppp1. In my case I also changed the
section name for WVDIAL so it would use a different phone
number/name/password combination.

After doing this, I could then do /sbin/ifup ppp0  or /sbin/ifup ppp1.
/sbin/ifdown ppp1 works too. The only thing that confused me a little was
when ppp1 was up, ifconfig still should ppp0.

Regards,
David

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to