Want to use dns in the boothttp= parameter

Questions related to network booting via PXE
kumy
Posts: 16
Joined: 23 Nov 2007, 13:00
Location: Nice, France

Want to use dns in the boothttp= parameter

Postby kumy » 23 Nov 2007, 13:12

Hi all,

we've successfully installed SystemRescue on an PXE server, but we need to be able to use a DNS name in the boothttp= kernel parameter, as we have multiple sites that will use that.

Today, we must specify an IP address, that should be changed on every site.

Is it possible ? Does anyone have a solution ?
I'll try to have a look in the initrd

Regards
Kumy

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 23 Nov 2007, 19:05

You are right this is a problem especially for web sites based on Virtual-Hosts since several web sites share the same IP and Apache use the URL to know which site it is.

I will work on that problem, please come back in few days and check the beta versions.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 24 Nov 2007, 12:30

I just fixed the problems with the DNS, so it should work with sysresccd-0.4.2-beta11.

If you need the DNS to resolve the URL of sysresccd, then you can use the dns=xxx paramater.

For example:

Code: Select all

rescuecd boothttp=http://www.myserver.com/sysrcd.dat dns=192.168.1.254


Please let me know if 0.4.2-beta11 works for you.

kumy
Posts: 16
Joined: 23 Nov 2007, 13:00
Location: Nice, France

Postby kumy » 26 Nov 2007, 09:11

Thanks a lot, I'll give it a try today (if I have the time)... I'll take you informed

Regards

kumy
Posts: 16
Joined: 23 Nov 2007, 13:00
Location: Nice, France

Postby kumy » 26 Nov 2007, 09:26

hey,

I've tested with SystemRescueCd-0.4.2-rc1, and it's OK !

First I have a doubt with the dns= parameter which doesn't fill my needs, but next have tested without it (whishing it to be get by dhcp) and I worked...

Big thanks !
Regards
Mât

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 26 Nov 2007, 12:52

There are two ways of having the right network settings at the PXE boot stage (just after the kernel has been loaded and booted):

1) static: define all the settings in the command line:

Code: Select all

rescuecd ethx=192.168.1.1 gateway=192.168.1.254 dns=192.168.1.2

There new options have been described there:
http://www.sysresccd.org/Sysresccd-manu ... ot_options

2) automatic: all the settings sent by the DHCP server will be used (dns and gateway were ignore before but it's working now)

If your DHCP server has working DNS and GATEWAY in the configuration file there is no way to use the static way to configure these values.

The new network boot options can be used for pxe but they can be used in another context as well. More details about it there:
http://www.sysresccd.org/news/2007/11/2 ... 42-beta11/

telesha
Posts: 2
Joined: 13 Feb 2011, 05:26

Re: Want to use dns in the boothttp= parameter

Postby telesha » 22 Feb 2011, 07:28

How to have unique dns addresses for different user accounts? I want to have seperate dns addresses for different windows vista user accounts. Is this possible?
___________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com


Return to “Network Boot via PXE”

Who is online

Users browsing this forum: No registered users and 0 guests