Write a script that does what has been suggested.

ifconfig eth0 down
ifconfig newsetting
ifconfig up
cat dns > /etc/resolv.conf
route add default gw newaddress

On Mon, 10 Mar 2003 12:20:23 NFT
 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
why reboot?
# ifconfig eth0 down
(change ip(settings))
# ifconfig eth0 up
i know i can do this but i want to change also dns and gateway with one operation only.
Any suggestion?


--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Reply via email to