<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: Shashank Khanvilkar <shashank,AT,mia,DOT,ece,DOT,uic,DOT,edu>
Subject: Re: Tutorial (updated)
From: Phil Scarratt <fil,AT,draxsen,DOT,com>
Date: Sat, 07 Jun 2003 14:42:32 +1000
Cc: CIPE <cipe-l,AT,inka,DOT,de>
Organization: Draxsen Technologies
References: <005601c32a50$3c5d65d0$0f00000a@bug> <3EDD8D54.9000700@draxsen.com> <06a201c32aae$8e47eba0$c900a8c0@ece.uic.edu> <3EE03B5B.5020300@draxsen.com> <096501c32c46$603ab960$c900a8c0@ece.uic.edu>

Meant to say, if I can help in any way, just let me know.

Shashank Khanvilkar wrote:
2. With standard redhat setup, you can put all options from the cipe options file except maxerr, arg and key into

/etc/sysconfig/network-scripts/ifcfg-cipcbx

For example:

########## /etc/sysconfig/network-scripts/ifcfg-cipcb0 ##########
USERCTL=no
PEERDNS=no
TYPE=CIPE
ONBOOT=yes
DEVICE=cipcb0
PTPADDR=192.168.254.200
IPADDR=192.168.254.201
ME=131.193.50.165:55555
PEER=131.193.50.184:55555
########## end of /etc/sysconfig/network-scripts/ifcfg-cipcb0 ##########

and

########## /etc/cipe/options.cipcb0 ##########
maxerr -1
key             f0....938dba607caf664bb83444QQee
arg 192.168.2.0
########## end of /etc/cipe/options.cipcb0 ##########

The interface can then be started manually with "ifup cipcb0" and brought down manually with "ifconfig cipcb0 down". It also should start at bootup. This at least works with RH7.2/3. Haven't tested with RH8.0 (although I can if needed)


I guess my earlier doubt was cleared, when i looked in ifup-cipcb..

if [ ! -f /etc/cipe/options.$NAME ]; then
    echo "/etc/cipe/options.$NAME missing for device $DEVICE"
    exit 1
fi

So i guess it does look into options.cipcb0
Thanks
shank

-- Phil Scarratt Draxsen Technologies IT Contractor/Consultant 0403 53 12 71


<< | Thread Index | >> ]    [ << | Date Index | >> ]