John Madden's reply had almost everything you need. Why not try
/etc/init.d/network stop ; /etc/init.d/network start
instead of simply calling it with "restart". Although that shouldn't
make a difference.
Files you need to edit are /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network and maybe /etc/resolv.conf
Use gedit, kword or any number of editors found in the KDE/Gnome menus
if you're not familiar with traditional Unix text editors.
I had this problem with a windows box myself.. had to run a shell script
with the "route" command from a batch file on start-up :)
Donncha.
"V.P.Singh Gill" wrote:
>> Hi,
> I do not wish to hurt anyone, but I was a bit dis-appointed at the kind of response that I got from ILUG members. All I asked was 'How can I change network settings like IP/ netmask under RHL 7.2, without rebooting the system after making the changes. This is because Linuxconf does not work properly. And so does /etc/init.d/network restart. New IP/netmask is applied only when I reboot the system'.
> But I got a lot of vague answers. Some asked 'What exactly do you mean. What are you trying to change ?'
> I ask 'What does "changing network settings" mean in simplest of all cases?'
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!