[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems preseeding static ip with netcfg



Hello.

I have tried to preseed netcfg with static ip configuration while installing from cdrom with daily build of d-i with 2.6 kernel. An excerpt from my preseed file:
d-i     anna/choose_modules     multiselect     baseconfig-udeb: Run
base-config from within debian-installer, netcfg-static: Configure a static network
d-i        netcfg/use_dhcp        string false
d-i     netcfg/dhcp_options     select  Configure network manually
d-i        netcfg/choose_interface select auto
d-i        netcfg/disable_dhcp        boolean true
d-i        netcfg/get_nameservers        string 192.168.1.254
d-i        netcfg/get_ipaddress        string 192.168.1.1
d-i        netcfg/get_netmask        string 255.255.255.0
d-i        netcfg/get_gateway        string 192.168.1.254

While running d-i with any debconf/priority, I get "Malformed IP address" error. When I try to comment
# d-i        netcfg/get_gateway        string 192.168.1.254
I see the default answer about my gateway is "192.168.1." . That is last digits are lost! I have tried rc2 and nightly builds of d-i. udebs I get from unstable. What am I doing wrong ?

Mikhail



Reply to: