Re: Setting IP address not working
On Wednesday 15 June 2005 22:12, Kent West wrote:
...
>
> I can't understand why your /etc/network/interfaces file is being
> ignored. It makes no sense to me. Maybe the permissions on the file?
It is not being ignored - the ifupdown script is using it, but getting the
error message back from the kernel (I think that is what the "RTNETLINK
answers" message is about.
>
> > westk[@westek]:/home/westk:> ls -l /etc/network/interfaces
> > -rw-r--r-- 1 root root 410 2004-11-12 20:37 /etc/network/interfaces
alan@kanger ~ $ ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 268 2005-06-15 18:24 /etc/network/interfaces
>
> Do you have another kernel you can try?
I am currently running 2.6.11, but I can dual boot into 2.6.8 and this has the
same problem.
>
> Do you have a LiveCD you can try?
I have the Gnome 2.10 live CD - based on ubuntu - based on debian?
When I loaded that it assigned, via dhcp, the correct ip address
(ie 192.168.0.21)
So in summary we now have
1) Boot via live CD - works perfectly
2) Manually configure static ip address via manual ifconfig and route commands
- works perfectly
3) Any attempt to use ifup command fails (this is what
the /etc/init.d/networking and /etc/network/interfaces interaction uses).
--
Alan Chandler
http://www.chandlerfamily.org.uk
Reply to: