On Fri, 15 Jan 1999, rpjday wrote:

> 
>   i'm going to give this another shot, and this time i'll try
> to be as informative as possible.  all i'm tying to do is activate
> and de-activate my PPP link from the command line.
> 
>   i'm using linuxconf 1.13r12-1.  i configured a PPP link by
> selecting PPP/SLIP/PLIP under the "Routing and gateways" menu.
> all i had to specify was
> 
>   1) phone number for ISP
>   2) device (/dev/modem)
>   3) login name for ISP
>   4) password for 3)

The confusion comes from the fact that there is two ppp dialout solution
on linuxconf. One is for redhat only as it simply plug values in a redhat
specific config file (/etc/sysconfig/network-scripts/ifcfg-ppp0 for
example). This is the solution you have used. To trigger the link, unless
you have specified that it is "onboot" (dedicated link), you do

        /sbin/ifup ppp0
        /sbin/ifdown ppp0

You can also use usernet from X I think.

The other solution is by using the dialout module. You must enable the
module first

        linuxconf --setmod dialout

(or by visiting the menu "Control files and systems/linuxconf modules" and
entering "dialout" as the module name).

Then you will see another entry for PPP configuration, next to the other.
Note that the redhat only solution is also a module, but is enabled by
default on redhat. You can disable it if you want from the same menu
above, but unchecking the check-box below.

Now, when you use the dialout module, you have to specify a config name.
Then the line

        netconf --connect config
        netconf --disconnect config

are operational. There are other advantages. For each config, linuxconf
defines a privilege, so you can tell who is allowed to trigger the link
(visit the user account dialog for each user who need the privilege).

COmbined with the diald package (not part of redhat, check out
contrib.redhat.com/libc6/i386/diald), you can also have "on demand
dialing".

Have fun!

---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
Check out Linuxconf at http://www.solucorp.qc.ca/linuxconf
New modules: mgettyconf, managerpm


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to