Originally Posted by
haroldx
how do I set IP?
can not figure it out, it keeps on running DHCP
I attempted many possible configurations of /etc/initramfs-tools/initramfs.conf
Divice=eth0
ip=192.168.0.22
the syntax for what you want is:
Code:
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
as of where you can ignore the server-ip part, it's there cause of usage in nfsmounting the root partition
i just tested it on Ubuntu 10.10 with this line:
Code:
IP=192.168.1.150::192.168.1.1:255.255.255.0:testmachine:eth0:off
and it works just fine
a deeper explanation of all the paramaters in the ip line can be found here
Best Regards
Martin
Bookmarks