Re: waking up in the 10.x.x.x network
Op 23-04-2007 om 11:03 schreef Michael S. Peek: Geert Stappers wrote: I would go talk to the administrator of the registration server. and ask for a directory on the that web server. Let's say that they go for it and let me have a d-i directory on the registration web server. I boot my install client, get an address in 10.x.x.x, download the preseed file from the web server -- and then crash when d-i can't see the internet to download the rest of the packages... Right? Because when you're in 10.x.x.x, the only thing you can see is this one web server. I would still have to find a way to re-configure the ethernet with it's correct IP address using the preseed files downloaded from the web server. Would that be possible? Maybe by having preseed execute a script? I suppose I would have to not only ifconfig the interface with the correct values, but presumably change d-i's debconf database too, as I don't know which is used to write out the /target/etc/network/interfaces file during the installation process. ... They didn't go for it. They're too paranoid. Which doesn't surprise me any. Even if I could get their DHCP server to serve me my correct static addresses that would solve the problem. I think. I would still need to make sure that after installation the system is set up to be static instead of DHCP. See your problem as a challenge. Increase the fun to split then in several smaller challenges. For two of the three challenges, you can find allies on this mailinglist. Doing DHCP over HTTP was posted last week. Getting a static IP address, preseeded over the network, can be done by executing netcfg a second time. In fact, it has allready be done, about one / two years ago [1]. The thrid challenge is getting server facility on your network. My advice: Request an address in 10.x.x.x network and assign that address as an alias to a (web)server you have write access to. Cheers Geert Stappers [1] Getting feedback about netcfg second time, is appriciated. (a request for help finding it back is also fine :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: waking up in the 10.x.x.x network
Op 23-04-2007 om 11:59 schreef Alex Owen: Michael S. Peek said: If I attempt to set up my own DHCP server then I run into a race condition between my DHCP server and the campus DHCP server. There's no way to tell d-i which server to contact, so it'll listen to the first one that it hears back from. So as near as I can tell, there is just no way to make this work. The DHCP protocol has the Vendor Class Identifier which could ne incoperated into the d-i dhcp-client. The dhcp protocol and many (good) clients allow multiple dhcp servers. The debian-installer dhcp client sends a vendor-class-identifier of d-i. The debian-installer dhcp client SHOULD be configurable to only accept dhcp leases which come from servers that send a reply containing a vendor-class-identifier of d-i. If d-i is using dhclient then an /etc/dhclient.conf with a select-timeout line and a require line should enable this functionality if I have read the man page right. It is a shame that http://d-i.alioth.debian.org/manual/en.i386/apbs02.html B.2.5 seems to say that d-i overloads the dhcp filename option to find the location of the preseed file. In my opinion this is better handled using vendor-encapsulated-options. Check out sun solaris install docs for ideas on this front! Mind you I guess there are many simple dhcp servers out there thus making overloading the filename option more practical. Hmm... I think there was some talk of changing the dhcpclient engine for lenny... there seemed to be lots of suggestions... my vote is for udhcpc. Anyway making the dhcp client in d-i more featureful with regards multiple dhcp servers perhaps could be added as a lenny release goal??? Just some thoughts! Alex Owen obvious The thoughts have been seen. The best way to get the wishes and the features added, is to provide program code for it. Writing the wishes/ideas/proposal down on the wiki or in the BTS will prevent that they get lost in the mailinglist archive. /obvious HtH GSt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
waking up in the 10.x.x.x network
Michael S. Peek said: If I attempt to set up my own DHCP server then I run into a race condition between my DHCP server and the campus DHCP server. There's no way to tell d-i which server to contact, so it'll listen to the first one that it hears back from. So as near as I can tell, there is just no way to make this work. The DHCP protocol has the Vendor Class Identifier which could ne incoperated into the d-i dhcp-client. The dhcp protocol and many (good) clients allow multiple dhcp servers. The debian-installer dhcp client sends a vendor-class-identifier of d-i. The debian-installer dhcp client SHOULD be configurable to only accept dhcp leases which come from servers that send a reply containing a vendor-class-identifier of d-i. If d-i is using dhclient then an /etc/dhclient.conf with a select-timeout line and a require line should enable this functionality if I have read the man page right. It is a shame that http://d-i.alioth.debian.org/manual/en.i386/apbs02.html B.2.5 seems to say that d-i overloads the dhcp filename option to find the location of the preseed file. In my opinion this is better handled using vendor-encapsulated-options. Check out sun solaris install docs for ideas on this front! Mind you I guess there are many simple dhcp servers out there thus making overloading the filename option more practical. Hmm... I think there was some talk of changing the dhcpclient engine for lenny... there seemed to be lots of suggestions... my vote is for udhcpc. Anyway making the dhcp client in d-i more featureful with regards multiple dhcp servers perhaps could be added as a lenny release goal??? Just some thoughts! Alex Owen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: waking up in the 10.x.x.x network
Geert Stappers wrote: Mmm, I begin to understand why the multi-config udebs were created. However, I think this problem^Wchallenche is something that can not solved only by writing program code. I would go talk to the administrator of the registration server. and ask for a directory on the that web server. Assuming the registration server is known as 'rs', and the requested web directory would be 'd-i'. I could boot debian-installer with url=rs, which would be expanded into preseed/url=http://rs/d-i/etch/preseed.cfg See also http://lists.debian.org/debian-boot/2007/04/msg00794.html Let's say that they go for it and let me have a d-i directory on the registration web server. I boot my install client, get an address in 10.x.x.x, download the preseed file from the web server -- and then crash when d-i can't see the internet to download the rest of the packages... Right? Because when you're in 10.x.x.x, the only thing you can see is this one web server. I would still have to find a way to re-configure the ethernet with it's correct IP address using the preseed files downloaded from the web server. Would that be possible? Maybe by having preseed execute a script? I suppose I would have to not only ifconfig the interface with the correct values, but presumably change d-i's debconf database too, as I don't know which is used to write out the /target/etc/network/interfaces file during the installation process. ... They didn't go for it. They're too paranoid. Which doesn't surprise me any. Even if I could get their DHCP server to serve me my correct static addresses that would solve the problem. I think. I would still need to make sure that after installation the system is set up to be static instead of DHCP. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: waking up in the 10.x.x.x network
Op 20-04-2007 om 13:04 schreef Michael S. Peek: The organization where I work, a college campus, has a DHCP server that will assign all unknown hosts a 10.x.x.x address and route all traffic from a 10.x.x.x address to their machine registration page. This is a convenience for students and faculty, who may bring in their new computers from home, register their machines with networking services, and then get straight to work. (the trick is that if you have a 10.x.x.x address then you're not allowed to see anything other than the registration server, and only after you register will the DHCP server assign you a 'real' address.) But for me, this 'convenience' is a pain. Because all of my hosts use NIS+NFS+Automount, none of our hosts use DHCP, and therefore none of our hosts are registered with the DHCP server. This means that whenever I go to install a host, for which I have a static IP, d-i + DHCP will fail every time. (It'll wind up getting a 10.x.x.x address and can't contact anything on the network other than the registration server.) I have no access to the DHCP server, so I can't change the way it works, or instruct it to serve my hosts their rightful static IP addresses. If I attempt to set up my own DHCP server then I run into a race condition between my DHCP server and the campus DHCP server. There's no way to tell d-i which server to contact, so it'll listen to the first one that it hears back from. So as near as I can tell, there is just no way to make this work. Mmm, I begin to understand why the multi-config udebs were created. However, I think this problem^Wchallenche is something that can not solved only by writing program code. I would go talk to the administrator of the registration server. and ask for a directory on the that web server. Assuming the registration server is known as 'rs', and the requested web directory would be 'd-i'. I could boot debian-installer with url=rs, which would be expanded into preseed/url=http://rs/d-i/etch/preseed.cfg See also http://lists.debian.org/debian-boot/2007/04/msg00794.html Thanks for your help though, Michael You are welcome, Geert Stappers signature.asc Description: Digital signature