You are not logged in.

#1 2013-09-03 05:49:41

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

archiso PXE problem with DNS

Hi,

I have a PXE setup (dnsmasq + tftp).

archboot is booting up just fine but i have a problem with archiso (latest sep 2013 version).
I use archiso with archiso_pxe_http hook.

archiso cant resolve archiso_http_srv variable via dns cause I cant figure it out how to pass dns0 variable to archiso.
In simply words, archiso doesnt have dns (/etc/resolv.conf)

I've done a lot of test and I have read https://projects.archlinux.org/archiso. … bootparams and every hook really carefully.

I tested IPAPPEND 1,2,3 (3 different tests), i passed IPV4DNS0 - nothing. I've used dhcp-option=6,x.x.x.x - nothing
Every time the vmlinuz & archiso.img are booting up without errors and when archiso tries to curl the root-image.fs.sfs fails.

I run # env to test that IPV4DNS0 argument (and every other argument via APPEND) is passed successfully to archiso.
I guessed that IPV4DNS0 should work through archiso_pxe_common hook (right?).

Unfortunately i cant use the http://x.x.x.x to archiso_http_srv  but only http://fqdn/
cause the web server only serve content via a namevirtualhost

So i need your help on how to pass the dns0 or resolv.conf to archiso

This is an image with IPAPPEND 3 on pxelinux conf

http://i.imgur.com/WN62ua6.png


thanks in advance


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

Board footer

Powered by FluxBB