dynamic ip problem
i am in init3 and i dont have GUI.
While installation, i have selected to take a dynamic IP for the system.
Now, i want to change it to static IP from terminal
when i try to ifconfig eth0 192.168.24.16, its giving the following error
___________________________________________________________________
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0 Link encap:Ethernet HWaddr 00:0D:60:A4:CA:EF
inet addr:192.168.24.16 Bcast:192.168.24.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
_____________________________________________________________________
Is there any way to do it?
Why is my /etc/sysconfig/networking/devices contain nothing?
when we do the static configuration, it gives ifcfg-eth0 file in the same directory.
I am so confused.
|