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

initrd static ip from pxelinux



Dear All,

I have been unable to get the initrd kernel to use a static ip passed to it from pxelinux to go on and 'fetch' http://squashfs.

ip=[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]

The live-initramfs man page does not read clearly to me when describing syntax and it does not detail what the AUTOCONF should be set to if a static address is required, nor what to do with the SERVER_IP. I have tried static, off, nothing and left SERVER_IP empty, with 'fetch' address to no avail. The sequence just stops and sits requesting bootp.

IP-Config: eth0 hardware address 00:1e:c9:f7:56:27 mtu 1500 DHCP RARP
[   20.146038] tg3: eth0: Link is up at 100 Mbps, full duplex.
[   20.146038] tg3: eth0: Flow control is off for TX and off for RX.

Interestingly some of the above combinations stop 'DHCP RARP' appearing, but the stack still makes bootp requests.


Please could someone confirm that A, static addressing from initrd works (i know it does if ip details are burnt in the initrd) and B confirm the syntax for the line.


Many thanks, Tim


I have been using the line:

append initrd=http://x.x.x.x/otw/cz/live/initrd1.img

console=ttyS1,57600n8 boot=live union=aufs noprompt

ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap=""

ocs_live_batch="no" ocs_lang="" nolocales

ip=x.x.x.x::x.x.x.x:255.255.255.0:clonezilla:eth0:off

vga=normal fetch=http://x.x.x.x/otw/cz/live/filesystem.squashfs


Reply to: