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

Live-boot static IP and DNS setup



Hi,

We are having troubles to setup dns resolution when running a debian
live image with static IP.
Our boot command is the following :

        label fija
                kernel /vmlinuz-2.6.32-5-686
                append initrd=/initrd.img-2.6.32-5-686 panic=180
        boot=live  config locales=es_ES.UTF-8 keyboard-layouts=es
        timezone=Europe/Madrid ip=eth0:10.0.1.60:255.255.255.0:10.0.0.1
        hostname=T3 swapon quickreboot

Booting with such boot options we are able to boot up, Ip address is set
to static but resolv.conf is an empty file

If we set the image with a resolv.conf file in it the image is not able
to boot hanging up waiting for son NFS stuff.

If we boot up the machine just with static ip options, and after the
machine is up modify the resolv.conf file the machine ( i tried host
command) but for instance iceweasel running on it is not able to resolv
at all.

¿Any suggestion about how to tell to live boot the nameserver?
man page from live boot didn't help me much since the static ip info is
wrong:

                
                ip=[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]
                           Let you specify the name(s) and the options
                of the interface(s) that should be configured at boot
                time. Do not specify this if you want to use dhcp
                (default). It will be changed in a future release to
                mimick
                           official kernel boot param specification
                (e.g.
                ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).



Regards


-- 
Carlos Alarcón.

Tel: 916249029 ext: 2002


Reply to: