Hi Gentoo users,

what is the proper way of changing static IP-address remotely
without the need to restart the whole system (or locking
me out)?

I have one interface with static IP, so first I'm going to edit
/etc/conf.d/net. Then I will set up command for later execution:

# echo '#!/bin/bash' > /root/eth-restart
# echo '/etc/init.d/net.eth0 restart' >> /root/eth-restart
# chmod 0700 /root/eth-restart
# at -f /root/eth-restart now + 5 min

Then I terminate my ssh-session hoping 5 minutes later
I can connect using new IP. Is this correct and all that
is necessary?

Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Reply via email to