Menu

#3 Init Scripts

closed
nobody
None
5
2001-10-23
2001-08-08
No

This would help a lot of configuration issues, I'm
going to grab the source also to redhat's netconfig
command and modify it for use to use with ATM ELANS
also.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have created an /etc/rc.d/init.d/atmd init script that
    works with Red Hat 7.1 The atmd rc script takes care of
    starting atmsigd, ilmid, and atmarpd. Parms for these
    daemons are read from /etc/sysconfig/atmd config file.
    Additional config for atmsigd is taken
    from /etc/atmsigd.conf. When everything is running the atmd
    script touches the /var/subsys/lock/atmd file which can be
    used by ifup / ifdown scripts to check for the need daemons
    before bringing up an interface.

    This script will NOT attempt to load the ATM driver or
    create the atmX interfaces. That's best left
    to /etc/sysconfig/network-script/* assuming that the atmd
    rc script has previously come up.

    What needs to be done:

    * create new atmX interface if needed
    * setup of aprserv. (done by ifup from ifcfg-atmX var ??)

    I can upload these scripts if you would like to work off
    them.

     
  • Scott Russell

    Scott Russell - 2001-08-17

    Logged In: YES
    user_id=4404

    I have created an /etc/rc.d/init.d/atmd init script that
    works with Red Hat 7.1 The atmd rc script takes care of
    starting atmsigd, ilmid, and atmarpd. Parms for these
    daemons are read from /etc/sysconfig/atmd config file.
    Additional config for atmsigd is taken
    from /etc/atmsigd.conf. When everything is running the atmd
    script touches the /var/subsys/lock/atmd file which can be
    used by ifup / ifdown scripts to check for the need daemons
    before bringing up an interface.

    This script will NOT attempt to load the ATM driver or
    create the atmX interfaces. That's best left
    to /etc/sysconfig/network-script/* assuming that the atmd
    rc script has previously come up.

    What needs to be done:

    * create new atmX interface if needed
    * setup of aprserv. (done by ifup from ifcfg-atmX var ??)

    I can upload these scripts if you would like to work off
    them.

     
  • John Strange

    John Strange - 2001-08-17

    Logged In: YES
    user_id=124

    I have done something similar but, the atm script that I
    have will also start the zeppelin daemon for each elan that
    is specified in /etc/sysconfig/network-scripts/ifcfg-lec*

    I will try to get some time this week to check it into cvs,
    if I can get cvs privs.

    - John

     
  • Paul B Schroeder

    • status: open --> closed
     
  • Paul B Schroeder

    Logged In: YES
    user_id=43292

    Init scripts for RedHat have been included in
    linux-atm-2.4.0 under the src/config directory.

     

Log in to post a comment.