Hmmm. I thought I'd responded to this. Must have forgotten to hit 'Post'
something like...
killall udhcpc && ifconfig <if> down
ifconfig <if> up && udhcpc -i <if>
assuming you want to use dhcpc
Since posting, I I had come to the conclusion that I would have to kill something and take the IF down. I'd rather not do that if possible.
Have you had a look at all boot codes?
Yes. I don't think there is one for networking, other than nodhcp.
If so, what would be the reason of using a script to set host?
I want to have multiple boxes booting simultaneously from several TC Live discs. If they all have the same hostname, it could be very confusing.
On the other hand, if they have unique hostnames, I should be able to surf to a webserver running on each one by typing http://<hostname> into any browser on the same subnet.
I'm now wondering if it would work if I booted the live disc with nodhcp set, assigned the hostname and then brought up DHCP. Any thoughts anyone?
Questions regarding "httpd" would better fit in a TCE subforum, while specifiying extension in question
Yes I know. I was trying to kill two birds with one stone...
I used kill in the end.