Re: question about ifup and ifconfig

2002-03-01 Thread Shyamal Prasad
Ren> [deleted /etc/init.d/networkings with office/home query] Ren> and it works good. my question here is: 1) is ifup/ifdown Ren> written in c and realized a set function of ifconfig and add Ren> route table? 2) how can i use ifconfig to bring up eth0 with Ren> dhcp? Ren, I

Re: question about ifup and ifconfig

2002-03-01 Thread David Roundy
On Fri, Mar 01, 2002 at 12:50:54PM +0800, Ren Weili wrote: > i have my laptop so: > /etc/init.d/networkings: > case "$1" in > start) > doopt spoofprotect yes > doopt syncookies no > doopt ip_forward no > > echo -n "Configuring network interfaces: " > echo

re: question about ifup and ifconfig

2002-03-01 Thread Ren Weili
i have my laptop so: /etc/init.d/networkings: case "$1" in start) doopt spoofprotect yes doopt syncookies no doopt ip_forward no echo -n "Configuring network interfaces: " echo "please select your environment:" echo "[1]:home" echo "[2]

Re: question about ifup and ifconfig

2002-02-28 Thread Shyamal Prasad
"Ren" == Ren Weili <[EMAIL PROTECTED]> writes: Ren> hallo, what is the diference between ifup and ifconfig? how Ren> can ifconfig bring up eth0 use dhcp? ifconfig is used to configure network interfaces. ifup reads /etc/networks/interfaces and do a bunch of things that would take a

Re: question about ifup and ifconfig

2002-02-28 Thread David Z Maze
Ren Weili <[EMAIL PROTECTED]> writes: > what is the diference between ifup and ifconfig? ifconfig is a low-level tool you can use to bring an interface up or down, set its address/netmask/broadcast address, etc. ifup/ifdown are higher-level tools that parse /etc/network/interfaces and run i

Re: question about ifup and ifconfig

2002-02-28 Thread Jeff
Ren Weili, 2002-Feb-28 14:05 +0800: > hallo, > what is the diference between ifup and ifconfig? > how can ifconfig bring up eth0 use dhcp? > ifconfig is used to statically configure an interface, e.g. eth0 ifup will bring the designated interface up using the /etc/network/interfaces